An interface that represents a messaging settings object for multitenant Managed services. Used to build Rascal config using RascalConfigBuilder to be used by a messaging broker.

Hierarchy

Constructors

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

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

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

DeleteLocalizationSourceEntity: LocalizationServiceMultiTenantMessagingSettings = ...

Defines the messaging settings for the command with message type "DeleteLocalizationSourceEntity" and aggregate type "localization-source-entity". The aggregate ID field must contain the value of the "entity ID" field.

DeleteLocalizationSourceEntityFailed: LocalizationServiceMultiTenantMessagingSettings = ...

Defines the messaging settings for the event with message type "DeleteLocalizationSourceEntityFailed" and aggregate type "localization-source-entity". The aggregate ID field contains the value of the "entity ID" field.

DeleteLocalizationSourceEntityFinished: LocalizationServiceMultiTenantMessagingSettings = ...

Defines the messaging settings for the event with message type "DeleteLocalizationSourceEntityFinished" and aggregate type "localization-source-entity". The aggregate ID field contains the value of the "entity ID" field.

EntityDefinitionDeclareFailed: LocalizationServiceMultiTenantMessagingSettings = ...

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

EntityDefinitionDeclareFinished: LocalizationServiceMultiTenantMessagingSettings = ...

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

EntityDefinitionDeleteFailed: LocalizationServiceMultiTenantMessagingSettings = ...

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

EntityDefinitionDeleteFinished: LocalizationServiceMultiTenantMessagingSettings = ...

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

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

Defines the messaging settings for the event with message type "LocalizeEntityFailed" and aggregate type "localization". The aggregate ID field contains the value of the "entity ID" field.

Defines the messaging settings for the event with message type "LocalizeEntityFinished" and aggregate type "localization". The aggregate ID field contains the value of the "entity ID" field.

UpsertLocalizationSourceEntity: LocalizationServiceMultiTenantMessagingSettings = ...

Defines the messaging settings for the command with message type "UpsertLocalizationSourceEntity" and aggregate type "localization-source-entity". The aggregate ID field must contain the value of the "entity ID" field.

UpsertLocalizationSourceEntityFailed: LocalizationServiceMultiTenantMessagingSettings = ...

Defines the messaging settings for the event with message type "UpsertLocalizationSourceEntityFailed" and aggregate type "localization-source-entity". The aggregate ID field contains the value of the "entity ID" field.

UpsertLocalizationSourceEntityFinished: LocalizationServiceMultiTenantMessagingSettings = ...

Defines the messaging settings for the event with message type "UpsertLocalizationSourceEntityFinished" and aggregate type "localization-source-entity". The aggregate ID field contains the value of the "entity ID" field.

Methods

  • Returns a tenant and environment scoped routing key which can be used when publishing a multi-tenant message.

    Parameters

    • environmentInfo: {
          environmentId: string;
          tenantId: string;
      }
      • environmentId: string
      • tenantId: string

    Returns string

  • Returns string

Generated using TypeDoc