I want to achieve the following.
MessageSplitter -> DirectChannel -> JMSOutboundAdapter -> *Something here to be able to publish one message (in my case a response message) to another JMS Destination only when the previous batch has been successfully put onto the JMS Destination.*
The message splitter can return a list of individual messages (XML Strings in my case), I would then like this list (batch) to be published to an outbound JMS Destination and once complete I would like to be able to send a custom Response message (XML) to another JMS Destination to flag success.
Not sure exactly how I can achieve this or if this is supported, any help would be appreciated.