org.springframework.amqp.core
Class TopicExchange
java.lang.Object
org.springframework.amqp.core.AbstractDeclarable
org.springframework.amqp.core.AbstractExchange
org.springframework.amqp.core.TopicExchange
- All Implemented Interfaces:
- Declarable, Exchange
public class TopicExchange
- extends AbstractExchange
Simple container collecting information to describe a topic exchange.
Used in conjunction with administrative operations.
- See Also:
AmqpAdmin
|
Constructor Summary |
TopicExchange(java.lang.String name)
|
TopicExchange(java.lang.String name,
boolean durable,
boolean autoDelete)
|
TopicExchange(java.lang.String name,
boolean durable,
boolean autoDelete,
java.util.Map<java.lang.String,java.lang.Object> arguments)
|
|
Method Summary |
java.lang.String |
getType()
The type of the exchange. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
TopicExchange
public TopicExchange(java.lang.String name)
TopicExchange
public TopicExchange(java.lang.String name,
boolean durable,
boolean autoDelete)
TopicExchange
public TopicExchange(java.lang.String name,
boolean durable,
boolean autoDelete,
java.util.Map<java.lang.String,java.lang.Object> arguments)
getType
public final java.lang.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