Git Product home page Git Product logo

node-amqpsnoop's Introduction

node-amqpsnoop v0.0.1

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).

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.

node-amqpsnoop's People

Contributors

trentm avatar davepacheco avatar

Watchers

Bill Pijewski avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.