Interface RabbitMQNodeParameters

Source
interface RabbitMQNodeParameters {
    exchange?: string;
    exchangeType?:
        | "direct"
        | "headers"
        | "topic"
        | "fanout";
    message?: string;
    mode?: "exchange"
    | "queue";
    operation?: "sendMessage" | "deleteMessage";
    options?: {
        alternateExchange?: string;
        arguments?: {
            argument: { key?: string; value?: string }[];
        };
        autoDelete?: boolean;
        durable?: boolean;
        exclusive?: boolean;
        headers?: {
            header: { key?: string; value?: string }[];
        };
    };
    queue?: string;
    routingKey?: string;
    sendInputData?: boolean;
}

Properties§

§readonly exchange?: string

Name of the exchange to publish to

§readonly exchangeType?: "direct" | "headers" | "topic" | "fanout"

Type of exchange Default: "fanout"

§readonly message?: string

The message to be sent

§readonly mode?: "exchange" | "queue"

To where data should be moved Default: "queue"

§readonly operation?: "sendMessage" | "deleteMessage"

Default: "sendMessage"

§readonly options?: { ... }

Default: {}

§readonly queue?: string

Name of the queue to publish to

§readonly routingKey?: string

The routing key for the message

§readonly sendInputData?: boolean

Whether to send the data the node receives as JSON Default: true