0.4.0 • Published 4 years ago

caf_amqp v0.4.0

Weekly downloads
25
License
Apache-2.0
Repository
github
Last release
4 years ago

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

Build Status

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: <host> Queue hostname\n <port> 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" : {
                }
            }
        ]
}
0.4.0

4 years ago

0.3.0

6 years ago

0.2.5

8 years ago

0.2.4

8 years ago

0.2.3

8 years ago

0.2.2

8 years ago

0.2.1

9 years ago

0.2.0

9 years ago