[jboss-cvs] JBossAS SVN: r62239 - branches/Branch_4_0/messaging/src/main/org/jboss/mq.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Tue Apr 10 13:21:32 EDT 2007
Author: adrian at jboss.org
Date: 2007-04-10 13:21:31 -0400 (Tue, 10 Apr 2007)
New Revision: 62239
Modified:
branches/Branch_4_0/messaging/src/main/org/jboss/mq/SpyConnectionConsumer.java
Log:
[JBAS-4312] - Fire the exception listener if the ConnectionConsumer thread ends in error
Modified: branches/Branch_4_0/messaging/src/main/org/jboss/mq/SpyConnectionConsumer.java
===================================================================
--- branches/Branch_4_0/messaging/src/main/org/jboss/mq/SpyConnectionConsumer.java 2007-04-10 17:20:22 UTC (rev 62238)
+++ branches/Branch_4_0/messaging/src/main/org/jboss/mq/SpyConnectionConsumer.java 2007-04-10 17:21:31 UTC (rev 62239)
@@ -333,7 +333,6 @@
}
catch (Throwable t)
{
- log.warn("Connection consumer closing due to error in listening thread " + this, t);
try
{
for (int i = 0; i < mesList.size(); i++)
@@ -356,6 +355,8 @@
if (trace)
log.trace("Ignoring error during close " + this, ignore);
}
+
+ connection.asynchFailure("Connection consumer closing due to error in listening thread" + this, t);
}
}
More information about the jboss-cvs-commits
mailing list