Package org.apache.activemq.command
Class ActiveMQTempDestination
- java.lang.Object
-
- org.apache.activemq.jndi.JNDIBaseStorable
-
- org.apache.activemq.command.ActiveMQDestination
-
- org.apache.activemq.command.ActiveMQTempDestination
-
- All Implemented Interfaces:
Externalizable
,Serializable
,Comparable<Object>
,Destination
,Referenceable
,DataStructure
,JNDIStorableInterface
- Direct Known Subclasses:
ActiveMQTempQueue
,ActiveMQTempTopic
public abstract class ActiveMQTempDestination extends ActiveMQDestination
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected ActiveMQConnection
connection
protected String
connectionId
protected int
sequenceId
-
Fields inherited from class org.apache.activemq.command.ActiveMQDestination
COMPOSITE_SEPERATOR, compositeDestinations, destinationPaths, hashValue, IS_DLQ, isPattern, options, PATH_SEPERATOR, physicalName, QUEUE_QUALIFIED_PREFIX, QUEUE_TYPE, TEMP_DESTINATION_NAME_PREFIX, TEMP_MASK, TEMP_QUEUE_QUALIFED_PREFIX, TEMP_QUEUE_TYPE, TEMP_TOPIC_QUALIFED_PREFIX, TEMP_TOPIC_TYPE, TOPIC_QUALIFIED_PREFIX, TOPIC_TYPE, unresolvableDestinationTransformer
-
-
Constructor Summary
Constructors Constructor Description ActiveMQTempDestination()
ActiveMQTempDestination(String name)
ActiveMQTempDestination(String connectionId, long sequenceId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
delete()
ActiveMQConnection
getConnection()
String
getConnectionId()
int
getSequenceId()
boolean
isTemporary()
void
setConnection(ActiveMQConnection connection)
void
setConnectionId(String connectionId)
void
setPhysicalName(String physicalName)
-
Methods inherited from class org.apache.activemq.command.ActiveMQDestination
buildFromProperties, compare, compareTo, createDestination, createDestination, equals, getCompositeDestinations, getDestinationPaths, getDestinationType, getDestinationTypeAsString, getOptions, getPhysicalName, getQualifiedName, getQualifiedPrefix, getUnresolvableDestinationTransformer, hashCode, isComposite, isDLQ, isMarshallAware, isPattern, isQueue, isTopic, populateProperties, readExternal, setCompositeDestinations, setDLQ, setUnresolvableDestinationTransformer, toString, transform, writeExternal
-
Methods inherited from class org.apache.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 org.apache.activemq.command.DataStructure
getDataStructureType
-
-
-
-
Field Detail
-
connection
protected transient ActiveMQConnection connection
-
connectionId
protected transient String connectionId
-
sequenceId
protected transient int sequenceId
-
-
Method Detail
-
isTemporary
public boolean isTemporary()
- Overrides:
isTemporary
in classActiveMQDestination
-
delete
public void delete() throws JMSException
- Throws:
JMSException
-
getConnection
public ActiveMQConnection getConnection()
-
setConnection
public void setConnection(ActiveMQConnection connection)
-
setPhysicalName
public void setPhysicalName(String physicalName)
- Overrides:
setPhysicalName
in classActiveMQDestination
-
getConnectionId
public String getConnectionId()
-
setConnectionId
public void setConnectionId(String connectionId)
-
getSequenceId
public int getSequenceId()
-
-