Package org.springframework.amqp.core
Class ExchangeBuilder.ConsistentHashExchangeBuilder
java.lang.Object
org.springframework.amqp.core.AbstractBuilder
org.springframework.amqp.core.BaseExchangeBuilder<ExchangeBuilder.ConsistentHashExchangeBuilder>
org.springframework.amqp.core.ExchangeBuilder.ConsistentHashExchangeBuilder
- Enclosing class:
- ExchangeBuilder
public static final class ExchangeBuilder.ConsistentHashExchangeBuilder
extends BaseExchangeBuilder<ExchangeBuilder.ConsistentHashExchangeBuilder>
An
ExchangeBuilder
extension for the ConsistentHashExchange
.- Since:
- 3.2
-
Field Summary
Fields inherited from class org.springframework.amqp.core.BaseExchangeBuilder
autoDelete, durable, internal, name, type
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
hashHeader
(String headerName) hashProperty
(String propertyName) Methods inherited from class org.springframework.amqp.core.BaseExchangeBuilder
_this, admins, alternate, autoDelete, configureExchange, delayed, durable, ignoreDeclarationExceptions, internal, suppressDeclaration, withArgument, withArguments
Methods inherited from class org.springframework.amqp.core.AbstractBuilder
getArguments, getOrCreateArguments
-
Constructor Details
-
ConsistentHashExchangeBuilder
Construct an instance of the builder forConsistentHashExchange
.- Parameters:
name
- the exchange name- See Also:
-
-
Method Details
-
hashHeader
-
hashProperty
-
build
- Overrides:
build
in classBaseExchangeBuilder<ExchangeBuilder.ConsistentHashExchangeBuilder>
-