Class StopProcessingService

java.lang.Object
com.adaptris.core.ServiceImp
com.adaptris.core.services.StopProcessingService
All Implemented Interfaces:
AdaptrisComponent, ComponentLifecycle, ComponentLifecycleExtension, ConfigComment, MessageEventGenerator, Service, StateManagedComponent

@ComponentProfile(summary="Marks a message so that the processing chain is terminated", tag="service") public class StopProcessingService extends ServiceImp
This service will cause the message to not be processed any further and will also request that the Workflows producer not be called.

What happens will be dependent on the parent workflow and parent service collection implementation. See CoreConstants.STOP_PROCESSING_KEY and CoreConstants.KEY_WORKFLOW_SKIP_PRODUCER for more information.

In the adapter configuration file this class is aliased as stop-processing-service which is the preferred alternative to the fully qualified classname when building your configuration.