activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <james.strac...@gmail.com>
Subject Re: Java-cpp communication
Date Fri, 20 Apr 2007 06:51:15 GMT
On 4/20/07, Ramamoorthy Subramanian (ramsubra) <ramsubra@cisco.com> wrote:
> Hi,
>
> We're designing an application in which we've two clients, one running
> Java and the other running cpp communicate with each other using
> activemq. The broker will be running in java. We're planning to define a
> messaging format for the messages between java and cpp and use
> MapMessage(key, type, value) to do the messaging format. Also, we plan
> to use openwire format.

Sounds good to me.

> Anyone who is already working on such a design, could share your
> thoughts? or do you have any comments on this? Anyone has a better
> solution for this?

The main two approaches today are XML for the payloads or MapMessages.
The latter is simpler & faster (as it supports primitive data types
etc), though the XML approach has a bit more tooling behind it.
-- 
James
-------
http://macstrac.blogspot.com/

Mime
View raw message