The following steps provide an overview of the tasks required to set up QAnywhere with JMS connectors, assuming that you already have QAnywhere set up.
Overview of integrating a QAnywhere application with an external JMS system
Create JMS queues using the JMS administration tools for your JMS system. The QAnywhere connector listens on a single JMS queue for JMS messages. You must create this queue if it does not already exist.
See the documentation of your JMS product for information about how to create queues.
Open Sybase Central and connect to your server message store.
Choose File » New » Connector.
The Connector Wizard appears.
Ensure that JMS is selected and then select the type of web server you are using. Click Next.
In the Connector Names page, enter the following values:
Connector Name The connector address that a QAnywhere client should use to address the connector.
Receiver Destination The queue name used by the connector to listen for messages from JMS targeted for QAnywhere clients.
In the JNDI Settings page, enter the following values:
JNDI Factory The factory name used to access the external JMS JNDI name service.
Name Service URL The URL to access the JMS JNDI name service.
User Name The authentication name to connect to the external JMS JNDI name service.
Password The authentication password to connect to the external JMS JNDI name service.
In the JMS Queue Settings page, enter the following values:
Queue Factory The external JMS provider queue factory name.
User Name The user ID to connect to the external JMS queue connection.
Password The password to connect to the external JMS queue connection.
In the JMS Topic Settings page, enter the following values:
Topic Factory The external JMS provider topic factory name.
User Name The user ID to connect to the external JMS topic connection.
Password The password to connect to the external JMS topic connection.
Click Finish.
You are prompted to add the client JAR files in the mlsrv11 command line.
Start the MobiLink server with a connection to the server message store and the -sl java option.
To set additional options on your JMS connector, right-click the connector you just created and choose properties; or you can use server management requests.
For a list of available properties, see Configuring JMS connector properties.
For information about how to set connector properties with server management requests, see Administering connectors with server management requests.
To send messages
To send a message from an application in your QAnywhere system to the external messaging system, create a QAnywhere message and send it to connector-address\JMS-queue-name.
To send a message from the external messaging system to an application in your QAnywhere system:
Starting the MobiLink server for JMS integration
Configuring JMS connector properties
Configuring multiple connectors
Send feedback about this page via email or DocCommentXchange | Copyright © 2008, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.0 |