mirror of https://github.com/apache/activemq.git
opps had my logic backwards..
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@638603 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
6b33749b17
commit
8de8d0b37e
|
@ -153,7 +153,7 @@ public class InactivityMonitor extends TransportFilter {
|
|||
return;
|
||||
}
|
||||
if (!commandReceived.get()) {
|
||||
if( inactive.getAndSet(false) ) {
|
||||
if( !inactive.getAndSet(true) ) {
|
||||
if (LOG.isDebugEnabled()) {
|
||||
LOG.debug("No message received since last read check for " + toString() + "! Throwing InactivityIOException.");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue