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

  1. In Siebel Tools, create the following workflow:

    NOTE:  For details on the Business Process Designer, see Siebel Business Process Framework: Workflow Guide.

  2. Create the following process properties:
    Name
    Data Type
    In/ Out
    Default String
    Comments

    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

  3. 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:
    Input Argument
    Type
    Property Name

    PrimaryRowId

    Process Property

    Object Id

    Property Name
    Type
    Output Argument

    Order Message

    Output Argument

    SiebelMessage

  4. 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:
    Input Argument
    Type
    Value
    Property Name

    SiebelMessage

    Process Property

    Not applicable

    Order Message

    GenerateProcessingInstructions

    Literal

    False

    Not applicable

    Property Name
    Type
    Output Argument

    OrderXML

    Output Argument

    <Value>

  5. Configure the Send step to use the EAI JMS Transport business service with the Send method using the following input and output arguments:
    Input Argument
    Type
    Property Name

    <Value>

    Process Property

    OrderXML

    ConnectionFactory

    Process Property

    JMSConnectionFactory

    SendQueue

    Process Property

    JMSSendQueue

    Property Name
    Type
    Output Argument

    OrderXML

    Output Argument

    <Value>

  6. Save the workflow.
  7. Publish and activate the workflow.
Transports and Interfaces: Siebel Enterprise Application Integration Copyright © 2011, Oracle and/or its affiliates. All rights reserved. Legal Notices.