Hi, Encoding Object Messages from C++ would be VERY difficult. It's a complex encoding and your C++ would need to intimately know about the class structures in your Java world.
I'd recommend you send XML messages in C++ in the broker then use the built in camel integration in the broker to transform them before routing those messages to the Java consumers. See for more info: http://activemq.apache.org/enterprise-integration-patterns.html http://activemq.apache.org/camel On Jan 4, 2008 4:34 AM, narts <[EMAIL PROTECTED]> wrote: > > I am using activemq 5.0.0 and activemq cpp 2.1.3 on Windows > My requirement is to produce object messages using cpp client and consume by > java client. > But activemq cpp 2.1.3 is not supporting object messages. > So i am looking for the possibility to produce text messages using cpp > client and consume at java end and transform the text message to object > message. > After bit up google i fing out that ActiveMQ in 4.2 onwards comming with a > pluggable strategy called the > MessageTransformer interface. Which can be used to transform ObjectMessage > into a TextMessage using XML marshalling technology like XStream or JAXB2. > But not able to find how to use them. > > Please anybody help me. > > > Regards > Naresh > -- > View this message in context: > http://www.nabble.com/reg-producing-of-object-messages-from-activemq-cpp-and-consuming-using-java-client-tp14613190s2354p14613190.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. > > -- Regards, Hiram Blog: http://hiramchirino.com Open Source SOA http://open.iona.com