public class ActiveMQDestination extends JNDIStorable implements javax.jms.Destination, Serializable
Modifier and Type | Class and Description |
---|---|
static class |
ActiveMQDestination.TYPE |
Modifier and Type | Field and Description |
---|---|
static String |
QUEUE_QUALIFIED_PREFIX |
static String |
TEMP_QUEUE_QUALIFED_PREFIX |
static String |
TEMP_TOPIC_QUALIFED_PREFIX |
static String |
TOPIC_QUALIFIED_PREFIX |
Modifier | Constructor and Description |
---|---|
protected |
ActiveMQDestination(SimpleString address,
ActiveMQDestination.TYPE type,
ActiveMQSession session) |
protected |
ActiveMQDestination(SimpleString address,
String name,
ActiveMQDestination.TYPE type,
ActiveMQSession session)
Deprecated.
|
protected |
ActiveMQDestination(String address,
ActiveMQDestination.TYPE type,
ActiveMQSession session) |
protected |
ActiveMQDestination(String address,
String name,
ActiveMQDestination.TYPE type,
ActiveMQSession session)
Deprecated.
|
getReference, readObject, writeObject
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
protected ActiveMQDestination(String address, ActiveMQDestination.TYPE type, ActiveMQSession session)
protected ActiveMQDestination(SimpleString address, ActiveMQDestination.TYPE type, ActiveMQSession session)
@Deprecated protected ActiveMQDestination(String address, String name, ActiveMQDestination.TYPE type, ActiveMQSession session)
@Deprecated protected ActiveMQDestination(SimpleString address, String name, ActiveMQDestination.TYPE type, ActiveMQSession session)
public static ActiveMQDestination createDestination(String name, ActiveMQDestination.TYPE defaultType)
public static javax.jms.Destination fromPrefixedName(String name)
public static SimpleString createQueueNameForSubscription(boolean isDurable, String clientID, String subscriptionName)
public static String createQueueNameForSharedSubscription(boolean isDurable, String clientID, String subscriptionName)
public static Pair<String,String> decomposeQueueNameForDurableSubscription(String queueName)
public static SimpleString createQueueAddressFromName(String name)
public static SimpleString createTopicAddressFromName(String name)
public static ActiveMQQueue createQueue(String address)
public static ActiveMQQueue createQueue(SimpleString address)
public static ActiveMQQueue createQueue(String address, String name)
public static ActiveMQTopic createTopic(String address)
public static ActiveMQTopic createTopic(SimpleString address)
public static ActiveMQTopic createTopic(String address, String name)
public static ActiveMQTemporaryQueue createTemporaryQueue(String address, ActiveMQSession session)
public static ActiveMQTemporaryQueue createTemporaryQueue(String address)
public static ActiveMQTemporaryQueue createTemporaryQueue(ActiveMQSession session)
public static ActiveMQTemporaryTopic createTemporaryTopic(ActiveMQSession session)
public static ActiveMQTemporaryTopic createTemporaryTopic(String address, ActiveMQSession session)
public static ActiveMQTemporaryTopic createTemporaryTopic(String address)
public void setAddress(String address)
public void setSimpleAddress(SimpleString address)
public void delete() throws javax.jms.JMSException
javax.jms.JMSException
public boolean isQueue()
public String getAddress()
public SimpleString getSimpleAddress()
public QueueAttributes getQueueAttributes()
public String getName()
public boolean isTemporary()
public ActiveMQDestination.TYPE getType()
protected void buildFromProperties(Properties props)
JNDIStorable
buildFromProperties
in class JNDIStorable
props
- The properties to use when building the new isntance.protected void populateProperties(Properties props)
JNDIStorable
populateProperties
in class JNDIStorable
props
- The properties to use when initializing the new instance.Copyright © 2018 The Apache Software Foundation. All rights reserved.