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.
javax.jms.ConnectionFactory
| Modifier and Type | Method and Description |
|---|---|
| public QueueConnection | Returns: a newly created queue connectionCreates a queue connection with the default user identity. |
| public QueueConnection | Returns: a newly created queue connectionthe caller's user name userName, String the caller's password password)Creates a queue connection with the specified user identity. |
| createQueueConnection | back to summary |
|---|---|
| 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
| |
| createQueueConnection | back to summary |
|---|---|
| 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
| |