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.

Namespace:  Kaazing.JMS
Assembly:  Kaazing.JMS (in Kaazing.JMS.dll)

Syntax

Visual Basic
Function CreateQueueConnection As IQueueConnection
C#
IQueueConnection CreateQueueConnection()
Visual C++
IQueueConnection^ CreateQueueConnection()

Return Value

a newly created queue connection

Exceptions

ExceptionCondition
Kaazing.JMS..::..JMSExceptionif the JMS provider fails to create the queue connection due to some internal error.
Kaazing.JMS..::..JMSSecurityExceptionif client authentication fails due to an invalid user name or password.

See Also