@Override
	public void postProcessModule(Module module) {
		boolean disableListeners = true;
		Map<String, String> eventChannels = getEventListenerChannels(module.getDescriptor().getGroup());
		for (Map.Entry<String, String> entry : eventChannels.entrySet()) {
			MessageChannel eventChannel = module.getComponent(entry.getKey(), SubscribableChannel.class);
			if (eventChannel != null) {
				messageBus.bindPubSubProducer(entry.getValue(), eventChannel, null);
				disableListeners = false;
			}
		}
		// Bind aggregatedEvents channel if at least one of the event listeners channels is already bound.
		if (!disableListeners) {
			bindAggregatedEventsChannel(module);
		}
	}
Plugin to enable the registration of out of the box job listeners.

@author Ilayaperumal Gopinathan
@author Gary Russell
@since 1.0
spring-xd-dirt/src/main/java/org/springframework/xd/dirt/plugins/job/JobEventsListenerPlugin.java