Github user michaelandrepearce commented on a diff in the pull request:
https://github.com/apache/activemq-artemis/pull/1849#discussion_r165899196
--- Diff:
artemis-protocols/artemis-openwire-protocol/src/main/java/org/apache/activemq/artemis/core/protocol/openwire/OpenWireConnection.java
---
@@ -430,24 +442,29 @@ private void callFailureListeners(final
ActiveMQException me) {
// send a WireFormatInfo to the peer
public void sendHandshake() {
- WireFormatInfo info = wireFormat.getPreferedWireFormatInfo();
+ WireFormatInfo info = inWireFormat.getPreferedWireFormatInfo();
sendCommand(info);
}
public ConnectionState getState() {
return state;
}
+ private static void tracePhysicalSend(Connection transportConnection,
Command command) {
--- End diff --
dedicated log message please add to the logger class
---