protected final void publish(P payload) {
		if (payload instanceof Message) {
			this.publishMessage((Message<?>) payload);
			return;
		}
		Message<P> message = MessageBuilder.withPayload(payload).build();
		this.listenerEventsChannel.send(message);
		this.aggregatedEventsChannel.send(message);
	}
Abstract batch job listener that sends batch job listener payload to the {@link SubscribableChannel} notification
channel.

@author Ilayaperumal Gopinathan
spring-xd-dirt/src/main/java/org/springframework/xd/dirt/plugins/job/support/listener/BatchJobListener.java