If both the queues come off the same jms connection factory you can use a resource-local (JMS) transaction. See JmsTransactionManager in spring.
2012/3/6 kafe <[email protected]>: > Hi, > > I have a simple route that picks up a message in a jms queue, does something > in a processor and finally puts it in another queue : > > <route id="myRoute"> > <from uri="activemq:queue:queue1" /> > <transacted /> > <bean ref="myProcessor" /> > <to uri="activemq:queue:queue2" /> > </route> > > I want the route to occur in a transaction and i wonder whether i have to > leverage a global transaction (JTA) or not. > > Is JTA necessary in such a use case ? > > Eric > > -- > View this message in context: > http://camel.465427.n5.nabble.com/JMS-and-transactions-tp5541630p5541630.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- -- David J. M. Karlsen - http://www.linkedin.com/in/davidkarlsen
