Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

floca-amqp-client

Package Overview
Dependencies
Maintainers
2
Versions
128
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

floca-amqp-client

AMQP client for floca-based projects

  • 5.3.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3
decreased by-66.67%
Maintainers
2
Weekly downloads
 
Created
Source

floca-amqp-client

Server-side connector for floca-based projects running over AMQP message bus

Install

npm i floca-amqp-client --save

Usage

Create your connector instance:

var Connector = require('floca-amqp-client');
var connector = new Connector();

Connect to the running AMQP server where your floca-based services are connected to:

connector.connect( clientName, amqpURI, flocaName, { }, function(err, res){
} );

Pass a unique name of your client, the URI to the amqp to connect to and the name of the floca-based system.

When it is connected, call a service of a given entity:

connector.connect( clientName, amqpURI, flocaName, { }, function(err, res){
	connector.send( 'DivisionName', 'Entity.service', [ 'ArrayOfParameters' ], {}, function(err, res){
	} );
} );

Addressing follows the logic of harcon used by floca heavily.

And you are ready to go!

Please check the other client connectors : for WebSocket and for REST

Keywords

FAQs

Package last updated on 13 Feb 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc