I am using Spring Integrations 2.0.0 and am trying to configure the following:
An application places an object on an ActiveMQ JMS queue which is processed by the Spring-integration-driven backend. The sending application is awaiting a reply on a temporary response queue since the backend places the response in this particular queue to be consumed by this application only. The message is received and processed in the backend and the response shall be placed on the temp response queue given in the JMS request message (reply-to). In the backend the message is running through a chain of services before the response is eventually placed on the response queue.
Question: how do I configure SI to place the response to the temp queues? Is there any way that SI does this automatically or do I need to use DestinationResolver or things like that? I understood that the jms-gateway might be the right solution for this but couldn't quite figure out how to put it in place. Any ideas?