public final class NullExceptionHandler extends Object implements FlowExceptionHandler
FlowExceptionHandler
which can be used to configure a MessageProcessorChain
to not handle errors.Modifier and Type | Method and Description |
---|---|
org.reactivestreams.Publisher<CoreEvent> |
apply(Exception exception) |
static FlowExceptionHandler |
getInstance() |
CoreEvent |
handleException(Exception exception,
CoreEvent event)
Take some action when a messaging exception has occurred (i.e., there was a message in play when the exception occurred).
|
public static FlowExceptionHandler getInstance()
public CoreEvent handleException(Exception exception, CoreEvent event)
FlowExceptionHandler
handleException
in interface FlowExceptionHandler
exception
- which occurredevent
- which was being processed when the exception occurredCopyright © 2018. All rights reserved.