Creates a queue identity given a Queue name.

This facility is provided for the rare cases where clients need to dynamically manipulate queue identity. It allows the creation of a queue identity with a provider-specific name. Clients that depend on this ability are not portable.

Note that this method is not for creating the physical queue. The physical creation of queues is an administrative task and is not to be initiated by the JMS API. The one exception is the creation of temporary queues, which is accomplished with the createTemporaryQueue method.

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

Syntax

Visual Basic
Function CreateQueue ( _
	queueName As String _
) As IQueue
C#
IQueue CreateQueue(
	string queueName
)
Visual C++
IQueue^ CreateQueue(
	String^ queueName
)

Parameters

queueName
Type: System..::..String
the name of this Queue

Return Value

a Queue with the given name

Exceptions

ExceptionCondition
Kaazing.JMS..::..JMSExceptionif the session fails to create a queue due to some internal error.

See Also