public class ChannelRestartProduceExceptionHandler extends ProduceExceptionHandlerImp
ProduceExceptionHandler
which attempts to restart the parent Channel
of the Workflow
that had the failure.In the adapter configuration file this class is aliased as channel-restart-produce-exception-handler which is the preferred alternative to the fully qualified classname when building your configuration.
log
Constructor and Description |
---|
ChannelRestartProduceExceptionHandler() |
Modifier and Type | Method and Description |
---|---|
void |
handle(Workflow workflow)
Handle the
ProduceException . |
restart
public ChannelRestartProduceExceptionHandler()
public void handle(Workflow workflow)
ProduceExceptionHandler
Handle the ProduceException
.
workflow
- the Workflow
in which the
ProduceException
occurred#handle(com.adaptris.core.Workflow)