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