I need to make a small Spring Integration application that synchronize a table from a JDBC source to another one, and I just need to launch that script just once in a while.
I'd like to make one poll from the inbound channel adapter (wait that the message flow through the chain) and exit the application.
I couldn't find any obvious way to do that: any suggestions?