com.ibm.mqe.jms
Class MQeQueueConnectionFactory
java.lang.Object
|
+--com.ibm.mqe.jms.MQeConnectionFactory
|
+--com.ibm.mqe.jms.MQeQueueConnectionFactory
- All Implemented Interfaces:
- javax.jms.ConnectionFactory, javax.jms.QueueConnectionFactory
- Direct Known Subclasses:
- MQeJNDIQueueConnectionFactory
- public class MQeQueueConnectionFactory
- extends MQeConnectionFactory
- implements javax.jms.QueueConnectionFactory
A client uses a QueueConnectionFactory
to create a
MQeQueueConnection
with a JMS Point-to-Point provider.
Note that a MQeQueueConnectionFactory
object cannot be stored and retrieved
using JNDI - this allows this class to be used on small devices where lookup of JNDI
administered objects is either impractical or represents unnecessary overhead.
MQeJNDIQueueConnectionFactory
extends this class to include support for JNDI.
More information on configuring an MQeQueueConnectionFactory can be found in Chapter 10 of the
WebSphere MQ Everyplace Application Programming Guide.
- See Also:
ConnectionFactory
Method Summary |
javax.jms.QueueConnection |
createQueueConnection()
Create a queue connection with default user identity. |
Methods inherited from class com.ibm.mqe.jms.MQeConnectionFactory |
getClientID, getDescription, getDUPSOKCount, getIniFileName, getTransactionLogURL, setClientID, setDescription, setDUPSOKCount, setIniFileName, setTransactionLogURL, setVerboseStartup, startQueueManager, stopQueueManager |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.jms.QueueConnectionFactory |
createQueueConnection |
MQeQueueConnectionFactory
public MQeQueueConnectionFactory()
createQueueConnection
public javax.jms.QueueConnection createQueueConnection()
throws javax.jms.JMSException
- Create a queue connection with default user identity.
- Specified by:
createQueueConnection
in interface javax.jms.QueueConnectionFactory
- Returns:
- a newly created queue connection.
- Throws:
javax.jms.JMSException
- if JMS Provider fails to create Queue Connection
due to some internal error.
required resources for a Queue Connection.