kkrpc
    Preparing search index...

    Interface RabbitMQTransportOptions

    Options for connecting a kkrpc transport to RabbitMQ.

    interface RabbitMQTransportOptions {
        durable?: boolean;
        exchange?: string;
        exchangeType?: "topic" | "direct" | "fanout";
        localPeerId: string;
        remotePeerId?: string;
        routingKeyPrefix?: string;
        url?: string;
    }
    Index

    Properties

    durable?: boolean

    Whether the exchange should be durable. Defaults to true.

    exchange?: string

    Exchange used to publish and consume kkrpc bus envelopes.

    exchangeType?: "topic" | "direct" | "fanout"

    RabbitMQ exchange type to assert.

    localPeerId: string

    Stable id for this endpoint; used to filter self-delivered messages.

    remotePeerId?: string

    Optional target endpoint id for point-to-point delivery.

    routingKeyPrefix?: string

    Prefix for routing keys used by this transport.

    url?: string

    AMQP connection URL. Defaults to amqp://localhost.