}
private void ensureVmServerIsAvailable(TransportChannel channel, BrokerConnector brokerConnector) throws JMSException {
if (channel instanceof VmTransportChannel && brokerConnector instanceof TransportChannelListener) {
VmTransportChannel answer = (VmTransportChannel) channel;
answer.connect(brokerConnector);
}
}
protected TransportChannel ensureMulticastChannelIsAvailable(URI remoteLocation, TransportChannel channel, BrokerConnector brokerConnector, boolean created) throws JMSException {
if (created) {