[jboss-user] [Messaging, JMS & JBossMQ] - JMS -JBoss -- where to define ConnectionFactory

hanumesh_m do-not-reply at jboss.com
Wed Dec 5 09:09:46 EST 2007


I am working on a sample MULE application for Messaging, using JBoss4.2.1 & JBossMQ. I came to know that the steps are:
 
Step 1: Obtain a queue connection factory. A queue connection factory is used to create the queue connection object used to handle the connection to the message servers queue.
Step 2: Create a queue connection. This is done by calling the createQueueConnection method on the factory object just obtained.
Step 3: Create a queue session. A queue session is obtained from the queue connection, as illustrated below:
QueueSession qs = 
             qc.createQueueSession(false, 
             Session.AUTO_ACKNOWLEDGE);

But I am aware of where to define the ConnectionFactory so that I can obtain the ConnectionFactory.


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4110524#4110524

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4110524



More information about the jboss-user mailing list