Axinom Mosaic Libraries
    Preparing search index...

    Class PersonalizationServiceMessagingSettings

    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.

    Implements

    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: "ax-personalization-service" = 'ax-personalization-service'

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

    PersonalizationServiceDisable: PersonalizationServiceMessagingSettings = ...

    Defines the messaging settings for the command with message type "PersonalizationServiceDisable" and aggregate type "environment". The aggregate ID field must contain the value of the "environment ID" field.

    PersonalizationServiceDisableFailed: PersonalizationServiceMessagingSettings = ...

    Defines the messaging settings for the event with message type "PersonalizationServiceDisableFailed" and aggregate type "environment". The aggregate ID field contains the value of the "environment ID" field.

    PersonalizationServiceDisableFinished: PersonalizationServiceMessagingSettings = ...

    Defines the messaging settings for the event with message type "PersonalizationServiceDisableFinished" and aggregate type "environment". The aggregate ID field contains the value of the "environment ID" field.

    PersonalizationServiceEnable: PersonalizationServiceMessagingSettings = ...

    Defines the messaging settings for the command with message type "PersonalizationServiceEnable" and aggregate type "environment". The aggregate ID field must contain the value of the "environment ID" field.

    PersonalizationServiceEnableFailed: PersonalizationServiceMessagingSettings = ...

    Defines the messaging settings for the event with message type "PersonalizationServiceEnableFailed" and aggregate type "environment". The aggregate ID field contains the value of the "environment ID" field.

    PersonalizationServiceEnableFinished: PersonalizationServiceMessagingSettings = ...

    Defines the messaging settings for the event with message type "PersonalizationServiceEnableFinished" and aggregate type "environment". The aggregate ID field contains the value of the "environment ID" field.

    Methods

    • Returns string