public void detach(ChannelSource source, PhysicalConnectionTarget target) throws Fabric3Exception { if (target.isDirectConnection()) { // no event stream to attach since this is a direct connection return; } URI uri = source.getUri(); Channel channel = getChannel(uri, source.getChannelSide()); URI targetUri = target.getUri(); channel.unsubscribe(targetUri, target.getTopic()); }
public void detach(ChannelSource source, PhysicalConnectionTarget target) throws Fabric3Exception { if (target.isDirectConnection()) { // no event stream to attach since this is a direct connection return; } URI uri = source.getUri(); Channel channel = getChannel(uri, source.getChannelSide()); URI targetUri = target.getUri(); channel.unsubscribe(targetUri, target.getTopic()); }