[jboss-user] [JBoss Messaging] - Re: Regarding message persistence

busawreck do-not-reply at jboss.com
Mon Oct 9 03:51:06 EDT 2006


Thank you for your time Madhu. 

The messages sent are persistent, the following is the rest of my setup:

A client (MessageProducer) publishing (sending) 1000 messages to a specific topic, a MessageDrivenBean registered to that topic and subscriptionDurability set to durable. In my MDB:s onMessage method a do a pause so that it does not read all messages at once.

When all messages have been sent but only about half of them read I kill the application, shouldn't the messages that have not been read be in the database then? So that the subscriber can receive them when the app restarts? At least, that is the kind of safety I'd like in my application.

Thanks




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

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



More information about the jboss-user mailing list