users@glassfish.java.net

Re: JMS: Queue-Ordering

From: <forums_at_java.net>
Date: Thu, 8 Mar 2012 08:07:22 -0600 (CST)

Hi Nigel,

I create message1, message2 and message3. message1 is constructed to fail and
invokes "mdc.setRollbackOnly();".

I see this sequence:

"message1, message2, message1, message3, message1, message1, message1,...."

I would like to see

"message1, message1, message1,...." until the issue is resolved and later
"message2, message3".

Oh, and I would like to increase the retry-intervall. ;-)

To explain the problem: consider message1 to create a shopping-cart, message
2 adding an item, message 3 removing an item. Obviously, this would be
straightforward if sequence is guaranteed but hard to implement reliably if a
random sequence has to be expected.

Yours,

Patrick.


--
[Message sent by forum member 'pvdh']
View Post: http://forums.java.net/node/884067