Updated on 2022-02-21 GMT+08:00

QueueConfig

Path

com.roma.apic.livedata.config.v1.QueueConfig

Description

This class is used with RabbitMqConfig and RabbitMqProducer to configure a queue.

Constructor Details

public QueueConfig(String queueName, boolean durable, boolean exclusive, boolean autoDelete, Map<String, Object> arguments)

Constructs a queue configuration.

Parameters:

  • queueName indicates the queue name.
  • durable indicates whether persistency is supported. The value true indicates persistency is supported, and the value false indicates that persistency is not supported.
  • exclusive indicates whether a queue is exclusive. The value true indicates that a queue is exclusive, that is, a queue can be consumed by only one consumer.
  • autoDelete indicates whether automatic deletion is supported. The value true indicates that automatic deletion is supported.
  • arguments indicates other attributes.