Bridge between Websphere MQ 6.0(Previously MQSeries) and Weblogic 9.2
At Websphere MQ 6.0 side:
Create a folder by the name JNDI-Directory under C drive
Create the queue manager by using the command at the command prompt:
crtmqm testqmgr or you can create it by GUI also.
Start the queue manager: strmqm testqmgr. or you can start it by GUI also
Define Local Queues in the newly created queue manager testqmgr by using GUI or by using Commands .Assume we have created a local queue by the name MyMDBQueue.
Create a file by the name MyAdmin.config,It’s a configuration file under C:\Program Files\IBM\WebSphere MQ\Java\bin directory.
Now add the following entries into the config file
Without the above step also you can do that. How it means
You have a file called JMSAdmin.config under C:\Program Files\IBM\WebSphere MQ\Java\bin directory.jsut uncomment the above mentioned 3 properties and comment the remaing that’s it.
Next run the below command
C:\Program Files\IBM\WebSphere MQ\Java\bin>JMSAdmin.bat –cfg MyAdmin.config
Once you run the above command you will see
this prompt InitCtx>.
Now your command prompt will stop at
Just type the following commands
a) InitCtx> def xaqcf(SenderQCF) qmgr(testqmgr) press enter
b) InitCtx> def q(MyMDBQueue) qmgr(testqmgr) queue(MyMDBQueue) press enter
c) InitCtx> end press enter
At step a it will create a queue connection factory by the name SenderQCF UNDER QueueManager testqmgr
At step b it will create a queue by the name MyMDBQueue UNDER
At step c Its ends the Context cration process
At Weblogic 9.2 side:
Go to your domain location lib folder i.e. In my system it’s in C:\bea\user_projects\domains\bplus_domain\lib. Add the following jars in lib folder