public class ActiveMQDestination extends Object implements Destination, Serializable, Referenceable
Modifier and Type | Field and Description |
---|---|
static String |
JMS_QUEUE_ADDRESS_PREFIX |
static String |
JMS_TEMP_QUEUE_ADDRESS_PREFIX |
static String |
JMS_TEMP_TOPIC_ADDRESS_PREFIX |
static String |
JMS_TOPIC_ADDRESS_PREFIX |
protected String |
name
The JMS name
|
static String |
QUEUE_QUALIFIED_PREFIX |
static byte |
QUEUE_TYPE |
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 |
Modifier | Constructor and Description |
---|---|
protected |
ActiveMQDestination(String address,
String name,
boolean temporary,
boolean queue,
ActiveMQSession session) |
public static final String JMS_QUEUE_ADDRESS_PREFIX
public static final String JMS_TEMP_QUEUE_ADDRESS_PREFIX
public static final String JMS_TOPIC_ADDRESS_PREFIX
public static final String JMS_TEMP_TOPIC_ADDRESS_PREFIX
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 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
protected final String name
protected ActiveMQDestination(String address, String name, boolean temporary, boolean queue, ActiveMQSession session)
public static ActiveMQDestination createDestination(String name, byte defaultType)
public static Destination fromAddress(String address)
public static String createQueueNameForDurableSubscription(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 name)
public static ActiveMQTopic createTopic(String name)
public static ActiveMQTemporaryQueue createTemporaryQueue(String name, ActiveMQSession session)
public static ActiveMQTemporaryQueue createTemporaryQueue(String name)
public static ActiveMQTemporaryQueue createTemporaryQueue(ActiveMQSession session)
public static ActiveMQTemporaryTopic createTemporaryTopic(ActiveMQSession session)
public static ActiveMQTemporaryTopic createTemporaryTopic(String name, ActiveMQSession session)
public static ActiveMQTemporaryTopic createTemporaryTopic(String name)
public Reference getReference() throws NamingException
getReference
in interface Referenceable
NamingException
public void delete() throws JMSException
JMSException
public boolean isQueue()
public String getAddress()
public SimpleString getSimpleAddress()
public String getName()
public boolean isTemporary()
Copyright © 2017 JBoss by Red Hat. All rights reserved.