spring-integration / org.springframework.integration.dsl / KotlinIntegrationFlowDefinition / routeByException

routeByException

fun routeByException(routerConfigurer: KotlinRouterSpec<Class<out Throwable>, ErrorMessageExceptionTypeRouter>.() -> Unit): Unit

Populate the ErrorMessageExceptionTypeRouter with options from the KotlinRouterSpec.