private void addHistoryTag(Module module, Map<String, Object> historyProperties) {
		String historyTag = module.getDescriptor().getModuleLabel();
		if (module.getDescriptor().getSinkChannelName() != null) {
			historyTag += ">" + module.getDescriptor().getSinkChannelName();
		}
		if (module.getDescriptor().getSourceChannelName() != null) {
			historyTag = module.getDescriptor().getSourceChannelName() + ">" + historyTag;
		}
		historyProperties.put("module", historyTag);
	}
Bind input/output channel of the module's message consumer/producers to {@link MessageBus}'s message
source/target entities. The producer must be bound first so that messages can immediately
start flowing from the consumer.

@param module the module whose consumer and producers to bind to the {@link MessageBus}.
spring-xd-dirt/src/main/java/org/springframework/xd/dirt/plugins/AbstractMessageBusBinderPlugin.java