Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AmqpConnector

Amqp Connector, used for receiving and sending messages to an amqp based message queue

Hierarchy

Index

Properties

channel

channel: null | Channel

client

client: null | Connection

options

options: { amqpQueue: string; amqpUrl: string; sendQueue: string }

Type declaration

  • amqpQueue: string
  • amqpUrl: string
  • sendQueue: string

ready

ready: boolean = false

Constructors

constructor

  • new AmqpConnector(options?: { amqpQueue?: string; amqpUrl?: string; sendQueue?: string }): AmqpConnector
  • Create a new Amqp Connector

    Parameters

    • Optional options: { amqpQueue?: string; amqpUrl?: string; sendQueue?: string }

      Options

      • Optional amqpQueue?: string

        amqp queue to use for receiving events

      • Optional amqpUrl?: string

        amqp host to connect to

      • Optional sendQueue?: string

        amqp queue to use for sending events

    Returns AmqpConnector

Methods

initialize

send

Generated using TypeDoc