Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.activemq.message
Class ActiveMQTemporaryQueue  view ActiveMQTemporaryQueue download ActiveMQTemporaryQueue.java

java.lang.Object
  extended byorg.activemq.jndi.JNDIBaseStorable
      extended byorg.activemq.message.ActiveMQDestination
          extended byorg.activemq.message.ActiveMQQueue
              extended byorg.activemq.message.ActiveMQTemporaryQueue
All Implemented Interfaces:
java.lang.Comparable, javax.jms.Destination, org.activemq.jndi.JNDIStorableInterface, javax.jms.Queue, javax.naming.Referenceable, java.io.Serializable, javax.jms.TemporaryQueue

public class ActiveMQTemporaryQueue
extends ActiveMQQueue
implements javax.jms.TemporaryQueue

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 it at the Session level allows to the TemporaryQueue to participate in transactions with objects from the Pub/Sub domain. If it is created at the QueueSession, it will only be able participate in transactions with objects from the PTP domain.


Field Summary
private static long serialVersionUID
           
 
Fields inherited from class org.activemq.message.ActiveMQDestination
ACTIVEMQ_QUEUE, ACTIVEMQ_TEMPORARY_QUEUE, ACTIVEMQ_TEMPORARY_TOPIC, ACTIVEMQ_TOPIC, ADVISORY_PREFIX, CONNECTION_ADVISORY_PREFIX, CONSUMER_ADVISORY_PREFIX, DEFAULT_ORDERED_TARGET, PRODUCER_ADVISORY_PREFIX, TEMP_DESTINATION_ADVISORY_PREFIX
 
Fields inherited from class org.activemq.jndi.JNDIBaseStorable
 
Constructor Summary
ActiveMQTemporaryQueue()
          Default constructor for an ActiveMQTemporaryQueue Destination
ActiveMQTemporaryQueue(java.lang.String name)
          Construct a named ActiveMQTemporaryQueue Destination
 
Method Summary
 int getDestinationType()
           
 boolean isQueue()
          Returns true if a Queue Destination
 boolean isTemporary()
          Returns true if a temporary Destination
 boolean isTopic()
          Returns true if a Topic Destination
 
Methods inherited from class org.activemq.message.ActiveMQQueue
createDestination, createDestinationStats, getQueueName
 
Methods inherited from class org.activemq.message.ActiveMQDestination
buildFromProperties, compareTo, compareTo, createDestination, createTemporaryName, decrementConsumerCounter, delete, equals, getChildDestinations, getClientId, getDestinationBeingAdvised, getDestinationFilter, getDestinationPaths, getOrderedTarget, getPhysicalName, getSessionCreatedBy, getStats, getTopicForConsumerAdvisory, getTopicForProducerAdvisory, getTopicForTempAdvisory, hashCode, incrementConsumerCounter, inspect, isAdvisory, isComposite, isConnectionAdvisory, isConsumerAdvisory, isDeleted, isExclusive, isOrdered, isProducerAdvisory, isTempDestinationAdvisory, isWildcard, matches, populateProperties, readFromStream, setAdvisory, setChildDestinations, setDeleted, setExclusive, setOrdered, setOrderedTarget, setPhysicalName, setSessionCreatedBy, setStats, toString, transformDestination, writeToStream
 
Methods inherited from class org.activemq.jndi.JNDIBaseStorable
getProperties, getReference, setProperties
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface javax.jms.TemporaryQueue
delete
 
Methods inherited from interface javax.jms.Queue
getQueueName, toString
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

ActiveMQTemporaryQueue

public ActiveMQTemporaryQueue()
Default constructor for an ActiveMQTemporaryQueue Destination


ActiveMQTemporaryQueue

public ActiveMQTemporaryQueue(java.lang.String name)
Construct a named ActiveMQTemporaryQueue Destination

Method Detail

getDestinationType

public int getDestinationType()
Overrides:
getDestinationType in class ActiveMQQueue

isTemporary

public boolean isTemporary()
Returns true if a temporary Destination

Overrides:
isTemporary in class ActiveMQDestination

isTopic

public boolean isTopic()
Returns true if a Topic Destination

Overrides:
isTopic in class ActiveMQQueue

isQueue

public boolean isQueue()
Returns true if a Queue Destination

Overrides:
isQueue in class ActiveMQQueue