🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

resolve-bus-rabbitmq

Package Overview
Dependencies
Maintainers
1
Versions
603
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

resolve-bus-rabbitmq

This package is an adapter for resolve-bus to emit events using RabbitMQ.

0.19.8
latest
Source
npm
Version published
Weekly downloads
1
-92.86%
Maintainers
1
Weekly downloads
 
Created
Source

resolve-bus-rabbitmq

npm version

This package is a resolve-es adapter for emitting events using RabbitMQ (based on the amqplib package). It requires RabbitMQ to be installed on your machine.

Available Parameters

You can pass the following arguments when initializing an adapter:

  • url (required) - the RabbitMQ URL.
  • exchange - an exchange name. The default is exchange. Learn more
  • queueName - a queue name. The default is ''. Learn more
  • exchangeType - the exchange type. The default is fanout. Learn more
  • messageTtl - a message's lifetime. The default is 2000.
  • maxLength - the maximum number of messages the queue holds. The default is 10000.

Usage

import createAdapter from 'resolve-bus-rabbitmq'

const adapter = createAdapter({
  url: 'amqp://localhost'
})

Analytics

Keywords

cqrs

FAQs

Package last updated on 01 Mar 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts