Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 23460 invoked from network); 5 Nov 2009 03:20:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 5 Nov 2009 03:20:36 -0000 Received: (qmail 74462 invoked by uid 500); 5 Nov 2009 03:20:36 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 74331 invoked by uid 500); 5 Nov 2009 03:20:35 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 74320 invoked by uid 99); 5 Nov 2009 03:20:35 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Nov 2009 03:20:35 +0000 X-ASF-Spam-Status: No, hits=3.6 required=10.0 tests=FORGED_YAHOO_RCVD,HTML_MESSAGE,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Nov 2009 03:20:25 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1N5stI-0003TC-98 for users@activemq.apache.org; Wed, 04 Nov 2009 19:20:04 -0800 Message-ID: <26208362.post@talk.nabble.com> Date: Wed, 4 Nov 2009 19:20:04 -0800 (PST) From: thinkbox To: users@activemq.apache.org Subject: Re: ObjectMessage in C/C++ In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_4_1978368.1257391204270" X-Nabble-From: pat_gui@yahoo.com References: <2fa5cd80807061844u5d0d4ff3p94a9442ce356623c@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_4_1978368.1257391204270 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi Nate, I am also in the same situation with Joshua and is currently considering ActiveMQ-CPP for my C++ clients to be able to talk to my Java components. I am currently using version 2.2.6 of ActiveMQ-CPP, are there any updates if ObjectMessages is now supported? Also, say my serialized object is implemented below, public class Subscriber implements Serializable { private String name; private int age; ... //setters and getters method follows } On my C++ code, say I have created an equivalent Subscriber class, can't I just cast the returned object of getObject() into Subscriber? Thanks, Pat nmittler wrote: > > ActiveMQ-CPP doesn't support ObjectMessages. If you're stuck sending > ObjectMessages from Java, probably your best bet would be to use a > Camel message translator in the broker > (http://activemq.apache.org/camel/message-translator.html > ). > > Regards, > Nate > > On Jul 6, 2008, at 6:44 PM, Joshua Smith wrote: > >> ActiveMQ Users- >> >> I have a project coming up where we'll be using ActiveMQ as our JMS >> server >> between a Java application and a C/C++ application. I'd like to >> exchange >> ObjectMessages. Is there anything special (e.g. endian) that I need >> to be >> aware of? Does the C/C++ application have to have objects defined >> that are >> the equivalent of my Java objects? >> >> >> Thanks, >> Joshua Smith > > > -- View this message in context: http://old.nabble.com/ObjectMessage-in-C-C%2B%2B-tp18308791p26208362.html Sent from the ActiveMQ - User mailing list archive at Nabble.com. ------=_Part_4_1978368.1257391204270--