Collapse All Expand All

.NET Framework Class Library
Queue Class See Also

[TIBCO.EMS .NET client library 5.1 documentation]

Constructs a new Queue object with the given name.

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

# Syntax

    public Queue(
    	string name
    )

    Public Sub New ( _
    	name As String _
    )

    public:
    Queue(
    	String^ name
    )

#### Parameters

name
  Type: System..::.String
  Find or create a queue with this name.

# Remarks

This is an utility provided to client so they can either create a dynamic destination or obtain a destination object provided that the object with the given name is already configured on the server.

This constructor creates only local objects (within the program). It does not attempt to lookup the corresponding server object until the program creates a MessageConsumer or a MessageProducer that uses the queue. That automatic lookup can result in either of two outcomes:

- If lookup succeeds, it binds the local queue object to the server queue object.
- If lookup fails, the server creates a new dynamic queue.

# See Also

Queue Class
TIBCO.EMS Namespace