Creating a JMS endpoint to a WebLogic server

You can define a JMS endpoint to an existing WebLogic server, by completing the following steps in IBM Cast Iron Studio.

Before you begin

Install the following JAR files in IBM Cast Iron Studio and the Integration Appliance run time:
  • wlclient.jar
  • wljmsclient.jar

Procedure

  1. In Studio, drag an activity from the JMS folder of the Activities tab onto the orchestration.
  2. Click Pick Endpoint from the Checklist. The Pick Endpoint panel opens.
  3. To create an endpoint, click New. The Create Endpoint window opens.
  4. In the Create Endpoint window, specify the following connection parameters.
    Connection parameter fields Description
    JNDI Initial Factory

    Specify the context factory class that Studio retrieves from JNDI:

    weblogic.jndi.WLInitialContextFactory

    This JNDI factory class is configured during the JMS WebLogic server installation

    Provider URL

    Specify the URL of the JMS server in the following format:

    t3://:7001

    Where 7001 is the default port.

    Provider Package Optionally, you can specify a provider package name.
    Factory Name

    Use one of the supplied default factories that is configured with the WebLogic endpoint system:

    weblogic.examples.jms.QueueConnectionFactory
  5. To validate the parameters you specified, click Test Connection.
    Note: When you configure an endpoint by using configuration properties, verify that the configuration properties have valid values. If the configuration property value is invalid or does not exist, the connection test fails.
  6. In the Checklist, click Configure.
  7. In the Topic field, select the following topic from the Preconfigured or custom Topic/Queues list:

    weblogic.examples.jms.exampleQueue

    This topic is preconfigured to use a JMS WebLogic server.

  8. Open the Message Data menu and choose the format the message takes, whether Bytes or Text.
  9. In the Message Selector field, you can enter the text of a message header.
    By submitting the text of a message header in a JMS message selector, a client can specify the messages it is interested in. Only messages with headers and properties that match the selector are delivered. Message selectors cannot reference message body values. The message selector string must comply with the JMS selector syntax.
    Note: Message selector can be blank
  10. In the Client ID field, specify the unique client identifier assigned to this JMS connection.
  11. In the Checklist, click Delivery Rules.
  12. Open the Deliver menu and choose the option: ATMOST_ONCE
  13. In the Checklist, click Retry.
  14. If there are any problems, review the default settings and make the required changes.



Feedback | Notices


Timestamp icon Last updated: Wednesday, February 17, 2016


http://pic.dhe.ibm.com/infocenter/wci/v7r0m0/topic/com.ibm.wci.doc/JMS_Creating_a_JMS_WebLogic_Endpoint.html