[zeromq-dev] Using 0MQ with an existing messaging library
Martin Sustrik
sustrik at 250bpm.com
Thu Oct 6 09:03:42 CEST 2011
On 10/05/2011 03:37 PM, asif saeed wrote:
> I am tasked with enhancing upgrading an existing application that uses
> an in-house proprietary messaging library (say, myLib) which has some
> encryption support as well; all applications, besides the one I am
> working on, primarily run on Windows and they all communicate with each
> other using this library. I find 0mq attractive and want to use its
> features. My problem is how I am going to get 0mq and myLib
> inter-operate with each other and how the myLib's encryption is going to
> work with 0mq. I particularly want the fault-tolerance of 0mq. I will
> really be thankful if you help me on this.
You mean interoperate on the wire protocol level, ie. instance of myLib
directly communicating with instance of libzmq?
If so, it's pretty hard, but if you want to go that way it's probably
easier to make in-house lib speak 0mq protocol rather then vice versa.
The reason being that 0mq protocol is pretty simple, while in-house
protocol is not likely to be.
Some other options are:
1. Bridge to convert 0mq messages to myLib messages and other way round.
2. Be compatible on the API level. Wrap libzmq in such a way as to
expose myLib API.
Martin
More information about the zeromq-dev
mailing list