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 "ArchiveVideos" and aggregate type "video". There are multiple aggregate IDs in the payload so the field must contain the value "MULTIPLE_IDS".

ArchiveVideosFailed: VideoServiceMultiTenantMessagingSettings = ...

Defines the messaging settings for the event with message type "ArchiveVideosFailed" and aggregate type "video". There are multiple aggregate IDs in the payload so the field contains the value "MULTIPLE_IDS".

ArchiveVideosFinished: VideoServiceMultiTenantMessagingSettings = ...

Defines the messaging settings for the event with message type "ArchiveVideosFinished" and aggregate type "video". There are multiple aggregate IDs in the payload so the field contains the value "MULTIPLE_IDS".

CuePointTypesDeclareFailed: VideoServiceMultiTenantMessagingSettings = ...

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

CuePointTypesDeclared: VideoServiceMultiTenantMessagingSettings = ...

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

DeclareCuePointTypes: VideoServiceMultiTenantMessagingSettings = ...

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

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

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

DeleteVideoFinished: VideoServiceMultiTenantMessagingSettings = ...

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

Defines the messaging settings for the command with message type "EnsureVideoExists" and aggregate type "video". The aggregate ID is not known (yet) so the field must contain the value "UNDEFINED_ID".

EnsureVideoExistsAlreadyExisted: VideoServiceMultiTenantMessagingSettings = ...

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

EnsureVideoExistsCreationStarted: VideoServiceMultiTenantMessagingSettings = ...

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

EnsureVideoExistsFailed: VideoServiceMultiTenantMessagingSettings = ...

Defines the messaging settings for the event with message type "EnsureVideoExistsFailed" and aggregate type "video". The aggregate ID is not known (yet) so the field contains the value "UNDEFINED_ID".

Defines the messaging settings for the command with message type "ImportCustomVideo" and aggregate type "video". The aggregate ID is not known (yet) so the field must contain the value "UNDEFINED_ID".

ImportCustomVideoFailed: VideoServiceMultiTenantMessagingSettings = ...

Defines the messaging settings for the event with message type "ImportCustomVideoFailed" and aggregate type "video". The aggregate ID is not known (yet) so the field contains the value "UNDEFINED_ID".

ImportCustomVideoFinished: VideoServiceMultiTenantMessagingSettings = ...

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

StartVideosDeletion: VideoServiceMultiTenantMessagingSettings = ...

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

Defines the messaging settings for the command with message type "UnarchiveVideos" and aggregate type "video". There are multiple aggregate IDs in the payload so the field must contain the value "MULTIPLE_IDS".

UnarchiveVideosFailed: VideoServiceMultiTenantMessagingSettings = ...

Defines the messaging settings for the event with message type "UnarchiveVideosFailed" and aggregate type "video". There are multiple aggregate IDs in the payload so the field contains the value "MULTIPLE_IDS".

UnarchiveVideosFinished: VideoServiceMultiTenantMessagingSettings = ...

Defines the messaging settings for the event with message type "UnarchiveVideosFinished" and aggregate type "video". There are multiple aggregate IDs in the payload so the field contains the value "MULTIPLE_IDS".

VideoEncodingFailed: VideoServiceMultiTenantMessagingSettings = ...

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

VideoEncodingFinished: VideoServiceMultiTenantMessagingSettings = ...

Defines the messaging settings for the event with message type "VideoEncodingFinished" and aggregate type "video". The aggregate ID field contains the value of the "video 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