protected void unbindConsumer(Module module) {
		MessageChannel inputChannel = module.getComponent(MODULE_INPUT_CHANNEL, MessageChannel.class);
		if (inputChannel != null) {
			String channelToUnbind = getInputChannelName(module);
			if (this.messageBus.isCapable(Capability.DURABLE_PUBSUB)) {
				channelToUnbind = BusUtils.addGroupToPubSub(module.getDescriptor().getGroup(), channelToUnbind);
			}
			messageBus.unbindConsumer(channelToUnbind, inputChannel);
			if (logger.isDebugEnabled()) {
				logger.debug("Unbound consumer for " + module.toString());
			}
		}
	}
Unbind the input channel of the module from the {@link MessageBus}
(stop sending new messages to the module so it can be stopped).

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