Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
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.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
101
decreased by-85.61%
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

FAQs

Package last updated on 31 Jan 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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc