public class ProcHandleMessageType extends java.lang.Object implements PipelineProcessor
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
STOP_CHAIN_EXECUTION, STOP_CHAIN_EXECUTION_AND_COMMIT, STOP_CHAIN_EXECUTION_AND_ROLLBACK
Constructor and Description |
---|
ProcHandleMessageType() |
Modifier and Type | Method and Description |
---|---|
int[] |
getRetCodes()
Returns the valid return codes
1 - The call to handle SubmitOrder message chain
2 - The call to handle ModifyOrder message chain
3 - The call to handle ModifyOrderNotification message chain
4 - The call to handle any other message type
|
int |
runProcess(java.lang.Object pParam,
PipelineResult pResult)
This method calls updateOrder() on the supplied Order and then checks to see
if it is transient.
|
public int[] getRetCodes()
getRetCodes
in interface PipelineProcessor
public int runProcess(java.lang.Object pParam, PipelineResult pResult) throws java.lang.Exception
runProcess
in interface PipelineProcessor
pParam
- a HashMap which must contain an Order and OrderManager objectpResult
- a PipelineResult object which stores any information which must
be returned from this method invokationjava.lang.Exception
- throws any exception back to the callerPipelineProcessor.runProcess(Object, PipelineResult)
,
OrderManager.addOrder(Order)
,
OrderManager.updateOrder(Order)