http://jira.jboss.com/jira/browse/JBMESSAGING-930
I'm running a unit test in Embedded JBoss. Works fine most of the times. Randomly
I'm getting the stack trace shown in 930 and no messages are ever delivered to the
MDB.
If I put a sleep after deployment of the MDB and Queue, everything works fine. The MDB
also has an explicit dependency on the queue so it starts after the Queue starts.
The only way I understand that this could happen is if the JMS inflow adapter tries to
connect to Messaging in the background, or Queue initialization happens in a different
thread. The is some race condition here obviously.
Any insight?
Thanks
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4032780#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...