Collapse All Expand All

.NET Framework Class Library
Session Class See Also

[TIBCO.EMS.UFOCLIENT .NET client library 5.1 documentation]

Create a queue

Namespace: TIBCO.EMS.UFO
Assembly: TIBCO.EMS.UFO (in TIBCO.EMS.UFO.dll)

# Syntax

    public Queue CreateQueue(
    	string queueName
    )

    Public Function CreateQueue ( _
    	queueName As String _
    ) As Queue

    public:
    Queue^ CreateQueue(
    	String^ queueName
    )

#### Parameters

queueName
  Type: System..::.String
  The name of the Queue to be created.

#### Return Value

A Queue with the given name.

# Remarks

This facility is provided for the rare cases where clients need to dynamically manipulate queue identity.

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 EMS API. The one exception is the creation of temporary queues, which is accomplished with the CreateTemporaryQueue()()() method.

If the named queue already exists at the server, then this method returns that queue. (That queue can be either static or dynamic.)

If the named queue does not yet exist at the server, and the server allows dynamic queues, then this method creates a dynamic queue.

Dynamic destinations are provider-specific, so programs that use them might not be portable to other providers.

# See Also

Session Class
TIBCO.EMS.UFO Namespace