public class ProcExtractOrderId 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 | 
|---|
ProcExtractOrderId()  | 
| Modifier and Type | Method and Description | 
|---|---|
protected java.lang.String | 
getKeyForMessage(java.lang.String messageType,
                CommerceMessage cMessage)
This method will return the key to be used for locking out other messages with the same
 key while a thread is handling this message. 
 | 
int[] | 
getRetCodes()
Returns the valid return codes
 1 - The processor completed 
 | 
int | 
runProcess(java.lang.Object pParam,
          PipelineResult pResult)
This method gets a message received by a Fulfiller router and locks it by
 calling the getKeyForMessage routine. 
 | 
public int[] getRetCodes()
getRetCodes in interface PipelineProcessorpublic int runProcess(java.lang.Object pParam,
                      PipelineResult pResult)
               throws java.lang.Exception
runProcess in interface PipelineProcessorpParam - a HashMap which must contain a JMS message and OrderFulfiller 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)protected java.lang.String getKeyForMessage(java.lang.String messageType,
                                            CommerceMessage cMessage)
                                     throws InvalidParameterException
pMessage - the ObjectMessage containing the CommerceMessage.InvalidParameterException