Re: Newbie questions around AMQ and Camel Redelivery

2020-02-10 Thread Michael Joyner
Thank you Jean On Sun, Feb 9, 2020 at 10:31 PM Jean-Baptiste Onofre wrote: > Hi, > > The reason is simply I don’t need transaction for that. > > When using Camel, I don’t have to explicitly send the ack: if the camel > route reaches completion (exchange processed successfully), then camel-jms >

Re: Newbie questions around AMQ and Camel Redelivery

2020-02-10 Thread nomit babraa
sorry - being dim. In that case, with the post of yours, where you use CLIENT_ACKNOWLEDGE - what is the difference between acknowledgementModeName=CLIENT_ACKNOWLEDGE and acknowledgementModeName= AUTO_ACKNOWLEDGE? https://stackoverflow.com/questions/11673361/jms-auto-acknowledge-when-is-it-acknowl

Re: Newbie questions around AMQ and Camel Redelivery

2020-02-09 Thread Jean-Baptiste Onofre
Hi, The reason is simply I don’t need transaction for that. When using Camel, I don’t have to explicitly send the ack: if the camel route reaches completion (exchange processed successfully), then camel-jms send the ack. If the exchange goes in the error handler, the ack is not send and we ente

Re: Newbie questions around AMQ and Camel Redelivery

2020-02-09 Thread nomit babraa
Thanks for that post very interesting. Wondering why you choose to use acknowledgementModeName=CLIENT_ACKNOWLEDGE rather than just a Transacted session? Any reason why you want explicit control so that you need to call Message.acknowledge()? Cheers n On Sat, 8 Feb 2020 at 05:43, Jean-Baptiste Onof

Re: Newbie questions around AMQ and Camel Redelivery

2020-02-07 Thread Jean-Baptiste Onofre
Hi, You can maybe take a look on http://blog.nanthrax.net/?p=820 Basically, Camel and ActiveMQ redelivery are two different things. When using JMS, most of the time, I prefer to use ActiveMQ redelivery (via connection factory or configured in the destination p

Newbie questions around AMQ and Camel Redelivery

2020-02-07 Thread nomit babraa
Hi Apologies but I'm a little confused after reading up on Camel docs and books as well as AMQ docs. My confusion might be due to almost zero experience but thought I'd ask hopefully some simple questions before I dive in to development with routes that consume messages from AMQs. My understandin