RabbitMQ configuration

Complete configuration items, default values, example values, and enumeration descriptions for Lodsve Boot RabbitMQ configuration.

The Map key for queues is the queue name; the Broker connection uses spring.rabbitmq.*.

Configuration itemsTypeDefault valueExample valueDescription
lodsve.rabbit.queues.<queue>.exchange-typeExchangeTypeDIRECTTOPICSwitch type.
lodsve.rabbit.queues.<queue>.exchange-nameStringNoneuser.eventsSwitch name.
lodsve.rabbit.queues.<queue>.routing-keyStringNoneuser.createdDIRECT/TOPIC key binding; FANOUT not used.
lodsve.rabbit.queues.<queue>.durablebooleantruetrueWhether the queue is persistent.
lodsve.rabbit.queues.<queue>.exclusivebooleanfalsefalseWhether it is exclusive to the current connection.
lodsve.rabbit.queues.<queue>.auto-deletebooleanfalsefalseWhether to delete automatically after there are no consumers.

ExchangeType

valuemeaningImplementation status
DIRECTExactly matches the Routing Key.support
TOPICWildcard matching Routing Key.support
FANOUTBroadcast to the binding queue.support
HEADERSMatch by message header.The enumeration exists, but is explicitly not supported by the current implementation
Architecture diagram