@ConfigurationProperties(prefix="axon.amqp") public class AMQPProperties extends Object
Modifier and Type | Class and Description |
---|---|
static class |
AMQPProperties.TransactionMode |
Constructor and Description |
---|
AMQPProperties() |
Modifier and Type | Method and Description |
---|---|
String |
getExchange()
Returns the name of the exchange to forward Event messages to.
|
AMQPProperties.TransactionMode |
getTransactionMode()
Indicates whether and how batches of events should be handled transactionally.
|
boolean |
isDurableMessages()
Indicates whether messages should be durable.
|
void |
setDurableMessages(boolean durableMessages)
Sets whether messages should have the "durable" flag when sent to the message broker.
|
void |
setExchange(String exchange)
Sets the name of the exchange to forward Event Messages to.
|
void |
setTransactionMode(AMQPProperties.TransactionMode transactionMode)
Sets whether and how batches of events should be sent to the server transactionally.
|
public String getExchange()
public void setExchange(String exchange)
exchange
- the name of the exchange to forward Event Messages to.public AMQPProperties.TransactionMode getTransactionMode()
AMQPProperties.TransactionMode
.public void setTransactionMode(AMQPProperties.TransactionMode transactionMode)
transactionMode
- The AMQPProperties.TransactionMode
to use.public boolean isDurableMessages()
public void setDurableMessages(boolean durableMessages)
durableMessages
- whether messages should have the "durable" flag when sent to the message broker.Copyright © 2010–2018. All rights reserved.