If you look at the active documentation, you'll find that there is a REST adapter for it. That might help if you are determined to use JMS for this. I haven't implemented the activemq rest adapter with Camel but I'm sure there is a way to do it.
Ryan On Sat, May 30, 2015, 2:18 AM dbonnin <diego.bon...@gmail.com> wrote: > Hi, I need to create a REST session facade for a JMS queue, the client will > send a POST message containing a value for the JMSCorrelationID and the > data > to put into the queue; in another process, the data will be retrieved with > that ID; through the REST session facade. > > Can I achieve this with Camel?, I can't find an example of an route that > get > messages from a queue on demand using a JMSCorrelationID, all the routes > that I have seen so far are listening on a queue or are putting messages > into it. > > The client application can't interact with a JMS queue, so accesing > directly > to the queue it's not an option. > > I have an idea for the first step using the "setHeader" tag, but don't know > how to implement the second step. > > Thanks in advanced. > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/REST-Session-Facade-for-a-JMS-Queue-in-Camel-tp5767671.html > Sent from the Camel - Users mailing list archive at Nabble.com. >