Transports and Interfaces: Siebel Enterprise Application Integration > EAI JMS Transport > Process of Configuring JMS Messaging on the Siebel Server >
Sending Messages
The following workflow provides a simple example for sending JMS messages from Siebel Business Applications. This is a step in Process of Configuring JMS Messaging on the Siebel Server. For more information on creating workflows, see Siebel Business Process Framework: Workflow Guide. To create a workflow for sending messages
- In Siebel Tools, create the following workflow:
NOTE: For details on the Business Process Designer, see Siebel Business Process Framework: Workflow Guide.
- Create the following process properties:
|
|
|
|
|
OrderXML |
String |
In |
Not applicable |
Not applicable |
JMSConnectionFactory |
String |
In |
java:comp/resource/TestJmsRP/ QueueConnectionFactories/myQCF |
JNDI name of the JMS connection factory |
JMSSendQueue |
String |
In |
java:comp/resource/TestJmsRP/ Queues/TESTJMSQUEUE_OUT |
JNDI name of the outbound queue |
Order Message |
Integration Object |
In |
Not applicable |
Not applicable |
- Configure the Query step to use the Siebel Order business service with the QueryById method to query the information from the Siebel database using the following input and output arguments:
|
|
|
PrimaryRowId |
Process Property |
Object Id |
|
|
|
Order Message |
Output Argument |
SiebelMessage |
- Configure the Convert to XML step to use the EAI XML Converter business service with the IntObjHierToXMLDoc method to convert the data extracted from the Siebel database to XML using the following input and output arguments:
|
|
|
|
SiebelMessage |
Process Property |
Not applicable |
Order Message |
GenerateProcessingInstructions |
Literal |
False |
Not applicable |
|
|
|
OrderXML |
Output Argument |
<Value> |
- Configure the Send step to use the EAI JMS Transport business service with the Send method using the following input and output arguments:
|
|
|
<Value> |
Process Property |
OrderXML |
ConnectionFactory |
Process Property |
JMSConnectionFactory |
SendQueue |
Process Property |
JMSSendQueue |
|
|
|
OrderXML |
Output Argument |
<Value> |
- Save the workflow.
- Publish and activate the workflow.
|