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

Quick Search    Search Deep

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

java.lang.Object
  extended byorg.activemq.jndi.JNDIBaseStorable
      extended byorg.activemq.message.ActiveMQDestination
          extended byorg.activemq.message.ActiveMQTopic
              extended byorg.activemq.message.ActiveMQTemporaryTopic
All Implemented Interfaces:
java.lang.Comparable, javax.jms.Destination, org.activemq.jndi.JNDIStorableInterface, javax.naming.Referenceable, java.io.Serializable, javax.jms.TemporaryTopic, javax.jms.Topic

public class ActiveMQTemporaryTopic
extends ActiveMQTopic
implements javax.jms.TemporaryTopic

A TemporaryTopic object is a unique Topic object created for the duration of a Connection. It is a system-defined topic that can be consumed only by the Connection that created it.

A TemporaryTopic object can be created either at the Session or TopicSession level. Creating it at the Session level allows the TemporaryTopic to participate in the same transaction with objects from the PTP domain. If a TemporaryTopic is created at the TopicSession, it will only be able participate in transactions with objects from the Pub/Sub 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
ActiveMQTemporaryTopic()
          Default constructor for an ActiveMQTemporaryTopic Destination
ActiveMQTemporaryTopic(java.lang.String name)
          Construct a named ActiveMQTemporaryTopic Destination
 
Method Summary
 int getDestinationType()
           
 boolean isTemporary()
          Returns true if a temporary Destination
 
Methods inherited from class org.activemq.message.ActiveMQTopic
createDestination, createDestinationStats, getTopicName
 
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, isQueue, isTempDestinationAdvisory, isTopic, 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.TemporaryTopic
delete
 
Methods inherited from interface javax.jms.Topic
getTopicName, toString
 

Field Detail

serialVersionUID

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

ActiveMQTemporaryTopic

public ActiveMQTemporaryTopic()
Default constructor for an ActiveMQTemporaryTopic Destination


ActiveMQTemporaryTopic

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

Method Detail

getDestinationType

public int getDestinationType()
Overrides:
getDestinationType in class ActiveMQTopic

isTemporary

public boolean isTemporary()
Returns true if a temporary Destination

Overrides:
isTemporary in class ActiveMQDestination