public class ExchangeParameters extends Object
ExchangeParameters.Builder for the parameters of AMQP exchanges as commonly used throughout VATPlanner
configuration Properties.
Configuration keys are expected to start with followed by an exchange-specific key part and ending
in , , ,
and . If any of the keys are left unconfigured, the configured ExchangeParameters.Builder defaults will be
applied instead.
| Modifier and Type | Class and Description |
|---|---|
static class |
ExchangeParameters.Builder
Builds
ExchangeParameters from Properties, falling back to configurable default values for
undefined parameters. |
| Modifier and Type | Method and Description |
|---|---|
static ExchangeParameters.Builder |
builder()
Returns a new
ExchangeParameters.Builder to construct ExchangeParameters. |
String |
getDefaultRoutingKey()
Returns the routing key that should be used to bind queues to the exchange unless implementation has specific
requirements to use different keys.
|
String |
getName()
Returns the name of the AMQP exchange.
|
String |
getType()
Returns what type the exchange should be when being declared.
|
boolean |
isDurable()
Indicates whether the exchange should be declared durable.
|
boolean |
shouldDeclare()
Indicates whether the exchange should be declared on AMQP.
|
String |
toString() |
public String getName()
public boolean shouldDeclare()
true if the exchange should be declared, false if not (check only)public String getDefaultRoutingKey()
public boolean isDurable()
true if the exchange should be durable, false if notpublic String getType()
public static ExchangeParameters.Builder builder()
ExchangeParameters.Builder to construct ExchangeParameters.ExchangeParameters.Builder instanceCopyright © 2025. All rights reserved.