Skip to content

Commit

Permalink
set client (!server) version on recreate session
Browse files Browse the repository at this point in the history
  • Loading branch information
mtaylor committed Feb 12, 2015
1 parent deceb64 commit 9cd524e
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -96,6 +96,7 @@
import org.hornetq.spi.core.remoting.Connection;
import org.hornetq.spi.core.remoting.SessionContext;
import org.hornetq.utils.TokenBucketLimiterImpl;
import org.hornetq.utils.VersionLoader;

import static org.hornetq.core.protocol.core.impl.PacketImpl.DISCONNECT_CONSUMER;
import static org.hornetq.core.protocol.core.impl.PacketImpl.EXCEPTION;
Expand Down Expand Up @@ -627,7 +628,7 @@ public void recreateSession(final String username,
{
Packet createRequest = new CreateSessionMessage(name,
sessionChannel.getID(),
getServerVersion(),
VersionLoader.getVersion().getIncrementingVersion(),
username,
password,
minLargeMessageSize,
Expand Down

0 comments on commit 9cd524e

Please sign in to comment.