[jboss-user] [JBoss Messaging] - Re: Closing Consumer Causes Hang

ovidiu.feodorov@jboss.com do-not-reply at jboss.com
Mon Sep 11 20:34:58 EDT 2006


I created a new bug report: http://jira.jboss.org/jira/browse/JBMESSAGING-542 and added a test that currently fails (MiscellaneousTest.testClosingConnectionFromMessageListener())

The solution you propose has a drawback, though. If we allow the listener to close the connection within onMessage(), then postDeliver() won't be able to pass by session's ClosedInterceptor, which now is "closed", so we'll get an ERROR "Failed to deliver message" in the logs. It's harmless, but ugly. 


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

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



More information about the jboss-user mailing list