Configuring WebSphere Commerce to use IBM MQ

To configure WebSphere Commerce to use IBM MQ, you must enable the transport adapter and then activate the IBM MQ transport.

Before you begin

  • Stop WebSphere Commerce.

Procedure

  • WebSphere Commerce EnterpriseWebSphere Commerce Professional For a runtime environment:
    1. Open Configuration Manager.
    2. Expand host_name > Commerce > Instance List > instance_name > Components > Listener for IBM MQ (Transport Adapter). Where host_name is the short name of the machine that is running WebSphere Commerce and instance_name is the name of the WebSphere Commerce instance.
    3. Select the Enable check box.
    4. Click Apply.
    5. Exit Configuration Manager.
    6. Start WebSphere Commerce.
    7. Open the Administration Console.
    8. Expand Configuration > Transports.
    9. Select IBM MQ, and click Change Status.
      The status is changed from inactive to active.
    10. Select IBM MQ, and click Configure.
    11. Change the value of Inbound Queue to JMSSerialInboundQueue, as created in Creating IBM MQ messaging provider queue destinations.
    12. Restart WebSphere Commerce.
  • WebSphere Commerce Developer For a developer environment:
    1. Open the WC_installdir\instances\instance_name\ directory.
    2. Back up the demo.xml file before any modifications are made.
    3. In a text editor, open the WC_eardir/xml/config/wc-server.xml configuration file.
    4. Search for the TransportAdapter component class and set the value for the enable attribute to true:
      <component compClassName="com.ibm.commerce.messaging.listener.TransportAdapter" 
      enable="true"
      name="TransportAdapter">
      
    5. Save the file.
    6. Start WebSphere Commerce.
    7. Open the WebSphere Application Server Administrative Console.
    8. Expand Configuration > Transports.
    9. Select IBM MQ, and click Change Status.
      The status is changed from inactive to active.
    10. Select IBM MQ, and click Configure.
    11. Change the value of Inbound Queue to JMSSerialInboundQueue, as created in Creating IBM MQ messaging provider queue destinations.
    12. Restart WebSphere Commerce.