Currently i have a working spring integration Project which send Message to one instance of ActiveMQ's queue. Its Uses serviceActivator as an endpoint where the handler is JMSSendingMessageHandler.java. The model is shown below:
client--->request CHannel--->Service Activator(Endpoint).
But now i want to send message to multiple instance of ActiveMQ which will be configured in the configuration file. In spring Integration , no out-of-box solution is available.
The diagram of my requirement is given below:
i Need to findout, how to create multiple Service Activators in runtime.