Package io.atleon.rabbitmq
Class ExchangeDeclaration
- java.lang.Object
-
- io.atleon.rabbitmq.ExchangeDeclaration
-
public final class ExchangeDeclaration extends Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ExchangeDeclarationarguments(Map<String,Object> arguments)ExchangeDeclarationautoDelete(boolean autoDelete)static ExchangeDeclarationdirect(String name)ExchangeDeclarationdurable(boolean durable)static ExchangeDeclarationfanout(String name)Map<String,Object>getArguments()StringgetName()com.rabbitmq.client.BuiltinExchangeTypegetType()static ExchangeDeclarationheaders(String name)booleanisAutoDelete()booleanisDurable()static ExchangeDeclarationtopic(String name)
-
-
-
Method Detail
-
direct
public static ExchangeDeclaration direct(String name)
-
topic
public static ExchangeDeclaration topic(String name)
-
fanout
public static ExchangeDeclaration fanout(String name)
-
headers
public static ExchangeDeclaration headers(String name)
-
durable
public ExchangeDeclaration durable(boolean durable)
-
autoDelete
public ExchangeDeclaration autoDelete(boolean autoDelete)
-
arguments
public ExchangeDeclaration arguments(Map<String,Object> arguments)
-
getName
public String getName()
-
getType
public com.rabbitmq.client.BuiltinExchangeType getType()
-
isDurable
public boolean isDurable()
-
isAutoDelete
public boolean isAutoDelete()
-
-