Spring AMQP

org.springframework.amqp.core
Class DirectExchange

java.lang.Object
  extended by org.springframework.amqp.core.AbstractExchange
      extended by org.springframework.amqp.core.DirectExchange
All Implemented Interfaces:
Exchange

public class DirectExchange
extends AbstractExchange

Simple container collecting information to describe a direct exchange. Used in conjunction with administrative operations.

Author:
Mark Pollack, Dave Syer
See Also:
AmqpAdmin

Field Summary
static DirectExchange DEFAULT
           
 
Constructor Summary
DirectExchange(String name)
           
DirectExchange(String name, boolean durable, boolean autoDelete)
           
DirectExchange(String name, boolean durable, boolean autoDelete, Map<String,Object> arguments)
           
 
Method Summary
 String getType()
          The type of the exchange.
 
Methods inherited from class org.springframework.amqp.core.AbstractExchange
getArguments, getName, isAutoDelete, isDurable, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DEFAULT

public static final DirectExchange DEFAULT
Constructor Detail

DirectExchange

public DirectExchange(String name)

DirectExchange

public DirectExchange(String name,
                      boolean durable,
                      boolean autoDelete)

DirectExchange

public DirectExchange(String name,
                      boolean durable,
                      boolean autoDelete,
                      Map<String,Object> arguments)
Method Detail

getType

public final String getType()
Description copied from interface: Exchange
The type of the exchange. See ExchangeTypes for some well-known examples.

Specified by:
getType in interface Exchange
Specified by:
getType in class AbstractExchange
Returns:
the type of the exchange

Spring AMQP

Copyright © 2011. All Rights Reserved.