ExchangeConfig
Path
com.roma.apic.livedata.config.v1.ExchangeConfig
Description
This class is used with RabbitMqConfig and RabbitMqProducer to configure an exchange.
Constructor Details
public ExchangeConfig(String exchange, String type, boolean durable, boolean autoDelete, boolean internal, Map<String, Object> arguments)
Constructs an exchange configuration.
Parameters:
- exchange indicates the exchange name.
- type indicates the exchange type.
- durable indicates whether persistency is supported. The value true indicates persistency is supported, and the value false indicates that persistency is not supported.
- autoDelete indicates whether automatic deletion is supported. The value true indicates that automatic deletion is supported. The prerequisite for automatic deletion is that at least one queue or exchange is bound to the exchange to be deleted. After automatic deletion, all queues or exchanges bound to the deleted exchange are unbound.
- internal indicates whether the exchange is a built-in exchange. The value true indicates that the exchange is a built-in exchange. The client cannot directly send messages to the exchange, but sending messages to another exchange first, which will forward the messages to the destination exchange.
- arguments indicates other attributes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot