|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.amqp.core.AbstractExchange
public abstract class AbstractExchange
Common properties that describe all exchange types.
Subclasses of this class are typically used with administrative operations that declare an exchange.
AmqpAdmin| Constructor Summary | |
|---|---|
AbstractExchange(java.lang.String name)
Construct a new Exchange for bean usage. |
|
AbstractExchange(java.lang.String name,
boolean durable,
boolean autoDelete)
Construct a new Exchange, given a name, durability flag, auto-delete flag. |
|
AbstractExchange(java.lang.String name,
boolean durable,
boolean autoDelete,
java.util.Map<java.lang.String,java.lang.Object> arguments)
Construct a new Exchange, given a name, durability flag, and auto-delete flag, and arguments. |
|
| Method Summary | |
|---|---|
java.util.Map<java.lang.String,java.lang.Object> |
getArguments()
Return the collection of arbitrary arguments to use when declaring an exchange. |
java.lang.String |
getName()
The name of the exchange. |
abstract java.lang.String |
getType()
The type of the exchange. |
boolean |
isAutoDelete()
True if the server should delete the exchange when it is no longer in use (if all bindings are deleted). |
boolean |
isDurable()
A durable exchange will survive a server restart |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractExchange(java.lang.String name)
name - the name of the exchange.
public AbstractExchange(java.lang.String name,
boolean durable,
boolean autoDelete)
name - the name of the exchange.durable - true if we are declaring a durable exchange (the exchange will survive a server restart)autoDelete - true if the server should delete the exchange when it is no longer in use
public AbstractExchange(java.lang.String name,
boolean durable,
boolean autoDelete,
java.util.Map<java.lang.String,java.lang.Object> arguments)
name - the name of the exchange.durable - true if we are declaring a durable exchange (the exchange will survive a server restart)autoDelete - true if the server should delete the exchange when it is no longer in usearguments - the arguments used to declare the exchange| Method Detail |
|---|
public abstract java.lang.String getType()
ExchangeExchangeTypes for some well-known examples.
getType in interface Exchangepublic java.lang.String getName()
Exchange
getName in interface Exchangepublic boolean isDurable()
Exchange
isDurable in interface Exchangepublic boolean isAutoDelete()
Exchange
isAutoDelete in interface Exchangepublic java.util.Map<java.lang.String,java.lang.Object> getArguments()
getArguments in interface Exchangepublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||