onConsumingError

public CommandRequest onConsumingError(ConsumerErrorHandler<EventMessage> handler)

Assigns a handler for errors occurred in consumers of events.

After the passed handler is called, remaining event consumers will get the messages as usually. If not specified, the default implementation simply logs the error.