don't log a message when the WireFormatInfo comes in from the other side.

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@365966 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Hiram R. Chirino 2006-01-04 18:41:16 +00:00
parent e6efdb1955
commit 27329abdcb
1 changed files with 13 additions and 2 deletions

View File

@ -38,6 +38,7 @@ import org.apache.activemq.command.ProducerInfo;
import org.apache.activemq.command.RemoveInfo; import org.apache.activemq.command.RemoveInfo;
import org.apache.activemq.command.SessionInfo; import org.apache.activemq.command.SessionInfo;
import org.apache.activemq.command.ShutdownInfo; import org.apache.activemq.command.ShutdownInfo;
import org.apache.activemq.command.WireFormatInfo;
import org.apache.activemq.filter.BooleanExpression; import org.apache.activemq.filter.BooleanExpression;
import org.apache.activemq.filter.MessageEvaluationContext; import org.apache.activemq.filter.MessageEvaluationContext;
import org.apache.activemq.transport.Transport; import org.apache.activemq.transport.Transport;
@ -222,8 +223,13 @@ public class DemandForwardingBridge implements Bridge {
} }
} }
} else { } else {
switch ( command.getDataStructureType() ) {
case WireFormatInfo.DATA_STRUCTURE_TYPE:
break;
default:
log.warn("Unexpected remote command: "+command); log.warn("Unexpected remote command: "+command);
} }
}
} catch (IOException e) { } catch (IOException e) {
serviceRemoteException(e); serviceRemoteException(e);
} }
@ -364,8 +370,13 @@ public class DemandForwardingBridge implements Bridge {
} }
} }
} else { } else {
switch ( command.getDataStructureType() ) {
case WireFormatInfo.DATA_STRUCTURE_TYPE:
break;
default:
log.warn("Unexpected local command: "+command); log.warn("Unexpected local command: "+command);
} }
}
} catch (IOException e) { } catch (IOException e) {
serviceLocalException(e); serviceLocalException(e);
} }