ie.deri.wsmx.util
Class QueueHelper
java.lang.Object
ie.deri.wsmx.util.QueueHelper
- public class QueueHelper
- extends java.lang.Object
|
Constructor Summary |
QueueHelper(java.lang.String jContext,
java.lang.String destination)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QueueHelper
public QueueHelper(java.lang.String jContext,
java.lang.String destination)
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