Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 10.0.1 » QAnywhere » JMS Connectors

Introduction to JMS connectors Next Page

Setting up JMS connectors


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
  1. 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.

  2. Open Sybase Central and connect to your server message store.

  3. Choose File > New Connector.

    The Connector wizard appears.

  4. Ensure that JMS is selected and then select the type of web server you are using. Click Next.

  5. In the Connector Names page, enter the following values:

  6. In the JNDI Settings page, enter the following values:

  7. In the JMS Queue Settings page, enter the following values:

  8. In the JMS Topic Settings page, enter the following values:

  9. Click Finish.

    You are prompted to add the client JAR files in the mlsrv10 command line.

  10. Start the MobiLink server with a connection to the server message store and the -sl java option.

    See Starting the MobiLink server for JMS integration.

  11. 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 JMS connector properties.

    For information about how to set connector properties with server management requests, see Administering connectors.

To send messages
  1. 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.

    See Addressing QAnywhere messages meant for JMS.

  2. To send a message from the external messaging system to an application in your QAnywhere system:

    See Addressing JMS messages meant for QAnywhere.

  3. Other resources for getting started