SCION Microfrontend Platform - v1.4.0
    Preparing search index...

    Interface ConnectOptions

    Controls how to connect to the platform host.

    interface ConnectOptions {
        brokerDiscoverTimeout?: number;
        connect?: boolean;
        messageDeliveryTimeout?: number;
    }
    Index

    Properties

    brokerDiscoverTimeout?: number

    Specifies the maximum time (in milliseconds) to wait until the message broker is discovered on platform startup. If the broker is not discovered within the specified time, platform startup fails with an error. By default, a timeout of 10s is used.

    connect?: boolean

    Controls whether to actually connect to the platform host.

    Disabling this flag can be useful in tests to not connect to the platform host but still have platform beans available. In this mode, messaging is disabled, i.e., sending and receiving messages results in a NOOP.

    By default, this flag is set to true.

    messageDeliveryTimeout?: number

    Specifies the maximum time (in milliseconds) that the platform waits to receive dispatch confirmation for messages sent by this application until rejecting the publishing Promise. By default, a timeout of 10s is used.