@Deprecated @ConfigDeprecated(message="If you need restarting capability use channel-restart-produce-exception-handler or wrap your producer into a standalone-producer and set restart services on failure.", removalVersion="4.0.0", groups=java.lang.Deprecated.class) public class RestartProduceExceptionHandler extends ProduceExceptionHandlerImp
ProduceExceptionHandler
which attempts to restart the Workflow
that had the failure.In the adapter configuration file this class is aliased as restart-produce-exception-handler which is the preferred alternative to the fully qualified classname when building your configuration.
log
Constructor and Description |
---|
RestartProduceExceptionHandler()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
handle(Workflow workflow)
Deprecated.
Handle the
ProduceException . |
restart
public RestartProduceExceptionHandler()
public void handle(Workflow workflow)
ProduceExceptionHandler
Handle the ProduceException
.
workflow
- the Workflow
in which the
ProduceException
occurredProduceExceptionHandler.handle(com.adaptris.core.Workflow)