Moogsoft Docs

JMS

The Java Messaging Service (JMS) LAM is a link access module that communicates with application servers and message brokers, and takes its input from Java Messaging Services.

See Configure the JMS LAM for advanced configuration information.

Enter the following information for the JMS integration:

  • Unique instance name: This could be any name, it is used to identify this JMS integration. The name entered here should be unique e.g. jms_lam1.

  • initial_context_factory: The LAM identifies the JMS server provider by this field. The value entered in this field is the JNDI name of the context factory of the provider. The values entered for the 3 server providers are as follows:

    JMS Server Provider

    intial_context_factory

    ActiveMQ

    org.apache.activemq.jndi.ActiveMQInitialContextFactory

    JBoss

    org.jboss.naming.remote.client.InitialContextFactory

    WebLogic

    weblogic.jndi.WLInitialContextFactory

  • provider_url: This field contains the URL of the provider to establish connection with the JMS Server provider

    JMS Server Provider

    provider_url

    ActiveMQ

    tcp:// IP address of ActiveMQ server:61616

    JBoss

    http-remoting://IP address of JBoss server :8080

    WebLogic

    t3:// IP address of the WebLogic server:7001

    For SSL the following URLs are used

    JMS Server Provider

    provider_url

    ActiveMQ

    ssl:// IP address of ActiveMQ server:61616

    JBoss

    https-remoting://IP address of JBoss server :8443

    WebLogic

    t3s:// IP address of the WebLogic server:7002

  • provider_user_name and provider_password: The provider user name and password which is required for the connection to be established between the JMS server provider and the JMS LAM. If there is no password configured then leave it blank. For JBoss it is the user name and password of the user which is both a management and an application user, created in JBoss. For Active MQ the user name is admin and password is also admin. For WebLogic it is the user name and password of the Administration Console, created during its installation

  • connection_factory_name: The connection factory name of the JMS server provider is entered here. The connection factory names of the 3 JMS server providers are as follows:

    JMS Server Provider

    connection_factory_name

    ActiveMQ

    ConnectionFactory

    JBoss

    jms/RemoteConnectionFactory

    WebLogic

    It is the name of the connection factory that is created in the WebLogic administration console

  • entity_name: The name of the queue or topic is entered in this field. The format in which the entity name is to be entered is as follows:

    JMS Server Provider

    entity_name

    ActiveMQ

    dynamicQueues/name of the queue or topic

    JBoss

    jms/queue/name of the queue or topic

    WebLogic

    JNDI name of the queue or topic.e.g. jms/queue/queue1

  • user_name and password: The queue or topic username and password are entered in these fields. If there is no username and password configured for the queue or topic then leave it blank. For JBoss it is the username and password of the user which is both a management and an application user, created in JBoss. For Active MQ the username is admin and password is also admin. For WebLogic it is the username and password of the Administration Console, created during its installation.

    Note

    Polling will continue every 60 seconds.

After adding all the above information, click Confirm.