As the title says, I\'m looking for a good example on errorHandling within a DSL flow. Specifically, I\'m looking to handle errors from a service activator.
Example
Actually there is no difference if it is DSL or raw XML Spring Integration config.
Amqp.inboundAdapter()
provides .errorChannel()
option as well as <amqp:inbound-channel-adapter>
provides error-channel
attribute.
As I say in the manual DSL does the same as all other Spring Integration configuration variants. So, Error Handling
here is the same too.
More info on the matter: http://docs.spring.io/spring-integration/docs/latest-ga/reference/html/configuration.html#namespace-errorhandler