My requirement : incoming xml needs to be split into multiple nodes and each node has to be converted to json and send each node's json to http end point.
- I could split the incoming json using XPathMessageSplitter
- Collected all the messages at the Aggregator and converting it to json and right now i have
List<String>.
Now i have to iterate the List<String> and send it to HttpRequestExecutingMessageHandler one by one.
- Is there any way to release the message one by one at aggregator side so that it will be to sent it to
HttpRequestExecutingMessageHandleroutbound one by one? - or after receiving list of string at aggregator , any way to send it to
HttpRequestExecutingMessageHandleroutbound one by one?