Receiving Custom Properties in Inbound Messages
Inbound messages are received through the JMS Receiver component (ReceiveDispatchSend or ReceiveDispatch method). This component is usually configured to dispatch the message to a workflow process.
To receive a custom JMS property in a workflow process
Create a workflow process property as follows:
Name Data Type In/Out SIEBEL_JMS:name
String
In/Out
Note: There is no space between the colon and the custom property name.Repeat the previous step for every custom JMS property that is expected to be received and processed.
At run time, the Siebel EAI infrastructure automatically copies the value of the correct JMS property from the received message to the appropriate Workflow process property.
For example, to have two JMS properties called TLFXUserId and TLFXGroupId available to a workflow process, you must define two process properties called SIEBEL_JMS:TLFXUserId and SIEBEL_JMS:TLFXGroupId.
The workflow process can also set the values of the JMS properties using a step that calls the Workflow Utilities business service (Echo method) as shown in the following example:
Input Argument Type Value SOV_Group
Expression
“SOV_Group”
SOV_User
Expression
“SOV_User”
Property Name Type Output Argument SIEBEL_JMS:TLFXGroupId
Output Argument
SOV_Group
SIEBEL_JMS:TLFXUserId
Output Argument
SOV_User
An input argument (SOV_Group and SOV_User in the example) can be any string, with the requirement that the same string must be used as the output argument.
Because the process properties are defined as In/Out, they are passed back to the caller (the JMS Receiver in this case). The JMS Transport includes them in the output message as JMS properties.
For more information about creating workflow processes, see Siebel Business Process Framework: Workflow Guide.