org.apache.qpid
Class ToyExchange

java.lang.Object
  extended by org.apache.qpid.ToyExchange

public class ToyExchange
extends Object


Field Summary
(package private) static String DIRECT
           
(package private) static String TOPIC
           
 
Constructor Summary
ToyExchange()
           
 
Method Summary
 void bindQueue(String type, String binding, String queueName)
           
 void createQueue(String name)
           
 LinkedBlockingQueue<MessageTransfer> getQueue(String name)
           
 boolean route(String dest, String routingKey, MessageTransfer msg)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DIRECT

static final String DIRECT
See Also:
Constant Field Values

TOPIC

static final String TOPIC
See Also:
Constant Field Values
Constructor Detail

ToyExchange

public ToyExchange()
Method Detail

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