withBatchListener

Allows to specify the listener of the starting and ending batch dispatching operations.