|
Préférences
Moteurs de recherche
|
||||||||
| JavaTM Platform, Enterprise Edition, v 5.0
javax.jms
|
|||||||||
| Method Summary | |
|---|---|
QueueConnection |
createQueueConnection()
Creates a queue connection with the default user identity. |
QueueConnection |
createQueueConnection(String userName,
String password)
Creates a queue connection with the specified user identity. |
| Methods inherited from interface javax.jms.ConnectionFactory |
|---|
createConnection, createConnection |
| Method Detail |
|---|
QueueConnection createQueueConnection() throws JMSException
Connection.start method
is explicitly called.
.
JMSException - if the JMS provider fails to create the queue
connection due to some internal error.
JMSSecurityException - if client authentication fails due to
an invalid user name or password.QueueConnection createQueueConnection(String userName, String password) throws JMSException
Connection.start method
is explicitly called.
userName - the caller's user namepassword - the caller's password
JMSException - if the JMS provider fails to create the queue
connection due to some internal error.
JMSSecurityException - if client authentication fails due to
an invalid user name or password.