Package org.springframework.amqp.core
Class CustomExchange
java.lang.Object
org.springframework.amqp.core.AbstractDeclarable
org.springframework.amqp.core.AbstractExchange
org.springframework.amqp.core.CustomExchange
- All Implemented Interfaces:
Declarable,Exchange
Simple container collecting information to describe a custom exchange. Custom exchange types are allowed by the AMQP
specification, and their names should start with "x-" (but this is not enforced here). Used in conjunction with
administrative operations.
- Author:
- Dave Syer
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCustomExchange(String name, String type) CustomExchange(String name, String type, boolean durable, boolean autoDelete) CustomExchange(String name, String type, 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, toStringMethods inherited from class org.springframework.amqp.core.AbstractDeclarable
addArgument, getArguments, getDeclaringAdmins, isIgnoreDeclarationExceptions, removeArgument, setAdminsThatShouldDeclare, setIgnoreDeclarationExceptions, setShouldDeclare, shouldDeclareMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.springframework.amqp.core.Declarable
addArgument, getDeclaringAdmins, isIgnoreDeclarationExceptions, removeArgument, setAdminsThatShouldDeclare, shouldDeclareMethods inherited from interface org.springframework.amqp.core.Exchange
getArguments
-
Constructor Details
-
CustomExchange
-
CustomExchange
-
CustomExchange
-
-
Method Details
-
getType
Description copied from interface:ExchangeThe type of the exchange. SeeExchangeTypesfor some well-known examples.- Specified by:
getTypein interfaceExchange- Specified by:
getTypein classAbstractExchange- Returns:
- the type of the exchange.
-