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) {
|
} catch (Throwable e) {
|
||||||
stale = true;
|
stale = true;
|
||||||
if ( log.isInfoEnabled() ) {
|
if ( log.isDebugEnabled() ) {
|
||||||
log.info("Endpoint failed to process message. Reason: " + e.getMessage());
|
|
||||||
} else if ( log.isDebugEnabled() ) {
|
|
||||||
log.debug("Endpoint failed to process message.", e);
|
log.debug("Endpoint failed to process message.", e);
|
||||||
|
} else if ( log.isInfoEnabled() ) {
|
||||||
|
log.info("Endpoint failed to process message. Reason: " + e.getMessage());
|
||||||
}
|
}
|
||||||
} finally {
|
} finally {
|
||||||
InboundContextSupport.unregister(this);
|
InboundContextSupport.unregister(this);
|
||||||
|
|
Loading…
Reference in New Issue