private void unbindTapChannel(String tapChannelName) {
		// Should this be unbindProducer() as there won't be multiple producers on the tap channel.
		MessageChannel tappedChannel = tappableChannels.get(tapChannelName);
		if (tappedChannel instanceof ChannelInterceptorAware) {
			ChannelInterceptorAware interceptorAware = ((ChannelInterceptorAware) tappedChannel);
			List<ChannelInterceptor> interceptors = new ArrayList<ChannelInterceptor>();
			for (ChannelInterceptor interceptor : interceptorAware.getChannelInterceptors()) {
				if (interceptor instanceof WireTap) {
					((WireTap) interceptor).stop();
				}
				else {
					interceptors.add(interceptor);
				}
			}
			interceptorAware.setInterceptors(interceptors);
			messageBus.unbindProducers(tapChannelName);
		}
	}
Unbind the output channel of the module (and tap if present) from the {@link MessageBus}
(after it has been stopped).

@param module the module for which producers are to be unbound from the {@link MessageBus}.
spring-xd-dirt/src/main/java/org/springframework/xd/dirt/plugins/AbstractMessageBusBinderPlugin.java