Websphere Commerce outbound messages: how to use WAS default messaging provider to test them

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)

WC Admin Console Transport Store Level Detail

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


Websphere Commerce and Portal Architect ✔ Motivated IT professional with more than ten years of experience, combining Java and JEE developer skills with systems and IBM products installation knowledge. ✔ Strong experience and skills on planning, architecting and implementing complex commerce and portal solutions based on IBM middleware products. ✔ Reliable with a strong network attitude, experience on leading developer's teams and manage international relationships. Specialties ✔ Pleasant manner, reliable. ✔ Ability to consider issues from different point of views. ✔ End-oriented work capacity and problem-solving attitude. ✔ Ability to work with deadlines and under pressure. ✔ Ability to prioritise tasks and manage people. ✔ Ability to increase the whole team skills. ✔ Ability to generate commercial leads

Tagged with: , , , ,
Posted in websphere commerce

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: