Tuesday 8 July 2014

OSB 11g - MQ Connection or Transport missing in SBConsole ( How to add or fix this?)

This post may be helpful for someone who is a beginner in OSB. 

Those who are interested to learn OSB must install weblogic and OSB 11g in local system for hands on. There are several tutorial available and I am also planning to write a series of post which will help those who are looking for quick hands on for quick learning. I recently got opportunity to explore the OSB 11g.

This post assumes that all are aware of basic OSB terminologies like Proxy services, Business services, transports etc. 





One such transport is MQ and OSB supports access to IBM Websphere MQ using MQ transport.

But after installing OSB, we may not found the MQ connection under resources or MQ protocol under transport configuration page in SBconsole. 

Reason is MQ libraries are not bundled with the Oracle Service Bus installer and we need to ensure that supported version of MQ client Library is available in our environment. 

Jar Name : com.ibm.mq.jar
Download Link : http://www.java2s.com/Code/JarDownload/com.ibm/com.ibm.mq.jar.zip

Steps to add: 

1. Stop the domain server or Admin server in case of development version
2. Copy the file to Domain Home\osb_domain\lib directory
3. Start the server

Now go to resources and you can MQ connection and also while creating proxy services, you can now select MQ protocol in transport configuration page as well. 

Cheers..