@ComponentProfile(summary="MaxLoopBehaviour implementation that marks a message with \'stop-processing\' flags", since="3.9.1") public class OnMaxStopProcessing extends java.lang.Object implements MaxLoopBehaviour
MaxLoopBehaviour
implementation that marks a message with metadata that stop processing.
What happens will be dependent on the parent workflow and parent service collection implementation. But this implementation will
mark the message with the metadata keys CoreConstants.STOP_PROCESSING_KEY
and
CoreConstants.KEY_WORKFLOW_SKIP_PRODUCER
.
In the adapter configuration file this class is aliased as max-loops-stop-processing which is the preferred alternative to the fully qualified classname when building your configuration.
Constructor and Description |
---|
OnMaxStopProcessing() |
Modifier and Type | Method and Description |
---|---|
void |
onMax(AdaptrisMessage msg) |
public void onMax(AdaptrisMessage msg) throws java.lang.Exception
onMax
in interface MaxLoopBehaviour
java.lang.Exception