Re: MQSeries with Weblogic
Posted By:
sivaram_ponraj
Posted On:
Monday, June 25, 2001 02:34 AM
Dear Goyal
yes u can bind the mqSeries com.ibm.mq.jms.MQXAQueueConnectionFactory and MqSeries Queue in the jndi and if u lookup from any java code u can directly access the MQSeries.U can refer the following code for binding
factory = new MQXAQueueConnectionFactory();
(factory).setQueueManager(QMGR);
// factory.setTransportType(1);
connection = factory.createXAQueueConnection();
connection.start();
boolean transacted = false;
//session = connection.createXAQueueSession(true,Session.AUTO_ACKNOWLEDGE);
session = connection.createXAQueueSession();
QueueSession s = session.getQueueSession();
ctx.bind("BindedQueueConnectionFactory",factory);
ctx.bind("BindedQueue",ioQueue);