public class HornetQDestination 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
|
Modifier | Constructor and Description |
---|---|
protected |
HornetQDestination(String address,
String name,
boolean temporary,
boolean queue,
HornetQSession 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
protected final String name
protected HornetQDestination(String address, String name, boolean temporary, boolean queue, HornetQSession session)
public static Destination fromAddress(String address)
public static String createQueueNameForDurableSubscription(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 HornetQQueue createQueue(String name)
public static HornetQTopic createTopic(String name)
public static HornetQTemporaryQueue createTemporaryQueue(String name, HornetQSession session)
public static HornetQTemporaryQueue createTemporaryQueue(String name)
public static HornetQTemporaryQueue createTemporaryQueue(HornetQSession session)
public static HornetQTemporaryTopic createTemporaryTopic(HornetQSession session)
public static HornetQTemporaryTopic createTemporaryTopic(String name, HornetQSession session)
public static HornetQTemporaryTopic 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 © 2012 JBoss by Red Hat. All Rights Reserved.