-
Bug
-
Resolution: Done
-
Major
-
JBossAS-4.2.0.CR1
-
None
Currently, the SpyConnectionConsumer does not fire an asynchFailure()
(which will in turn fire the exception listener) if it receives an error during the receive()
It assumes that the ServerIL will have already done this, but in the case of HTTPServerIL it does not.
The HTTPServerIL is "stateless" and contains no reference to the org.jboss.mq.Connection on which it can fire that error.
The fix in org.jboss.mq.SpyConnectionConsumer::run()
is schematically:
try
{
// Receive handling
}
catch (Throwable t)
{
close();
+ connection.asynchFailure("Error during receive", t);
}