public static URI createChannelLocation(ControlledBounceProxyInformation bpInfo, String ccid, URI location) {

        return URI.create(location.toString() + ";jsessionid=." + bpInfo.getInstanceId());
    }
public static URI createChannelLocation ( ControlledBounceProxyInformation bpInfo , String ccid , URI location ) { return URI . create ( location . toString ( ) + ";jsessionid=." + bpInfo . getInstanceId ( ) ) ; }
Creates the channel location that is returned to the cluster controller.
This includes tweaking of the URL for example to contain a session ID.

@param bpInfo
information of the bounce proxy
@param ccid
channel identifier
@param location
the channel URL as returned by the bounce proxy instance that
created the channel
@return channel url that can be used by cluster controllers to do
messaging on the created channel