Package org.springframework.amqp.core
Class DirectExchange
java.lang.Object
org.springframework.amqp.core.AbstractDeclarable
org.springframework.amqp.core.AbstractExchange
org.springframework.amqp.core.DirectExchange
- All Implemented Interfaces:
Declarable
,Exchange
Simple container collecting information to describe a direct exchange.
Used in conjunction with administrative operations.
- Author:
- Mark Pollack, Dave Syer
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorDescriptionDirectExchange
(String name) DirectExchange
(String name, boolean durable, boolean autoDelete) DirectExchange
(String name, boolean durable, boolean autoDelete, Map<String, Object> arguments) -
Method Summary
Methods inherited from class org.springframework.amqp.core.AbstractExchange
getName, isAutoDelete, isDelayed, isDurable, isInternal, setDelayed, setInternal, toString
Methods inherited from class org.springframework.amqp.core.AbstractDeclarable
addArgument, getArguments, getDeclaringAdmins, isIgnoreDeclarationExceptions, removeArgument, setAdminsThatShouldDeclare, setIgnoreDeclarationExceptions, setShouldDeclare, shouldDeclare
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.springframework.amqp.core.Declarable
addArgument, getDeclaringAdmins, isIgnoreDeclarationExceptions, removeArgument, setAdminsThatShouldDeclare, shouldDeclare
Methods inherited from interface org.springframework.amqp.core.Exchange
getArguments
-
Field Details
-
DEFAULT
The default exchange.
-
-
Constructor Details
-
DirectExchange
-
DirectExchange
-
DirectExchange
-
-
Method Details
-
getType
Description copied from interface:Exchange
The type of the exchange. SeeExchangeTypes
for some well-known examples.- Specified by:
getType
in interfaceExchange
- Specified by:
getType
in classAbstractExchange
- Returns:
- the type of the exchange.
-