Probably you aren't creating your durable subscriber until after some of the messages
have been sent, so clearly those messages will be unavailable to consume.
This would also explain why it only happens on the first run, since on subsequent runs the
durable subscriber already exists.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4165306#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...