Listen to amqp events and redirect messages to instant messaging system
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
config
.gitignore
.travis.yml
Dockerfile
Readme.md
app.js
package.json

Readme.md

amqp-notifier

This bot will send messages to Telegram and Slack when a rabbitmq event is triggered, it uses nunjucks template defined in exchange configuration to show a comprehensive message to the receiver.

Running

Using docker

docker run -e NODE_CONFIG='{}' -ti gtrias/amqp-notifier

Using native nodejs

(Edit your config/default.json)

npm install
npm start

Configuration

Check out config/default.json file to see all configurable fields

Exchanges configuration example:

        "exchanges": [
            {
                "name": "whatever.created",
                "template": "your exchange nunjucks template {{ some.amqp.msg.field }}"
            }
        ]