Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • CreateChannelOpts

Index

Properties

Properties

Optional json

json: boolean

if true, then ChannelWrapper assumes all messages passed to publish() and sendToQueue() are plain JSON objects. These will be encoded automatically before being sent.

Optional name

name: string

Name for this channel. Used for debugging.

Optional setup

setup: SetupFunc

A function to call whenever we reconnect to the broker (and therefore create a new underlying channel.) This function should either accept a callback, or return a Promise. See addSetup below

Generated using TypeDoc