Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

amqpsnoop

Package Overview
Dependencies
Maintainers
4
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

amqpsnoop

snoop AMQP messages

  • 0.2.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
4
Created
Source

node-amqpsnoop v0.2.0

Overview

usage: amqpsnoop [-h host] [-r routekey] [-f filter...]

Snoops AMQP messages sent to routekey using broker . All messages must be JSON-encoded objects. The following options may be specified:

-h host        hostname of AMQP broker to use (default: localhost)

-r routekey    routekey to bind to (default: "#")

-f filter      filter expression to invoke on each message
               Multiple filters may be specified.  Each one is a 
               chunk of JavaScript code to be executed with each 
               message bound to variable "msg".  The message is 
               only printed if all filters return true.

-o format      output messages with the given format
               Valid values are "inspect" (uses sys.inspect, the)
               default), "json" and "json0" (JSON with no
               indentation).

-x exchange    name of exchange to use (default: "amq.topic")

Example: using broker 10.99.99.5, show all AMQP messages sent to any routing key starting with "ca." and whose "ca_subtype" member is not "ping":

amqpsnoop -h 10.99.99.5 -r "ca.#" -f 'msg.ca_subtype != "ping"'

Installation

As an npm package, node-amqpsnoop is installed in the usual way:

  % npm install amqpsnoop

Status

This tool is considered complete, though additional functionality may be added in the future.

Platforms

This tool should work on all platforms that support node.js. It has been tested on MacOS X 10.6.5 and OpenSolaris based on Illumos build 147.

Keywords

FAQs

Package last updated on 04 Nov 2021

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