|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.osesb.processingcontext.ProcessingContext
org.osesb.messagepipeline.MessagePipelineContext
public class MessagePipelineContext
MessagePipeline initializes a MessagePipelineContext when pipeline processing starts and remains valid until until pipeline processing completes. The MessagePipelineContext is a variable scratchpad area that is accessible by the MessagePipeline and PipelineStages.
MessagePipelineContext supports:<ReplyTo> and <FaultTo>. In all cases, PipelineStage(s)
manipulate the result by invoking getResultMessage() and setResultMessage(). If the
| Field Summary | |
|---|---|
protected static java.lang.String |
currentMessageMapKey
The key used to access the current pipeline EAIMessage. |
protected MessagePipeline |
parentMessagePipeline
The MessagePipeline that created this MessagePipelineContext. |
protected static java.lang.String |
resultMessageMapKey
The key used to access the result for a MessagePipeline run. |
| Fields inherited from class org.osesb.processingcontext.ProcessingContext |
|---|
contextMap, contextVariableMapKey, thisClassName |
| Constructor Summary | |
|---|---|
MessagePipelineContext(MessagePipeline parentMessagePipeline)
Creates a new instance of MessagePipelineContext. |
|
| Method Summary | |
|---|---|
EAIMessage |
getCurrentMessage()
Return the current pipeline message. |
MessagePipeline |
getParentMessagePipeline()
Returns the MessagePipeline that constructed this MessagePipelineContext. |
EAIMessage |
getResultMessage()
Return the result pipeline message. |
void |
setCurrentMessage(EAIMessage eaiMessage)
Sets the current pipeline message. |
void |
setResultMessage(EAIMessage eaiMessage)
Sets the result pipeline message. |
| Methods inherited from class org.osesb.processingcontext.ProcessingContext |
|---|
clear, contextVariableExists, getContextVariable, main, setContextVariable, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected static java.lang.String currentMessageMapKey
protected static java.lang.String resultMessageMapKey
protected MessagePipeline parentMessagePipeline
| Constructor Detail |
|---|
public MessagePipelineContext(MessagePipeline parentMessagePipeline)
| Method Detail |
|---|
public EAIMessage getCurrentMessage()
public void setCurrentMessage(EAIMessage eaiMessage)
eaiMessage - The current pipeline message.public EAIMessage getResultMessage()
public void setResultMessage(EAIMessage eaiMessage)
eaiMessage - The current pipeline message.public MessagePipeline getParentMessagePipeline()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||