An interface that represents a messaging settings object. The RascalConfigBuilder uses those settings to create a Rascal configuration that is used by a message broker.

Hierarchy

Properties

action: "command"

If the message is a command or an event

aggregateType: "service"

Aggregated root type of the message

messageType: "OutboxInboxHealthCheckCommand"

Unique key that is used by rascal. For convenience it usually resembles the name of the message.

queue: "inbox"

Name of the queue which will receive messages of defined message type. RabbitMQ queue will be named using serviceId value and this value, e.g. service-id:queue

routingKey: string

Routing key that is used to redirect messages from exchanges to queues

serviceId?: string

Optional service id value to be used during configuration. Represents destination service id, and not the origin one. If not specified, origin service id will be used (taken from MessagingConfig object).

Generated using TypeDoc