org.apache.qpid.client
Class AMQHeadersExchange

java.lang.Object
  extended by org.apache.qpid.client.AMQDestination
      extended by org.apache.qpid.client.AMQHeadersExchange
All Implemented Interfaces:
javax.jms.Destination, javax.naming.Referenceable

public class AMQHeadersExchange
extends AMQDestination

A destination backed by a headers exchange


Field Summary
 
Fields inherited from class org.apache.qpid.client.AMQDestination
_destinationName, _exchangeClass, _exchangeName, _isAutoDelete, _isDurable, _isExclusive, _queueName
 
Constructor Summary
AMQHeadersExchange(org.apache.qpid.url.BindingURL binding)
           
AMQHeadersExchange(java.lang.String queueName)
           
 
Method Summary
 java.lang.String getEncodedName()
           
 java.lang.String getRoutingKey()
           
 boolean isNameRequired()
           
 
Methods inherited from class org.apache.qpid.client.AMQDestination
equals, getDestinationName, getExchangeClass, getExchangeName, getQueueName, getReference, hashCode, isAutoDelete, isDurable, isExclusive, isQueue, isTopic, setQueueName, toString, toURL
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AMQHeadersExchange

public AMQHeadersExchange(org.apache.qpid.url.BindingURL binding)

AMQHeadersExchange

public AMQHeadersExchange(java.lang.String queueName)
Method Detail

getEncodedName

public java.lang.String getEncodedName()
Specified by:
getEncodedName in class AMQDestination

getRoutingKey

public java.lang.String getRoutingKey()
Specified by:
getRoutingKey in class AMQDestination

isNameRequired

public boolean isNameRequired()
Specified by:
isNameRequired in class AMQDestination