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

timfox do-not-reply at jboss.com
Thu Jan 3 05:04:01 EST 2008


So, to clarify:

If you are using straight JMS (no MDBs) and using non durable subscribers to subscribe to the topic, then if the connection between the client and the server is lost, any messages sent to the topic while the connection is down, will be "lost" (since the subscription is non durable).

When you recreate the non durable subscription after failure you will continue to receive messages sent after the connection is recreated.

For a durable subscription, since it is "durable", it continues to accumulate messages even while the connection from the client is down. When you reconnect you will continue to receive messages including those sent while the connection is down.

In *both* cases, order is always maintained as per JMS spec (i.e. order of messages sent from any particular session is maintained), although there may be gaps in the order in the case of the non durable subscriber.


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

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



More information about the jboss-user mailing list