org.apache.qpid
Class ToyExchange
java.lang.Object
org.apache.qpid.ToyExchange
public class ToyExchange
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DIRECT
static final String DIRECT
- See Also:
- Constant Field Values
TOPIC
static final String TOPIC
- See Also:
- Constant Field Values
ToyExchange
public ToyExchange()
createQueue
public void createQueue(String name)
getQueue
public LinkedBlockingQueue<MessageTransfer> getQueue(String name)
bindQueue
public void bindQueue(String type,
String binding,
String queueName)
route
public boolean route(String dest,
String routingKey,
MessageTransfer msg)
Licensed to the Apache Software Foundation