Configuring JMS Information

Define the JMS information using the Create Connection wizard if you are connecting to a JMS message queue or topic.

  1. Choose the destination type:
    Destination Type Description
    Queue Point-to-point messaging
    Topic Publish-and-subscribe messaging.
  2. Enter the JMS provider URL, which is the host name and port number that is used to connect to the JMS Server.
    JMS Provider JMS Provider URL Where
    JBoss HornetQ JMS
    jnp://<host_name>:<port_number>

    For example:

     jnp://localhost:1099
    • host_name – is the name of the machine on which the server is running.
    • port_number – is the port number at which the server is listening.
    WebLogic Server JMS (protocol type must be “t3”, which is the WebLogic multitier JDBC driver)
    t3://<host_name>:<port_number>

    For example:

    t3://localhost:7001
    TIBCO JMS or SonicMQ JMS
    tcp://<host name>:<port number>

    For example:

    tcp://localhost:7222
  3. Enter or select the class name of the specific JMS provider’s initial naming context factory.
    JMS Provider Class Name
    JBoss HornetQ JMS For JBoss 6:
    org.jnp.interfaces.NamingContextFactory
    For JBoss 7:
    org.jboss.as.naming.InitialContextFactory
    WebLogic Server JMS
    weblogic.jndi.WLInitialContextFactory
    TIBCO JMS
    com.tibco.tibjms.naming.
       TibjmsInitialContextFactory
    SonicMQ JMS If the destination type is a queue:
    progress.message.jclient.QueueConnectionFactory

    If the destination type is a topic:

    progress.message.jclient.TopicConnectionFactory
  4. Enter or select the object that is administered by the connection factory.
    JMS Provider Connection Factory Name
    JBoss HornetQ JMS
    java:/ConnectionFactory
    WebLogic Server JMS
    weblogic.jms.ConnectionFactory
    TIBCO JMS If the destination type is a queue:
    com.tibco.tibjms.TibjmsQueueConnectionFactory

    If the destination type is a topic:

    com.tibco.tibjms.TibjmsTopicConnectionFactory

    Make sure that this connection-factory-administered object name exists in your TIBCO JMS Server, or change the value here to match the object you created in TIBCO JMS Server.

    SonicMQ JMS If the destination type is a queue:
    progress.message.jclient.QueueConnectionFactory

    If the destination type is a topic:

    progress.message.jclient.TopicConnectionFactory
  5. Enter the name of the destination; for example, if the destination is a JMS queue, enter:
    JMS_Queue
  6. Enter the user name and password for the queue or topic, for example, enter jagadmin with no password.
  7. If the destination type is a topic, enter the name of one or more durable subscribers in the Topic Subscribers field, separated by commas, with no spaces in between.
    Durable subscribers are subscribers who are interested in receiving messages from the selected published topic. For example, enter:
    JMSTSub1,JMSTSub2,JMSSub1
  8. If you are routing events from messaging to database, enter name of the destination in the Status Destination field.
    The status destination queue or topic you define is used for a client application to listen for an error message (if any) that may result in the event sent to the database.
Related tasks
Creating and Configuring a New Connection