OpenMAMA bridge implementation


Pavel Patarinski <pavel.patarinski@...>
 

Hi all,

At Tick42 we are porting various data feed drivers (rather than middleware connectors) to load as OpenMama bridges, I have been making some notes on the various calls into the Bridge API to help me work out what order things are called in.

I have produced the following three documents which show the sequence of calls into the Avis Bridge when running an OpenMama subscriber. I am using these to help work out where to put various chunks of our existing driver code.

Given the work that people are starting to do on producing drivers, we thought it might be useful to share these notes. Please feed back with any comments or corrections.

1. Initialization and startup:
The first document describes order of execution and some basic description of bridge interface functions which are called during OpenMAMA initialization and startup.

2. Making a subscription:
The second document lists bridge interface functions which are used when subscription is created.

3. Decoding the data:
The third document describes how payload message is created and processed by OpenMAMA framework.

Pavel Pararinski
www.tick42.com


Les Spiro
 

And here are the PDF's that Pavel meant to attach :)

Not sure if they will be forwarded via the mailing list.

It's an interesting experience for us as we start to port our drivers
(which look more like Reuters SSL) into OpenMama bridges which look more
like Tib RV :)

For example is it interesting to see the way the subscription call looks
like create a subscription message, then code to set various values
followed by a send message (although also interesting to see the cheat in
the Avis driver which just makes the subscribe call on the create
subscription message).

Anyway we will be producing a few of these bridges (announcements when
they are ready for beta testing) and so we are interested in any
feedback/advice.


Les Spiro
http://www.tick42.com
http://twitter.com/intent/user?screen_name=Tick_42


On 16/05/2012 17:02, "Pavel Patarinski" <pavel.patarinski@tick42.com>
wrote:

Hi all,

At Tick42 we are porting various data feed drivers (rather than
middleware connectors) to load as OpenMama bridges, I have been making
some notes on the various calls into the Bridge API to help me work out
what order things are called in.

I have produced the following three documents which show the sequence of
calls into the Avis Bridge when running an OpenMama subscriber. I am
using these to help work out where to put various chunks of our existing
driver code.

Given the work that people are starting to do on producing drivers, we
thought it might be useful to share these notes. Please feed back with
any comments or corrections.

1. Initialization and startup:
The first document describes order of execution and some basic
description of bridge interface functions which are called during
OpenMAMA initialization and startup.

2. Making a subscription:
The second document lists bridge interface functions which are used
when subscription is created.

3. Decoding the data:
The third document describes how payload message is created and
processed by OpenMAMA framework.

Pavel Pararinski
www.tick42.com