What about using the "sjms" component instead of the "jms" component. The documentation says it supports "Transacted Batch Consumers & Producers". I haven't used this feature myself but I have just started to use the sjms component since I prefer not using Spring.
/Bengt 2013/9/24 bacar <ba...@acar.org.uk> > Hi, > I need to do something very similar to this request from April 2012, ie > consume multiple JMS messages in a single transaction. Is the advice still > current? > > Does the same also apply for the opposite, ie consuming a single message in > a transaction, and then writing multiple output messages in one > transaction? > > I guess it would be possible to write our own JmsComponent alternative that > supports such functionality and allows us to continue using camel, but I > imagine that without dedicated support from Spring, it might be quite a lot > of effort. > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Consuming-multiple-JMS-messages-in-one-single-transaction-tp5640489p5740169.html > Sent from the Camel - Users mailing list archive at Nabble.com. >