| |
|
| java.lang.Object org.objectweb.jonas_jms.JConnectionFactory org.objectweb.jonas_jms.JQueueConnectionFactory
JQueueConnectionFactory | public class JQueueConnectionFactory extends JConnectionFactory implements QueueConnectionFactory(Code) | | JQueueConnectionFactory wraps a XAQueueConnectionFactory.
author: Laurent Chauvirey, Frederic Maistre, Nicolas Tachker author: Contributor(s): author: Philippe Durieux author: Jeff Mesnil author: Philippe Coq |
Method Summary | |
public QueueConnection | createQueueConnection() Create a queue connection for an anonymous user.
a newly created queue connection. throws: JMSException - - if JMS Provider fails to create Queue Connection due to some internal error. | public QueueConnection | createQueueConnection(String userName, String password) Create a queue connection with specified user identity. |
JQueueConnectionFactory | public JQueueConnectionFactory(String name)(Code) | | Constructor.
The underlaying XAQueueConnectionFactory is found in the JmsManager.
|
createQueueConnection | public QueueConnection createQueueConnection() throws JMSException(Code) | | Create a queue connection for an anonymous user.
a newly created queue connection. throws: JMSException - - if JMS Provider fails to create Queue Connection due to some internal error. required resources for a Queue Connection. throws: JMSSecurityException - - if client authentication fails due to invalid user name or password. |
createQueueConnection | public QueueConnection createQueueConnection(String userName, String password) throws JMSException(Code) | | Create a queue connection with specified user identity.
The connection is created in stopped mode. No messages will
be delivered until Connection.start method is explicitly called.
Parameters: userName - - the caller's user name Parameters: password - - the caller's password throws: JMSException - - if JMS Provider fails to create Queue Connection due to some internal error. required resources for a Queue Connection. throws: JMSSecurityException - - if client authentication fails due to invalid user name or password. |
|
|
|