Creates a queue identity given a Queue name.
Namespace:
Kaazing.JMSThis 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.
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 nameImplements
ISession..::..CreateQueue(String)
Exceptions
| Exception | Condition |
|---|---|
| Kaazing.JMS..::..JMSException | if the session fails to create a queue due to some internal error. |