Out-of-order delivery of messages with XA, Spring MDB, prefetch=1 & "Unmatched acknowledge: MessageAck"

2011-04-17 Thread Martin C.
Hi, one of my clients is using an XA connection inside a SingleConnectionFactory to share the connection with about 150 consumers (in total) in about 10 different Spring DefaultMessageListenerContainers. As Spring is not working with prefetch=0, they are using prefetch=1, but they now see out-of-

"Caught an exception sending to DLQ"

2011-04-17 Thread Martin C.
Hi, in one of my installations using 5.4.2 broker, I got the following exception, after processing of a message failed several times in a row within XA transactions. The message never appeared in a DLQ and seems to have been lost. Any ideas what could be causing this? 2011-04-17 13:41:59,353 | WA

Re: How to get notified on expired messages?

2011-04-17 Thread Blue Diamond
Thanks a lot Bruce! :) That really helps. I'll give it a try. What I meant by alternatives was that if there are multiple ways of doing this using activemq features. So it seems this is the only feature. Thanks & Regards, Anil On Sat, Apr 16, 2011 at 9:21 PM, Bruce Snyder wrote: > On Fri, Apr 1