ie.deri.wsmx.util
Class QueueHelper

java.lang.Object
  extended byie.deri.wsmx.util.QueueHelper

public class QueueHelper
extends java.lang.Object


Constructor Summary
QueueHelper(java.lang.String jContext, java.lang.String destination)
           
 
Method Summary
 void closeMessageConsumer()
           
 void closeMessageProducer()
           
 javax.jms.MessageConsumer createMessageConsumer()
           
 javax.jms.MessageProducer createMessageProducer()
           
 javax.jms.Connection getConnection()
           
 javax.jms.Session getSession()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueueHelper

public QueueHelper(java.lang.String jContext,
                   java.lang.String destination)
Method Detail

createMessageProducer

public javax.jms.MessageProducer createMessageProducer()
                                                throws javax.jms.JMSException,
                                                       javax.naming.NamingException
Throws:
javax.jms.JMSException
javax.naming.NamingException

createMessageConsumer

public javax.jms.MessageConsumer createMessageConsumer()
                                                throws javax.jms.JMSException,
                                                       javax.naming.NamingException
Throws:
javax.jms.JMSException
javax.naming.NamingException

getSession

public javax.jms.Session getSession()

getConnection

public javax.jms.Connection getConnection()

closeMessageProducer

public void closeMessageProducer()
                          throws javax.jms.JMSException,
                                 javax.naming.NamingException
Throws:
javax.jms.JMSException
javax.naming.NamingException

closeMessageConsumer

public void closeMessageConsumer()
                          throws javax.jms.JMSException,
                                 javax.naming.NamingException
Throws:
javax.jms.JMSException
javax.naming.NamingException