public static String addSessionId ( final String channel , final int sessionId ) { final ChannelUri channelUri = ChannelUri . parse ( channel ) ; channelUri . put ( CommonContext . SESSION_ID_PARAM_NAME , Integer . toString ( sessionId ) ) ; return channelUri . toString ( ) ; }
Add a sessionId to a given channel .