Socket
Book a DemoInstallSign in
Socket

@gasbuddy/configured-rabbitmq-client

Package Overview
Dependencies
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@gasbuddy/configured-rabbitmq-client

A configuration driven RabbitMQ client

9.0.0
latest
npmnpm
Version published
Maintainers
1
Created
Source

configured-rabbitmq-client

A small wrapper around the foo-foo-mq to allow configuration from confit.

Persistent messages

exchanges and queues are durable by default. You can make messages persistent in an exchangeGroup (primary, retry and rejected) by doing the following:

{
  "exchangeGroups": {
    "exchange.test.request.v1": {
      "persistent": true,
      "keys": "exchange.test"
    }
  }
}

Follow this link to see more options

TTL

Only retry queue use TTL by default. You can set it by doing the following.

NOTE: You cannot change TTL on an existing queue.

{
  "exchangeGroups": {
    "exchange.test.request.v1": {
      ...
      "perMessageTtl": true, // It should be used on new exchange groups even if you don't change the default value
      "retryDelay": 60000, // default 10000ms
    }
  }
}

Keywords

rabbitmq

FAQs

Package last updated on 02 Feb 2020

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.