+

Search Tips   |   Advanced Search

Create a connection factory for the WebSphere MQ messaging provider using the Create JMS Resource wizard


Use this task to create a connection factory, a queue connection factory, or a topic connection factory for use with the WebSphere MQ messaging provider.

With JMS 1.1, domain-independent connection factories are preferred to domain-specific queue connection factories and topic connection factories.

To modify an existing connection factory, see the related tasks.

To create a connection factory, a queue connection factory, or a topic connection factory for use with the WebSphere MQ messaging provider, use the admin console to complete the following steps:

 

  1. In the navigation pane, expand Resources > JMS > Connection factories, > Queue connection factories or > Topic connection factories. to create a connection factory, a queue connection factory or a topic connection factory.

  2. Select the Scope setting corresponding to the scope of the connection factory to create.

  3. Click New in the content pane to start the Create JMS resource wizard.

    1. Select the WebSphere MQ messaging provider and click OK.

    2. In the Set basic attributes panel, specify the following properties:

      Name

      The name by which this connection factory is known for administrative purposes within WAS.

      JNDI name

      The name used to bind this connection factory into the JNDI namespace.

      Description

      Optional. A description of this connection factory for administrative purposes within WAS.
      Click Cancel to cancel all actions and leave the wizard or click Next to continue.

  4. In the Select connection method panel, specify how to connect to the WebSphere MQ messaging provider by selecting one of the following radio buttons:

    Enter all the required information into this wizard

    Click Next to proceed to the Supply queue connection details panel.

    Use a client channel definition table

    Click Next to proceed to the Specify client channel definition table panel.

  5. In the Specify client channel definition table panel, enter information about the client channel definition table (CCDT) used to establish a connection to the WebSphere MQ messaging provider. Optionally, in the Queue manager field, enter the name of the queue manager to identify one or more entries to use from the CCDT. Click Next to continue to the Test connection panel.

  6. In the Supply queue connection details panel, enter the name of the queue manager or queue-sharing group that you want to connect to. Click Next to continue to the Enter connection details panel.

  7. In the Enter connection details panel, specify the following properties:

    Transport

    Optional. The WebSphere MQ transport type for the connection. This is used to determine the exact mechanisms used to connect to WebSphere MQ.

    See about configuring a transport type of bindings then client or bindings, refer to Set the WebSphere MQ messaging provider with native libraries informationand Sizing the thread pools used by the WebSphere MQ messaging provider.

    Hostname

    The host name, IPv4 or IPv6 address of the WebSphere MQ queue manager to connect to.

    Port

    Optional. The port number on which WebSphere MQ is listening.

    Server connection channel

    Optional. The WebSphere MQ server connection channel name used when connecting to WebSphere MQ queue manager or queue-sharing group.
    Click Cancel to cancel all actions and leave the wizard or click Next to continue.

  8. In the Test connection panel, to test establishing the connection, click Test connection. This test can take several seconds to perform.

  9. In the Summary panel, click Cancel to cancel all actions and leave the wizard, or Previous to return to the previous panel, or Finish to complete the creation of the new connection factory.

  10. Stop then restart the appserver.


Set the WebSphere MQ messaging provider with native libraries information
Sizing the thread pools used by the WebSphere MQ messaging provider

 

Related tasks


Set a unified connection factory for the WebSphere MQ messaging provider
Set a queue connection factory for the WebSphere MQ messaging provider
Set a topic connection factory for the WebSphere MQ messaging provider
Set JMS resources for the WebSphere MQ messaging provider

 

Related


WebSphere MQ messaging provider connection factory settings
createWMQConnectionFactory
deleteWMQConnectionFactory
listWMQConnectionFactories
modifyWMQConnectionFactory
showWMQConnectionFactory
JMS resource provider selection panel