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

SQL Anywhere 11.0.0 » QAnywhere » Creating QAnywhere Applications » Connectors » Tutorial: Using JMS connectors


Lesson 3: Send a message from a QAnywhere client to a JMS client

To find out the name of the QAnywhere JMS connector

  1. Start Sybase Central.

    From the Start menu, choose Programs » SQL Anywhere » Sybase Central.

  2. From the Connections menu, choose Connect With QAnywhere 11.

    The Connect To Consolidated Database window appears.

  3. Select the ODBC Data Source Name QAnywhere 11 Demo and choose OK.

    The QAnywhere 11 Demo database appears under the QAnywhere 11 section on the left-side pane.

  4. Select the Connectors tab.

    The right-pane displays a list of all active JMS connectors.

  5. Examine the name field.

    There should only be one active QAnywhere JMS connector in the list. The name of the connector is displayed under the name field.

To send a message from a QAnywhere client to a JMS client

  1. From the saclient1 - TestMessage Message menu, choose New.

    The New Message window appears.

  2. In the Destination ID field, enter the name of your JMS system.

  3. Fill out the Subject and Message fields with sample text, and click Send.

    A window appears, indicating that a message has been received.