org.apache.qpid.server.exchange
Class DestNameExchange

java.lang.Object
  extended by org.apache.qpid.server.exchange.AbstractExchange
      extended by org.apache.qpid.server.exchange.DestNameExchange
All Implemented Interfaces:
Exchange, Managable

public class DestNameExchange
extends AbstractExchange


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.qpid.server.exchange.AbstractExchange
AbstractExchange.ExchangeMBean
 
Field Summary
 
Fields inherited from class org.apache.qpid.server.exchange.AbstractExchange
_autoDelete, _durable, _exchangeMbean, _ticket
 
Constructor Summary
DestNameExchange()
           
 
Method Summary
protected  AbstractExchange.ExchangeMBean createMBean()
          Concrete exchanges must implement this method in order to create the managed representation.
 void deregisterQueue(java.lang.String routingKey, AMQQueue queue)
           
 void registerQueue(java.lang.String routingKey, AMQQueue queue, org.apache.qpid.framing.FieldTable args)
           
 void route(AMQMessage payload)
           
 
Methods inherited from class org.apache.qpid.server.exchange.AbstractExchange
close, getManagedObject, getName, getTicket, initialise, isAutoDelete, isDurable, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DestNameExchange

public DestNameExchange()
Method Detail

createMBean

protected AbstractExchange.ExchangeMBean createMBean()
                                              throws org.apache.qpid.AMQException
Description copied from class: AbstractExchange
Concrete exchanges must implement this method in order to create the managed representation. This is called during initialisation (template method pattern).

Specified by:
createMBean in class AbstractExchange
Returns:
the MBean
Throws:
org.apache.qpid.AMQException

registerQueue

public void registerQueue(java.lang.String routingKey,
                          AMQQueue queue,
                          org.apache.qpid.framing.FieldTable args)
                   throws org.apache.qpid.AMQException
Throws:
org.apache.qpid.AMQException

deregisterQueue

public void deregisterQueue(java.lang.String routingKey,
                            AMQQueue queue)
                     throws org.apache.qpid.AMQException
Throws:
org.apache.qpid.AMQException

route

public void route(AMQMessage payload)
           throws org.apache.qpid.AMQException
Throws:
org.apache.qpid.AMQException