Type alias AMQPProperties

AMQPProperties: {
    appId?: string;
    contentEncoding?: string;
    contentType?: string;
    correlationId?: string;
    deliveryMode?: number;
    expiration?: string;
    headers?: Record<string, Field>;
    messageId?: string;
    priority?: number;
    replyTo?: string;
    timestamp?: Date;
    type?: string;
    userId?: string;
}

Type declaration

  • Optional appId?: string
  • Optional contentEncoding?: string

    content encoding of body, eg. gzip

  • Optional contentType?: string

    content type of body, eg. application/json

  • Optional correlationId?: string

    for RPC requests

  • Optional deliveryMode?: number

    1 for transient messages, 2 for persistent messages

  • Optional expiration?: string

    Message TTL, in milliseconds, as string

  • Optional headers?: Record<string, Field>

    custom headers, can also be used for routing with header exchanges

  • Optional messageId?: string
  • Optional priority?: number

    between 0 and 255

  • Optional replyTo?: string

    for RPC requests

  • Optional timestamp?: Date

    the time the message was generated

  • Optional type?: string
  • Optional userId?: string

Generated using TypeDoc