public interface WorkflowInterceptor extends AdaptrisComponent, ComponentLifecycleExtension
Modifier and Type | Method and Description |
---|---|
default void |
processingStart(AdaptrisMessage inputMsg)
Mark the start of processing a message.
|
void |
registerParentChannel(Channel c)
Register the parent channel for this WorkflowInterceptor.
|
void |
registerParentWorkflow(Workflow w)
Register the parent workflow for this WorkflowInterceptor.
|
void |
workflowEnd(AdaptrisMessage inputMsg,
AdaptrisMessage outputMsg)
Mark the end of a workflow.
|
void |
workflowStart(AdaptrisMessage inputMsg)
Mark the start of a workflow.
|
getUniqueId
close, init, start, stop
prepare
void workflowStart(AdaptrisMessage inputMsg)
inputMsg
- the message that will be processed by this workflow.default void processingStart(AdaptrisMessage inputMsg)
#workflowStart
inputMsg
- void workflowEnd(AdaptrisMessage inputMsg, AdaptrisMessage outputMsg)
inputMsg
- the original message that was originally submitted to the workflow; in the event of an exception during
processing, the exception will be stored in object metadata in the inputMsgoutputMsg
- the message contaning any changes that may have been applied by the services within the workflow.CoreConstants.OBJ_METADATA_EXCEPTION
void registerParentChannel(Channel c)
c
- the channelvoid registerParentWorkflow(Workflow w)
w
- the workflow.