Return-Path: Delivered-To: apmail-activemq-camel-dev-archive@locus.apache.org Received: (qmail 78186 invoked from network); 28 Jul 2008 16:48:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 Jul 2008 16:48:21 -0000 Received: (qmail 97526 invoked by uid 500); 28 Jul 2008 16:48:20 -0000 Delivered-To: apmail-activemq-camel-dev-archive@activemq.apache.org Received: (qmail 97507 invoked by uid 500); 28 Jul 2008 16:48:20 -0000 Mailing-List: contact camel-dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: camel-dev@activemq.apache.org Delivered-To: mailing list camel-dev@activemq.apache.org Received: (qmail 97496 invoked by uid 99); 28 Jul 2008 16:48:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Jul 2008 09:48:20 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Jul 2008 16:47:34 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 4E9DC234C174 for ; Mon, 28 Jul 2008 09:48:00 -0700 (PDT) Message-ID: <1686621530.1217263680317.JavaMail.jira@brutus> Date: Mon, 28 Jul 2008 09:48:00 -0700 (PDT) From: "Jonathan Anstey (JIRA)" To: camel-dev@activemq.apache.org Subject: [jira] Commented: (CAMEL-756) AMQP component can't send an ObjectMessage In-Reply-To: <1271617507.1216923000298.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/activemq/browse/CAMEL-756?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=44594#action_44594 ] Jonathan Anstey commented on CAMEL-756: --------------------------------------- After further inspection, this is a known Qpid bug. See: https://issues.apache.org/jira/browse/QPID-1092. The fix has been merged already so the next Qpid release should work. As for the workaround I mentioned, it wouldn't work as well as I thought. By not using Qpid's ObjectMessage (and just using BytesMessage) Camel would have no way of knowing it had to auto deserialize the byte array back to an Object. This would actually be more confusing to the user IMO. I guess we'll just have to wait until Qpid gets released again? > AMQP component can't send an ObjectMessage > ------------------------------------------ > > Key: CAMEL-756 > URL: https://issues.apache.org/activemq/browse/CAMEL-756 > Project: Apache Camel > Issue Type: Bug > Affects Versions: 1.4.0 > Reporter: Jonathan Anstey > Fix For: 1.5.0 > > > Sending a TextMessage and BytesMessage work fine but when you try to send a Serializable object it gets lost somehow... see the testJmsRouteWithObjectMessage test in http://svn.apache.org/repos/asf/activemq/camel/trunk/components/camel-amqp/src/test/java/org/apache/camel/component/amqp/AMQPRouteTest.java to see what happens. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.