MessagingConfig: Pick<BasicConfig, "isDev" | "serviceId"> & Pick<BasicRMQConfig, "rmqProtocol" | "rmqVHost" | "rmqHost" | "rmqPort" | "rmqUser" | "rmqPassword" | "rmqVHostAssert"> & Partial<Pick<BasicRMQConfig, "rmqMgmtProtocol" | "rmqMgmtHost" | "rmqMgmtPort" | "rmqChannelMax" | "rmqEventSigningPrivateKey" | "rmqEventSigningKeyVersion">> & {
    clientProperties?: {
        connection_name?: string;
        [key: string]: string | undefined;
    };
}

An interface that represents an object with all configuration values that are required to set up messaging. Example using Mosaic configuration:

import { getFullConfig } from './common/config/config-definitions';
//...
const config = getFullConfig();

Type declaration

  • Optional clientProperties?: {
        connection_name?: string;
        [key: string]: string | undefined;
    }

    Specifies client-properties to be passed along through the AMQP Connection. The connection_name is a well-known property which will be useful for debugging purposes, and will be displayed in the Broker's management UI (under connections tab)

    • [key: string]: string | undefined
    • Optional connection_name?: string

      If unspecified, the serviceId will be used as the connection_name, and will be visible in the Broker's management UI

Generated using TypeDoc