ARTEMIS-1798 DEBUG message bad write method arg count - fix

This commit is contained in:
Stanislav Knot 2018-04-10 15:01:55 +02:00 committed by Clebert Suconic
parent 171591d23d
commit 5063488b21
2 changed files with 2 additions and 2 deletions

View File

@ -1295,7 +1295,7 @@ public class OpenWireConnection extends AbstractRemotingConnection implements Se
outWireFormat.renegotiateWireFormat(command);
//throw back a brokerInfo here
protocolManager.sendBrokerInfo(OpenWireConnection.this);
protocolManager.setUpInactivityParams(OpenWireConnection.this, command);
protocolManager.configureInactivityParams(OpenWireConnection.this, command);
return null;
}

View File

@ -488,7 +488,7 @@ public class OpenWireProtocolManager implements ProtocolManager<Interceptor>, Cl
connection.dispatch(brokerInfo);
}
public void setUpInactivityParams(OpenWireConnection connection, WireFormatInfo command) throws IOException {
public void configureInactivityParams(OpenWireConnection connection, WireFormatInfo command) throws IOException {
long inactivityDurationToUse = command.getMaxInactivityDuration() > this.maxInactivityDuration ? this.maxInactivityDuration : command.getMaxInactivityDuration();
long inactivityDurationInitialDelayToUse = command.getMaxInactivityDurationInitalDelay() > this.maxInactivityDurationInitalDelay ? this.maxInactivityDurationInitalDelay : command.getMaxInactivityDurationInitalDelay();
boolean useKeepAliveToUse = this.maxInactivityDuration == 0L ? false : this.useKeepAlive;