// set the session queue into direct channel mode.
svc.getBus().getQueueBySession(sessionKey).setDirectSocketChannel(new NettyQueueChannel(ctx.getChannel()));
// remove the web socket token so it cannot be re-used for authentication.
localContext.removeAttribute(MessageParts.WebSocketToken.name());
localContext.removeAttribute(SESSION_ATTR_WS_STATUS);
return;
}
// check the activation key matches.