Establish an asynchronous communication between Commerce and a back-end system is mandatory in many integration projects. And asynchronous messages means MQ in the Commerce world.
But test this integration can be complicated if you are a developer and you need to install MQ in every WCD workstation.
There’s a solution: use SIB (Service Integration Bus), the WAS default messaging provider.
Creating a bus in the SIB and then the connection factory and the queues, you can test an outbound message like Report_NC_PurchaseOrder sent when you close an order. Remember to enable it updating CMDREG table.
Let’s see the SIB configuration.
First you create a bus called “sibWC” and add “server1” default application server as a member
Remember to activate two services on server1: sib service and ActivitySession service.
Then you have to create the queue connection factory and the queues.
And the queues
The messaging infrastructure is ready. Let’s configure the Commerce side.
We activate “Websphere MQ” transport using Administration console at SITE level
and then create the message types at STORE level (Madisons in this case)
Ready to play!!
Now when you’ll close an order, a JMS message with the Report_NC_PurchaseOrder xml will be sent to the JMSOutboundQueue queue in the sibWC bus.
Going to the sibWC messaging engine, you’ll find the message