[jboss-user] [JBoss Messaging] - Re: All messages are not persisted in Database.

timfox do-not-reply at jboss.com
Tue Aug 5 04:22:02 EDT 2008


There's a third problem with your code:

You start the subscriber thread, then immediately start the publisher thread(s) before waiting for the subcriber thread to finish.

This means there's a strong possibility you'll start sending messages before the durable subscription is created, so messages will be "lost".

Much as I would like to debug your code all day, I have to get back to work now ;)

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

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



More information about the jboss-user mailing list