1.0.0 • Published 7 years ago

rhea-nodejs-client v1.0.0

Weekly downloads
1
License
MIT
Repository
bitbucket
Last release
7 years ago

Rhea nodejs client

Rhea client is javascript client built on RHEA amqp library.

Build status

Installation

rhea-nodejs-client requires Node.js v0.10+ to run.

Install to global env, if you would like use client as cmd program.

$ npm install rhea-nodejs-client -g

For standart using install to local env.

$ npm install rhea-nodejs-client

Using

Using cmd client part

$ rhea-sender-client --broker "username:password@localhost:5672" --address "queue_test" --count 2 --msg-content "text message" --log-msgs dict
$ rhea-receiver-client --broker "username:password@localhost:5672" --address "queue_test" --count 2 --log-msgs dict

Using in script or node

var rhea_client = require('rhea-nodejs-client');
var opts = rhea_client.Options;
var sender = rhea_client.SenderClient;

opts.broker('username:password@localhost:5672');
opts.address = 'queue_test';
opts.count = 2;
opts.msgContent = 'text message';

sender.Run(opts);

Docker

To build image with CENTOS7 and rhea-nodejs-client use Dockerfile in project lib:

docker build -t rhea-nodejs-client-image

Or you can use image from dockerhub

docker pull kornysd/rhea-nodejs-client

License

Apache v2

1.0.10

7 years ago

1.0.9

7 years ago

1.0.8

7 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago