Re: JMS Acknowledge mode

2017-12-20 Thread Quinn Stevenson
I’m not sure I’m following you, but I can tell you what I normally do. My JMS Consumers use “transacted=true”, which will use a JMS Session transaction. You don’t need the acknowledgementModeName, and I don’t think you need ‘.transacted()’ (I believe this is for XA). I then setup exception

JMS Acknowledge mode

2017-09-04 Thread Andreas Bergmann
Hi all, I have the scenario where I need to manipulate the acknowledgement of JMS messages, depending on exceptions. The setup so far: I configured the JMS endpoint with '=true=SESSION_TRANSACTED' and I added .transacted() to the route definition. As soon as I have an Exception the messages

Transaction handling with JMS acknowledge mode SESSION_TRANSACTED

2017-08-28 Thread Andreas Bergmann
Hi, I'm receiving messages from a JMS provider and need to control the 'acknowledgement' of the JMS messages depending on Exceptions I get from the message processing Java bean. On technical Exceptions (i.e. database currently not available) I don't want to acknowledge the JMS message, so that