https://github.com/cafjs/caf_amqp
CAF library to access external reliable message queues, such as RabbitMQ.
https://github.com/cafjs/caf_amqp
Last synced: 5 months ago
JSON representation
CAF library to access external reliable message queues, such as RabbitMQ.
- Host: GitHub
- URL: https://github.com/cafjs/caf_amqp
- Owner: cafjs
- Created: 2015-06-22T08:00:08.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2020-04-01T19:37:28.000Z (about 6 years ago)
- Last Synced: 2024-08-09T16:53:39.696Z (almost 2 years ago)
- Language: JavaScript
- Size: 28.3 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGES.md
- Contributing: CONTRIBUTING.md
- License: LICENSE-2.0.txt
Awesome Lists containing this project
README
# Caf.js
Co-design permanent, active, stateful, reliable cloud proxies with your web app or gadget.
See https://www.cafjs.com
## Library to Access AMQP Services
[](https://travis-ci.org/cafjs/caf_amqp)
This library provides components to access reliable message queues, such as RabbitMQ.
## API
lib/proxy_amqp.js
## Configuration Example
### framework.json
{
"module": "caf_amqp/plug",
"name": "amqp",
"description": "Access to a reliable message queue\n Properties: Queue hostname\n Queue port",
"env": {
"host": "localhost",
"port" : 5672,
"login": "guest",
"password": "guest",
"authMechanism": "AMQPLAIN"
}
}
### ca.json
{
"module": "caf_amqp#plug_ca",
"name": "amqp",
"description": "Message queue access for this CA.",
"env" : {
"maxRetries" : "$._.env.maxRetries",
"retryDelay" : "$._.env.retryDelay"
},
"components" : [
{
"module": "caf_amqp#proxy",
"name": "proxy",
"description": "Proxy to amqp services for this CA",
"env" : {
}
}
]
}