MQSeries with Weblogic
1 posts in topic
Flat View  Flat View

Posted By:   Abhishek_Goyal
Posted On:   Friday, June 22, 2001 04:02 AM

We are going to use MQSeries JMS with Weblogic app server. I would like to know, how can we use MQSeries JMS support without using the vendor specific APIs. i.e. usage of only Javax.jms.* permitted. Is there a way by which I can register my MQ objects with the JNDI factory of Weblogic.


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 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.setTransportType(1);

connection = factory.createXAQueueConnection();


boolean transacted = false;
//session = connection.createXAQueueSession(true,Session.AUTO_ACKNOWLEDGE);
session = connection.createXAQueueSession();

QueueSession s = session.getQueueSession();
About | Sitemap | Contact