Don't start the consumer until the messages are already in the queue.
Isn't this obvious?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191246#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...