You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ch...@apache.org on 2006/01/04 19:41:18 UTC
svn commit: r365966 -
/incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/network/DemandForwardingBridge.java
Author: chirino
Date: Wed Jan 4 10:41:16 2006
New Revision: 365966
URL: http://svn.apache.org/viewcvs?rev=365966&view=rev
Log:
don't log a message when the WireFormatInfo comes in from the other side.
Modified:
incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/network/DemandForwardingBridge.java
Modified: incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/network/DemandForwardingBridge.java
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/network/DemandForwardingBridge.java?rev=365966&r1=365965&r2=365966&view=diff
==============================================================================
--- incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/network/DemandForwardingBridge.java (original)
+++ incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/network/DemandForwardingBridge.java Wed Jan 4 10:41:16 2006
@@ -38,6 +38,7 @@
import org.apache.activemq.command.RemoveInfo;
import org.apache.activemq.command.SessionInfo;
import org.apache.activemq.command.ShutdownInfo;
+import org.apache.activemq.command.WireFormatInfo;
import org.apache.activemq.filter.BooleanExpression;
import org.apache.activemq.filter.MessageEvaluationContext;
import org.apache.activemq.transport.Transport;
@@ -222,7 +223,12 @@
}
}
} else {
- log.warn("Unexpected remote command: "+command);
+ switch ( command.getDataStructureType() ) {
+ case WireFormatInfo.DATA_STRUCTURE_TYPE:
+ break;
+ default:
+ log.warn("Unexpected remote command: "+command);
+ }
}
} catch (IOException e) {
serviceRemoteException(e);
@@ -364,7 +370,12 @@
}
}
} else {
- log.warn("Unexpected local command: "+command);
+ switch ( command.getDataStructureType() ) {
+ case WireFormatInfo.DATA_STRUCTURE_TYPE:
+ break;
+ default:
+ log.warn("Unexpected local command: "+command);
+ }
}
} catch (IOException e) {
serviceLocalException(e);