Bookshelf Home | Contents | Index | PDF |
Transports and Interfaces: Siebel Enterprise Application Integration > EAI JMS Transport > Sending and Receiving Custom JMS PropertiesProperties can be assigned to a JMS message. A property can be an instance of any Java class or any of the primitive Java types. All properties of a message received by the Siebel JMS Transport are available as properties of the output property set. The Siebel EAI infrastructure can send and receive custom JMS properties without having to write custom code. The name of a custom property is the original name with the eleven characters Receiving Custom Properties in Inbound MessagesInbound 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
At run time, the Siebel EAI infrastructure will automatically copy 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: 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 on creating workflow processes, see Siebel Business Process Framework: Workflow Guide. Sending Custom Properties in Outbound MessagesIn the standard application, outbound messages are sent to the JMS queue using the EAI JMS Transport business service (Send and SendReceive methods). The standard BS though does not have the ability to set custom JMS properties, but it is extremely easy to create a new clone of the EAI JMS Transport BS to handle those. To set custom JMS properties in outbound messages
The new business service can be used in any workflow process. You will be able to pick the custom JMS properties as input argument names when defining workflow steps, and the custom JMS properties will be added to the JMS message. For more information on creating workflow processes, see Siebel Business Process Framework: Workflow Guide. For more information on business services, see Integration Platform Technologies: Siebel Enterprise Application Integration. |
Transports and Interfaces: Siebel Enterprise Application Integration | Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Legal Notices. | |