Administer > Manage WebSphere Commerce features > Messaging system > WebSphere MQ > Configure WebSphere Application Server for use with WebSphere MQ


Create a WebSphere MQ messaging provider queue connection factory

  1. In the WAS Administrative Console navigation tree, expand...

    Resources | JMS | Queue connection factories

  2. Select the scope of the queue connection factory from the list.

    IBM recommends scope...

    Node=WC_instance name_node, Server=server1

  3. Click...

    New | WebSphere MQ messaging provider | OK

  4. Configure basic attributes...

    Option Description
    Name JMSQueueConnectionFactory
    JNDI Name JMSQueueConnectionFactory
    Description JMSQueueConnectionFactory

    Click Next.

  5. Select...

    Enter all the required information into this wizard

    ...and click Next...

  6. Enter the name of the Queue Manager

    For example...

    hostname.qm

    ...where hostname is the host name (without the domain) for the machine running WebSphere MQ.

    Click Next.

  7. Enter the connection details...

    Option Description
    Transport

    • If Commerce and MQ are installed on the same machine, choose BINDINGS.

    • If WebSphere MQ client only is installed on the WebSphere Commerce machine, choose CLIENT.
    Hostname

    Bindings mode
    Ensure that this field is cleared.

    Client mode
    Enter the fully qualified TCP/IP hostname of the machine running WebSphere MQ.
    Port

    Bindings mode
    Ensure that this field is cleared. If this field contains any value, bindings mode will fail to function correctly.

    Client mode
    Enter the listener port number for the queue manager
    Server connection channel

    Bindings mode
    Ensure that this field is cleared. If this field contains any value, bindings mode will fail to function correctly.

    Client mode
    Ignore this field.

    Click Next.

  8. To test connectivity, click...

    Test connection

  9. After confirming results of the connection test, click...

    Next | Finish

  10. Select the newly-created JMSQueueConnectionFactory.

  11. Under Advanced, clear...

    Support distributed two phase commit protocol

  12. Click Apply.

  13. Under Additional properties, click Advanced properties.

  14. Under connection consumer, clear...

    Retain messages, even if no matching consumer is available

  15. Click OK.

  16. Under Additional properties, click Connection pool and adjust the maximum number of connections needed.

    This number must be 1 smaller than the number defined under the WC_instance enterprise application.

  17. Click..

    OK | Save | Save

  18. Create WebSphere MQ messaging provider queue destinations.


+

Search Tips   |   Advanced Search