org.apache.qpid.client
Class AMQAnyDestination
java.lang.Object
org.apache.qpid.client.AMQDestination
org.apache.qpid.client.AMQAnyDestination
- All Implemented Interfaces:
- Destination, Queue, Topic, Referenceable
public class AMQAnyDestination
- extends AMQDestination
- implements Queue, Topic
In order to support JMS 1.0 the Qpid implementation maps the
direct exchange to JMS Queue and topic exchange to JMS Topic.
The JMS 1.1 spec provides a javax.Destination as an abstraction
to represent any type of destination.
The abstract class AMQDestination has most of the functionality
to support any destination defined in AMQP 0-10 spec.
Fields inherited from class org.apache.qpid.client.AMQDestination |
_address, _addressType, _addrHelper, _assert, _create, _delete, _destSyntax, _exchangeClass, _exchangeName, _isAutoDelete, _isDurable, _isExclusive, _link, _name, _sourceNode, _subject, _targetLink, _targetNode, defaultDestSyntax, QUEUE_TYPE, TOPIC_TYPE, UNKNOWN_TYPE |
Constructor Summary |
AMQAnyDestination(org.apache.qpid.messaging.Address addr)
|
AMQAnyDestination(org.apache.qpid.framing.AMQShortString exchangeName,
org.apache.qpid.framing.AMQShortString exchangeClass,
org.apache.qpid.framing.AMQShortString routingKey,
boolean isExclusive,
boolean isAutoDelete,
org.apache.qpid.framing.AMQShortString queueName,
boolean isDurable,
org.apache.qpid.framing.AMQShortString[] bindingKeys)
|
AMQAnyDestination(org.apache.qpid.url.BindingURL binding)
|
AMQAnyDestination(String str)
|
Methods inherited from class org.apache.qpid.client.AMQDestination |
copyDestination, createDestination, createDestination, createDestination, equals, getAddress, getAddressName, getAddressType, getAMQQueueName, getAssert, getBindingKeys, getCreate, getDefaultDestSyntax, getDelete, getDestSyntax, getDestType, getEncodedName, getExchangeClass, getExchangeName, getInfoFromBindingURL, getLink, getQueueName, getReference, getRoutingKey, getSourceNode, getSubject, getTargetNode, hashCode, isAddressResolved, isAutoDelete, isBrowseOnly, isCheckedForQueueBinding, isDurable, isExchangeExistsChecked, isExclusive, isQueue, isTopic, rebuildTargetAndSourceNodes, setAddress, setAddressName, setAddressResolved, setAddressType, setAssert, setAutoDelete, setBrowseOnly, setCheckedForQueueBinding, setCreate, setDelete, setDestSyntax, setDurable, setExchangeClass, setExchangeExistsChecked, setExchangeName, setLink, setQueueName, setRoutingKey, setSourceNode, setSubject, setTargetNode, stripSyntaxPrefix, toByteEncoding, toString, toURL |
AMQAnyDestination
public AMQAnyDestination(org.apache.qpid.url.BindingURL binding)
AMQAnyDestination
public AMQAnyDestination(String str)
throws URISyntaxException
- Throws:
URISyntaxException
AMQAnyDestination
public AMQAnyDestination(org.apache.qpid.messaging.Address addr)
throws Exception
- Throws:
Exception
AMQAnyDestination
public AMQAnyDestination(org.apache.qpid.framing.AMQShortString exchangeName,
org.apache.qpid.framing.AMQShortString exchangeClass,
org.apache.qpid.framing.AMQShortString routingKey,
boolean isExclusive,
boolean isAutoDelete,
org.apache.qpid.framing.AMQShortString queueName,
boolean isDurable,
org.apache.qpid.framing.AMQShortString[] bindingKeys)
isNameRequired
public boolean isNameRequired()
- Specified by:
isNameRequired
in class AMQDestination
getTopicName
public String getTopicName()
throws JMSException
- Specified by:
getTopicName
in interface Topic
- Throws:
JMSException
Licensed to the Apache Software Foundation