I don't think this is a deadlock - deadlock implies a race for two exclusive locks:
thread 1 gets lock on resource A.
thread 2 gets lock on resource B
thread 1 tries to get lock on resource B and blocks
thread 2 tries to get lock on resource A and blocks
However, it's still an issue.
Can't you interrupt the receive thread, to cause it to return?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4008076#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...