Home » jboss-javaee-sources » javax » jms » [javadoc | source]
javax.jms
public interface: QueueConnectionFactory [javadoc | source]

All Implemented Interfaces:
    ConnectionFactory

All Known Implementing Classes:
    XAQueueConnectionFactory

A client uses a QueueConnectionFactory object to create QueueConnection objects with a point-to-point JMS provider.

QueueConnectionFactory can be used to create a QueueConnection, from which specialized queue-related objects can be created. A more general, and recommended, approach is to use the ConnectionFactory object.

The QueueConnectionFactory object can be used to support existing code that already uses it.

Method from javax.jms.QueueConnectionFactory Summary:
createQueueConnection,   createQueueConnection
Method from javax.jms.QueueConnectionFactory Detail:
 public QueueConnection createQueueConnection() throws JMSException
    Creates a queue connection with the default user identity. The connection is created in stopped mode. No messages will be delivered until the Connection.start method is explicitly called. .
 public QueueConnection createQueueConnection(String userName,
    String password) throws JMSException
    Creates a queue connection with the specified user identity. The connection is created in stopped mode. No messages will be delivered until the Connection.start method is explicitly called.