Skip to main content

A basic framework for building RMAS adapters

Project description


A basic framework for building RMAS adapters

This package will create for you a skeleton rmas adapter, it will know how to connect to
and poll an rmas bus for events, and when an event is detected, it can be configured to
send the payload of those events to the event handlers that you specify.


Either clone from github: [git://](git:// then do

`python install`


`pip install RMASAdapter`


To create your adapter skeleton, you will need to run the `` script
as follows:

python create --name <adapter name>
--target <directory to generate code into>(optional)

When this command has run, it will have created the adapter skeleton in a directory with the
same name as the `--name` argument. This adapter skeleton contains:

* - Use this to start your adapter running
* - Basic settings for the adapter, and configuration point for adding your functionality

The settings file must contain valid settings for:

RMAS\_BUS\_WSDL : the url to the RMAS ESB
POLL\_INTERVAL : the number of milliseconds to wait between polling

If you want your adapter to do anything then you will need to also specify:

EVENTS: this configures the events that you want your adapter to respond to and looks like:

Your handler module must specify a function that has the following signature, when the configured event is received the poller will send the payload to this function for you to handle as you wish:

def handle_event(payload):
Do something cool!

Project details

Release history Release notifications

This version
History Node


History Node


History Node


History Node


History Node


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
RMASAdapter-0.1.4.tar.gz (6.5 kB) Copy SHA256 hash SHA256 Source None Dec 20, 2012

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page