com.ibm.websphere.samples.plantsbywebsphereclient
Class PBWSInvQCF
java.lang.Object
com.ibm.websphere.samples.plantsbywebsphereclient.PBWSInvQCF
public class PBWSInvQCF
- extends java.lang.Object
Inventory Queue Connection Factory helper class.
Used to connect peer-to-peer to a JMS queue.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
start
public void start()
throws javax.naming.NamingException,
javax.jms.JMSException
- Throws:
javax.naming.NamingException
javax.jms.JMSException
getQ
public javax.jms.Queue getQ()
throws javax.naming.NamingException
- Throws:
javax.naming.NamingException
getSession
public javax.jms.QueueSession getSession()
throws javax.jms.JMSException
- Throws:
javax.jms.JMSException
close
public void close()
throws javax.jms.JMSException
- Throws:
javax.jms.JMSException