TIBCO EMS .NET API 8.5
TIBCO EMS .NET API 8.5
TIBCO.EMS.UFO.TemporaryQueue Class Reference

A TemporaryQueue object is a unique Queue object created for the duration of a Connection. It is a system-defined queue that can be consumed only by the Connection that created it. More...

Inheritance diagram for TIBCO.EMS.UFO.TemporaryQueue:
TIBCO.EMS.UFO.Queue TIBCO.EMS.UFO.Destination

Public Member Functions

override object Clone ()
 Throws a NotSupported Exception More...
 
void Delete ()
 Deletes a temporary queue that belongs to this connection. More...
 
- Public Member Functions inherited from TIBCO.EMS.UFO.Queue
 Queue (string address)
 Constructs a new Queue object with the given address. More...
 
 Queue (TIBCO.EMS.Queue queue)
 Constructs a new Queue object with the given TIBCO.EMS.Queue object. More...
 
override bool Equals (object obj)
 Compare with another object for equality. More...
 
override int GetHashCode ()
 Returns a hashcode representing the current object More...
 
- Public Member Functions inherited from TIBCO.EMS.UFO.Destination
 Destination (TIBCO.EMS.Destination destination)
 Constructs a TIBCO.EMS.UFO Destination object with the given TIBCO.EMS.Destination object. More...
 
override string ToString ()
 Returns a string representation of the destination. More...
 
override bool Equals (object obj)
 Compare with another object for equality. More...
 
override int GetHashCode ()
 Returns a hashcode representing the current object More...
 

Properties

override string QueueName [get]
 Gets the name of the queue More...
 
- Properties inherited from TIBCO.EMS.UFO.Queue
virtual string QueueName [get]
 Gets the name of the queue More...
 

Detailed Description

A TemporaryQueue object is a unique Queue object created for the duration of a Connection. It is a system-defined queue that can be consumed only by the Connection that created it.

A TemporaryQueue object can be created at either the Session or QueueSession level. Creating a TemporaryQueue at the Session level allows the TemporaryQueue to participate in transactions with objects from the Pub/Sub domain. If a TemporaryQueue is created at the QueueSession level, it will only be able participate in transactions with objects from the PTP domain.

Programs can use temporary queues as reply destinations. A temporary queue exists only for the duration of the session's connection, and is available only within that connection. Only consumers associated with the same connection as the temporary queue can consume messages from it.

Member Function Documentation

override object TIBCO.EMS.UFO.TemporaryQueue.Clone ( )
inlinevirtual

Throws a NotSupported Exception

Reimplemented from TIBCO.EMS.UFO.Queue.

void TIBCO.EMS.UFO.TemporaryQueue.Delete ( )
inline

Deletes a temporary queue that belongs to this connection.

When a client deletes a temporary queue, the server deletes any unconsumed messages in the queue.

If the client still has listeners or receivers for the queue, or is in the middle of a Receive call, then Delete throws an EMSException.

Property Documentation

override string TIBCO.EMS.UFO.TemporaryQueue.QueueName
get

Gets the name of the queue

Each queue has a name that is unique among all queues.

Returns
The lookup name of the queue object. If not set, null is returned

Copyright © Cloud Software Group, Inc. All rights reserved.