org.apache.qpid.server.exchange
Interface Exchange
- All Known Implementing Classes:
- AbstractExchange, DestNameExchange, DestWildExchange, HeadersExchange
public interface Exchange
getName
java.lang.String getName()
initialise
void initialise(java.lang.String name,
boolean durable,
int ticket,
boolean autoDelete)
throws org.apache.qpid.AMQException
- Throws:
org.apache.qpid.AMQException
isDurable
boolean isDurable()
isAutoDelete
boolean isAutoDelete()
- Returns:
- true if the exchange will be deleted after all queues have been detached
getTicket
int getTicket()
close
void close()
throws org.apache.qpid.AMQException
- Throws:
org.apache.qpid.AMQException
registerQueue
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
void deregisterQueue(java.lang.String routingKey,
AMQQueue queue)
throws org.apache.qpid.AMQException
- Throws:
org.apache.qpid.AMQException
route
void route(AMQMessage message)
throws org.apache.qpid.AMQException
- Throws:
org.apache.qpid.AMQException