Axinom Mosaic Libraries
    Preparing search index...

    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.

    interface MessagingSettings {
        action: "event" | "command";
        aggregateType: string;
        messageType: string;
        queue: string;
        routingKey: string;
        serviceId?: string;
    }

    Implemented by

    Index

    Properties

    action: "event" | "command"

    If the message is a command or an event

    aggregateType: string

    Aggregated root type of the message

    messageType: string

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

    queue: string

    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).