[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - failure of MessageConsumerTest.testRedelMessageListener2

jmesnil do-not-reply at jboss.com
Mon Jun 2 10:05:38 EDT 2008


I've started to investigate this long-standing failure.

The failure is due to a incorrect redelivery after a message rollback.
The test expects the following sequence: "a RB a b c" (the "a" message is received, a rollback occurs, the "a" message is received again, then "b" and finally "c").

On my machine, the test fails intermittently with the sequence: "a RB b a c".
The "b" message is received *before* the message "a" is redelivered.
It also fails from time to time with a sequence: "a RB c a b". So it seems we have a race condition between our rollback code and message listener delivery.

I continue to investigate...



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4155054#4155054

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4155054



More information about the jboss-dev-forums mailing list