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
Control Bus Sample
This example demonstrates the functionality of the Control Bus component available with Spring Integration. The Control Bus uses SpEL to send a Control Message to start/stop an inbound adapter. To run the Control Bus sample simply execute ControlBusDemoTest in the org.springframework.integration.samples.controlbus package.
You will see output similar to this:
INFO : org.springframework.integration.samples.jmx.ControlBusDemo - Received before adapter started: null
INFO : org.springframework.integration.samples.jmx.ControlBusDemo - Received before adapter started: [Payload=Hello][Headers={timestamp=1294950897714, id=240e72fb-93b0-4d38-8fe8-b701cf7e9a5d}]
INFO : org.springframework.integration.samples.jmx.ControlBusDemo - Received after adapter stopped: null