Skip to main content

RabbitMQ LAM Reference

This is a reference for the RabbitMQ LAM and UI integration. The RabbitMQ LAM configuration file is located at $MOOGSOFT_HOME/config/rabbitmq_lam.conf.

The following properties are unique to the RabbitMQ LAM and UI integration.

See the LAM and Integration Reference for a full description of all common properties used to configure LAMs and UI integrations.

See the RabbitMQ documentation for details on RabbitMQ components.

message_format

Format to receive messages in. Choose from either JSON or internal events.

Type

String

Required

Yes

Default

json

Valid Values

json, moog.

virtual_host

Hostname of a RabbitMQ virtual host.

Type

String

Required

Yes

Default

N/A

Direct Queue

Configure a direct queue in RabbitMQ if the client is publishing messages to a specific queue name. The parameters you configure here must match your queue information precisely. Pay special attention if you are using an existing queue.

direct_queue_name

Name of the direct queue in RabbitMQ.

Type

String

Required

Yes, if not using topic_queue_name.

Default

RabbitMQ_LAM_Queue

direct_queue_durable

Determines whether the queue persists if the RabbitMQ server restarts.

Type

Boolean

Required

Yes, if using direct_queue_name. Do not set if direct_queue_exclusive = true.

Default

false

direct_queue_autodelete

Determines whether RabbitMQ deletes the queue when the LAM stops running.

Type

Boolean

Required

Yes, if using direct_queue_name.

Default

false

direct_queue_exclusive

Determines whether the queue only uses this LAM's connection and is deleted when the connection closes.

Type

Boolean

Required

Yes, if using direct_queue_name. Do not set if direct_queue_durable = true.

Default

false

Topic Queue

Configure a topic-based queue in RabbitMQ when the client is publishing messages using topics. The topic exchange must exist in RabbitMQ before you start the LAM.

topic_queue_name

Name of the topic queue in RabbitMQ.

Type

String

Required

Yes, if not using direct_queue_name.

Default

RabbitMQ_LAM_Topic_Queue

topics

Names of the topics for the topic queue.

Type

Array

Required

Yes, if using topic_queue_name.

Default

["RabbitMQ_LAM_Topic1", "RabbitMQ_LAM_Topic2"],

topic_exchange

Name of the topic exchange in RabbitMQ. This must exist before you start the LAM.

Type

String

Required

Yes, if using topic_queue_name.

Default

RabbitMQ_LAM_Topic_Exchange

topic_queue_durable

Determines whether the queue persists if the RabbitMQ server restarts.

Type

Boolean

Required

Yes, if using topic_queue_name. Do not set if topic_queue_exclusive = true.

Default

false

topic_queue_autodelete

Determines whether RabbitMQ deletes the queue when the LAM stops running.

Type

Boolean

Required

Yes, if using topic_queue_name.

Default

false

topic_queue_exclusive

Determines whether the queue only uses this LAM's connection and is deleted when the connection closes.

Type

Boolean

Required

Yes, if using direct_queue_name. Do not set if topic_queue_durable = true.

Default

false