simple-rpc-client
Simple RPC client module based on AMQP/RabbitMQ.
Example
var simplerpc = ; var RABBITMQ_URL = 'amqp://guest:guest@localhost:5672'; simplerpc;
Timeouts
There is a 60-second timeout by default. You can pass any timeout you want to call
.
Once the timeout is reached, the callback will be called with an error.
... var TIMEOUT = 5000; // 5-second timeout simplerpc;
Development documentation
Coding guidelines
Uses provided .jshintrc and .gjslintrc flag files. To check source code style, type
grunt lint
Testing
To run tests, type
grunt test