JMS configurations

The following sections provides details of several configurations with different JMS providers. Configuring other J2EE-compliant JMS providers will be similar to one of the following examples.

StepsConfiguring JMS for Sybase EAServer

  1. From Jaguar Manager, check the target queue or topic status.

  2. From Jaguar Manager, connect to the server select Message Service.

    If the message service is not available, you must configure it before proceeding.

  3. Right-click Configured Queues or Configured Topics under the Message Service folder, then select Add and enter the name of the queue or topic.

  4. After you have created the queue or the topic, right-click it and select Config Queue Properties for a queue or Config Topic Properties for a topic to set its properties, if needed.

For more information, see the user documentation for EAServer online at http://<easerver hostname>:<easerver http port>. For example, http://localhost:8080/docs/index.html.

NoteThe user name and password are the same as the Jaguar Manager’s administrator user name and the password.

StepsConfiguring JMS for BEA WebLogic

Use the WebLogic Administration Console to configure the target queue or topic.

  1. Enter the URL to the WebLogic Administration Console. For example:

    http://localhost:7001/console
    
  2. From the Administration Console, go to <your domain folder>/Services/JMS.

  3. If the JMS configuration is not available, you must configure the store and the server before proceeding.

  4. Create a new connection factory under the Connection Factories folder or use the existing one.

  5. Create the destination queue or topic under Services/JMS/Servers/<yourJMSserver>/Destinations.

  6. Use the right-side window of the Administration Console to set the properties of your JMS objects, if needed.

  7. Verify the queue or topic status from the WebLogic Administration Console.

For more information, see the user documentation for the WebLogic Server.

StepsConfiguring for TIBCO JMS

Use the tibjmsadmin utility to administer the TIBCO Enterprise for JMS objects. This information about these objects are required for configuring the RepConnector inbound and outbound properties.

  1. Start TIBCO Enterprise for JMS Server.

  2. Start the TIBCO Enterprise for JMS Administration tool. This tool is located in the TIBCO Enterprise for JMS installation’s bin directory. The utility is tibjmsadmin.exe for Windows, and tibjmsadmin for UNIX.

    NoteUse tibjmsadmin -help to display information about start up parameters for tibjmsadmin.

  3. Connect to the JMS server. If a user name or password is not provided, you are prompted to enter a user name and password. An administrator is the admin user, any user in the $admin group, or any user that has administrator permission enabled.

    connect [<server-url><admin user name> <password>
    

    For example:

    >connect tcp://mymachine:7222 admin
    

    NoteTo access the command line documentation from tibjmsadmin, enter ‘help create’. For example:

    tcp://mymachine:7222 > help create
    
  4. Create the connection factory. A connection factory is the object a client uses to create a connection with a provider.

    create factory [ <factory-name> <type> <password> ] [URL [clientID] ]
    

    For example:

    tcp://mymachine:7222 > create factory
    com.tibco.tibjms.TibjmsQueue.ConnectionFactory queue
    
  5. Create a JMS destination. A destination is the object a client uses to specify the target messages it processes, and the source of messages it consumes.

    In a point-to-point (PTP) messaging domain, destinations are called queues:

    create queue <queue-name> [<properties>]
    

    For example:

    tcp://mymachine:7222> create queue sampleQ1
    

    In a publish/subscribe messaging domain, destinations are called topics:

    create topic <topic-name> [<properties>]
    

    For example:

    tcp://mymachine:7222> create topic sampleT1
    
  6. Verify the status of queue or topic.

StepsConfiguring SonicMQ JMS

Use the SonicMQ Management Console to configure the target queue or topic.

  1. Start the SonicMQ Management Console.

  2. Go to the Brokers/<your broker name>/Queues or Brokers/<your broker name>/Topics folder.

  3. Enter the queue or topic name to create a new queue or topic.

  4. Set the properties of the queue or topic.

  5. Verify the status of the queue or topic from the Management Console.

For detailed information, see the SonicMQ documentation.