This closes #96 on a Setting client version

This commit is contained in:
Clebert Suconic 2015-02-12 15:28:15 -05:00
commit e2983e5384
1 changed files with 2 additions and 1 deletions

View File

@ -99,6 +99,7 @@ import org.apache.activemq.spi.core.protocol.RemotingConnection;
import org.apache.activemq.spi.core.remoting.Connection;
import org.apache.activemq.spi.core.remoting.SessionContext;
import org.apache.activemq.utils.TokenBucketLimiterImpl;
import org.apache.activemq.utils.VersionLoader;
import static org.apache.activemq.core.protocol.core.impl.PacketImpl.DISCONNECT_CONSUMER;
import static org.apache.activemq.core.protocol.core.impl.PacketImpl.EXCEPTION;
@ -628,7 +629,7 @@ public class ActiveMQSessionContext extends SessionContext
{
Packet createRequest = new CreateSessionMessage(name,
sessionChannel.getID(),
getServerVersion(),
VersionLoader.getVersion().getIncrementingVersion(),
username,
password,
minLargeMessageSize,