mirror of https://github.com/apache/activemq.git
resolve: https://issues.apache.org/activemq/browse/AMQ-2892 - apply suggested fix
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@991536 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
cf1e9fbddf
commit
17e87adb2e
|
@ -173,10 +173,10 @@ public class ServerSessionImpl implements ServerSession, InboundContext, Work, D
|
|||
}
|
||||
} catch (Throwable e) {
|
||||
stale = true;
|
||||
if ( log.isInfoEnabled() ) {
|
||||
log.info("Endpoint failed to process message. Reason: " + e.getMessage());
|
||||
} else if ( log.isDebugEnabled() ) {
|
||||
if ( log.isDebugEnabled() ) {
|
||||
log.debug("Endpoint failed to process message.", e);
|
||||
} else if ( log.isInfoEnabled() ) {
|
||||
log.info("Endpoint failed to process message. Reason: " + e.getMessage());
|
||||
}
|
||||
} finally {
|
||||
InboundContextSupport.unregister(this);
|
||||
|
|
Loading…
Reference in New Issue