Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ExchangePublishOptions

Hierarchy

  • ExchangePublishOptions

Index

Properties

Optional appId

appId: string

Default: null

Creating application id

Optional contentEncoding

contentEncoding: string

Default: null

Optional contentType

contentType: string

Default: 'application/octet-stream'

Optional correlationId

correlationId: string

Application correlation identifier

Optional deliveryMode

deliveryMode: 1 | 2

1: Non-persistent 2: Persistent

Optional expiration

expiration: string

Default: null

Message expiration specification -- ISO date string?

Optional headers

headers: any

Default: {}

Arbitrary application-specific message headers

Optional immediate

immediate: boolean

Default: false

This flag tells the server how to react if the message cannot be routed to a queue consumer immediately.

If this flag is set, the server will return an undeliverable message with a Return method.

If this flag is false, the server will queue the message, but with no guarantee that it will ever be consumed

Optional mandatory

mandatory: boolean

Default: false

This flag tells the server how to react if the message cannot be routed to a queue.

If this flag is set, the server will return an unroutable message with a Return method.

If this flag is false, the server silently drops the message

Optional messageId

messageId: string

Default: null

Application message identifier

Optional priority

priority: 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9

Optional replyTo

replyTo: string

Usually used to name a reply queue for a request message

Optional timestamp

timestamp: string

Default: null

Message timestamp

ISO date string?

Optional type

type: string

Default: null

Message type name

Optional userId

userId: string

Default: null

Creating user id

Generated using TypeDoc