public abstract class ActiveMQDestination extends JNDIBaseStorable implements DataStructure, Destination, Externalizable, Comparable<Object>
Modifier and Type | Field and Description |
---|---|
static char |
COMPOSITE_SEPERATOR |
protected ActiveMQDestination[] |
compositeDestinations |
protected String[] |
destinationPaths |
protected int |
hashValue |
static String |
IS_DLQ |
protected boolean |
isPattern |
protected Map<String,String> |
options |
static String |
PATH_SEPERATOR |
protected String |
physicalName |
static String |
QUEUE_QUALIFIED_PREFIX |
static byte |
QUEUE_TYPE |
static String |
TEMP_DESTINATION_NAME_PREFIX |
static byte |
TEMP_MASK |
static String |
TEMP_QUEUE_QUALIFED_PREFIX |
static byte |
TEMP_QUEUE_TYPE |
static String |
TEMP_TOPIC_QUALIFED_PREFIX |
static byte |
TEMP_TOPIC_TYPE |
static String |
TOPIC_QUALIFIED_PREFIX |
static byte |
TOPIC_TYPE |
protected static UnresolvedDestinationTransformer |
unresolvableDestinationTransformer |
Modifier | Constructor and Description |
---|---|
|
ActiveMQDestination() |
|
ActiveMQDestination(ActiveMQDestination[] composites) |
protected |
ActiveMQDestination(String name) |
getProperties, getReference, setProperties
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getDataStructureType
public static final String PATH_SEPERATOR
public static final char COMPOSITE_SEPERATOR
public static final byte QUEUE_TYPE
public static final byte TOPIC_TYPE
public static final byte TEMP_MASK
public static final byte TEMP_TOPIC_TYPE
public static final byte TEMP_QUEUE_TYPE
public static final String QUEUE_QUALIFIED_PREFIX
public static final String TOPIC_QUALIFIED_PREFIX
public static final String TEMP_QUEUE_QUALIFED_PREFIX
public static final String TEMP_TOPIC_QUALIFED_PREFIX
public static final String IS_DLQ
public static final String TEMP_DESTINATION_NAME_PREFIX
protected String physicalName
protected transient ActiveMQDestination[] compositeDestinations
protected transient String[] destinationPaths
protected transient boolean isPattern
protected transient int hashValue
protected static UnresolvedDestinationTransformer unresolvableDestinationTransformer
public ActiveMQDestination()
protected ActiveMQDestination(String name)
public ActiveMQDestination(ActiveMQDestination[] composites)
public static ActiveMQDestination createDestination(String name, byte defaultType)
public static ActiveMQDestination transform(Destination dest) throws JMSException
JMSException
public static int compare(ActiveMQDestination destination, ActiveMQDestination destination2)
public int compareTo(Object that)
compareTo
in interface Comparable<Object>
public boolean isComposite()
public ActiveMQDestination[] getCompositeDestinations()
public void setCompositeDestinations(ActiveMQDestination[] destinations)
public String getQualifiedName()
protected abstract String getQualifiedPrefix()
public String getPhysicalName()
public void setPhysicalName(String physicalName)
public ActiveMQDestination createDestination(String name)
public String[] getDestinationPaths()
public abstract byte getDestinationType()
public boolean isQueue()
public boolean isTopic()
public boolean isTemporary()
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
writeExternal
in class JNDIBaseStorable
IOException
Externalizable.writeExternal(java.io.ObjectOutput)
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
readExternal
in class JNDIBaseStorable
IOException
ClassNotFoundException
Externalizable.readExternal(java.io.ObjectInput)
public String getDestinationTypeAsString()
public Map<String,String> getOptions()
public boolean isMarshallAware()
isMarshallAware
in interface DataStructure
public void buildFromProperties(Properties properties)
JNDIBaseStorable
buildFromProperties
in class JNDIBaseStorable
public void populateProperties(Properties props)
JNDIBaseStorable
populateProperties
in class JNDIBaseStorable
public boolean isPattern()
public boolean isDLQ()
public void setDLQ()
public static UnresolvedDestinationTransformer getUnresolvableDestinationTransformer()
public static void setUnresolvableDestinationTransformer(UnresolvedDestinationTransformer unresolvableDestinationTransformer)
Copyright © 2005–2016 The Apache Software Foundation. All rights reserved.