When just importing the ftp example as a maven project, I ran into the issue of a slf4j version discrepancy described here: http://www.slf4j.org/faq.html#IllegalAccessError This is solved by adding the specific version dependency of `slf4j-api`. * Add the specific `slf4j-api` dependency to the Gradle script * Change the dependency scope for `slf4j-` impl to the `runtime`. * Regenerate POMs
Error Handling Sample
Demonstrates the handling of Exceptions in an asynchronous messaging environment. View the errorHandlingDemo.xml configuration file. Notice the use of a Header Enricher within a Chain, that establishes an error-channel reference prior to passing the message to a Service Activator.
In order to run the sample, execute PartyDemoTest in package org.springframework.integration.samples.errorhandling.