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

For a runtime environment:
-
Open Configuration Manager.
-
Expand . 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.
-
Select the Enable check box.
-
Click Apply.
-
Exit Configuration Manager.
-
Start
WebSphere Commerce.
-
Open the Administration Console.
-
Expand .
-
Select IBM MQ, and click
Change Status.
The status is changed from inactive to active.
-
Select IBM MQ, and click
Configure.
-
Change the value of Inbound Queue to
JMSSerialInboundQueue, as created in Creating IBM MQ messaging provider queue destinations.
-
Restart WebSphere Commerce.
For a developer environment:
-
Open the
WC_installdir\instances\instance_name\
directory.
-
Back up the demo.xml file before any modifications are made.
-
In a text editor, open the
WC_eardir/xml/config/wc-server.xml configuration file.
-
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">
-
Save the file.
-
Start
WebSphere Commerce.
-
Open the WebSphere Application Server Administrative Console.
-
Expand .
-
Select IBM MQ, and click
Change Status.
The status is changed from inactive to active.
-
Select IBM MQ, and click
Configure.
-
Change the value of Inbound Queue to
JMSSerialInboundQueue, as created in Creating IBM MQ messaging provider queue destinations.
-
Restart WebSphere Commerce.