Skip to content

tmfg/digitraffic-inspect-amqp

Repository files navigation

inspect amqp data

Simple command line tool to inspect data in AMQP.

Usage

Build the app with bundle script (i.e. pnpm bundle), which will create the cli app dist/inspect-amqp.

λ dist/inspect-amqp --help
Usage: inspect-amqp [options]

Options:
  -c, --cert <path>         Certificate path (default: "cert.pem")
  -k, --key <path>          Key path (default: "key.pem")
  -o, --output-file <path>  Output file (default: "output.json")
  -C, --config <path>       Config file (default: "config.json")
  -t, --timeout <number>    Timeout in seconds (default: "10")
  -h, --help                display help for command

Configuration

Example config.json:

{
  "connectionOptions": {
    "transport": "tls",
    "port": 5671,
    "host": "amqp.example.com",
    "username": "user",
    "enable_sasl_external": true,
    "rejectUnauthorized": false,
    "reconnect": false
  },
  "receiverOptions": {
    "name": "receiver",
    "source": "source.example"
  }
}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published