[jboss-user] [JBoss Messaging] - Re: Different Message id for each listener

assaf49 do-not-reply at jboss.com
Sun Jan 6 05:29:43 EST 2008


Your assumptions where right:
1) We do NOT use MDBs
2) Our listeners are non durable topic listeners.

Scenario Clarified:
1) Producer sends Message A. 
2) BEFORE Message A is recieved, some Connection failure occurs on the Listeners side. Note that the client does NOT crash, it's just a 'small' connection problem.
3) JBM is trying to recover the Listeners Connection failure.
4) Producer sends Message B (while JBM is still in process of trying to recover the Connection failure).
5) JBM manages to recover the Connection failure (as to your question, remember that there is no need to Recreate the listeners because they never crashed in the first place). 
6) Redelivery mechanism redelivers Message B to Client (can this happen?) 
7) Redelivery mechanism redelivers Message A to Client (order is lost and the Listener is not even aware of it)



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

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



More information about the jboss-user mailing list