Hi, If I understand correctly, it looks like sjms is not to read multiple messages but read a single BatchMessage which is an ArrayList of messages.
Do we have any solution to consume multiple (chunk) JMS messages in a single transaction? Regards RK -----Original Message----- From: bengt.rode...@gmail.com [mailto:bengt.rode...@gmail.com] On Behalf Of Bengt Rodehav Sent: 26 September 2013 15:01 To: users@camel.apache.org Subject: Re: Consuming multiple JMS messages in one single transaction 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. > _______________________________________________ This message is for information purposes only, it is not a recommendation, advice, offer or solicitation to buy or sell a product or service nor an official confirmation of any transaction. It is directed at persons who are professionals and is not intended for retail customer use. Intended for recipient only. This message is subject to the terms at: www.barclays.com/emaildisclaimer. For important disclosures, please see: www.barclays.com/salesandtradingdisclaimer regarding market commentary from Barclays Sales and/or Trading, who are active market participants; and in respect of Barclays Research, including disclosures relating to specific issuers, please see http://publicresearch.barclays.com. _______________________________________________