Skip to content

jaredhanson/antenna

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

antenna

Build Coverage Quality Dependencies Tips

Antenna is a publish/subscribe middleware layer for Node. Applications can be constructed by using middleware and defining routes.

This architecture has been proven effective by Express, which provides HTTP middleware. Antenna adopts this approach, repurposing it for use with a message bus, allowing listeners to be built quickly and easily, using patterns familiar to Node.js developers.

Install

$ npm install antenna

Usage

var antenna = require('antenna');
var app = antenna();

app.listen('events/:event', function(msg, next) {
  console.log('got event: ' + msg.params.event);
});

Adapters

Adapters are used to connect to message buses, receiving messages and dispatching those messages to the application for processing.

The following table lists commonly used adapters:

Adapter Developer
AMQP Jared Hanson

Tests

$ npm install
$ make test

Credits

License

The MIT License

Copyright (c) 2014 Jared Hanson <http://jaredhanson.net/>

About

Ubiquitous message bus for Node.js.

Resources

License

Stars

Watchers

Forks

Packages