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 App Connect Studio.
Before you begin
Install the following JAR files in App Connect Studio
and the Integration Appliance run time:
- wlclient.jar
- wljmsclient.jar
Procedure
- In Studio, drag an activity from the JMS folder of the Activities tab onto the orchestration.
- Click Pick Endpoint from the Checklist. The Pick Endpoint panel opens.
- To create an endpoint, click New. The Create Endpoint window opens.
- 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 - 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.
- In the Checklist, click Configure.
- 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.
- Open the Message Data menu and choose the format the message takes, whether Bytes or Text.
- 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
- In the Client ID field, specify the unique client identifier assigned to this JMS connection.
- In the Checklist, click Delivery Rules.
- Open the Deliver menu and choose the option: ATMOST_ONCE
- In the Checklist, click Retry.
- If there are any problems, review the default settings and make the required changes.
Parent topic: JMS Activities