camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Anstey (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CAMEL-756) AMQP component can't send an ObjectMessage
Date Mon, 28 Jul 2008 16:48:00 GMT

    [ 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.


Mime
View raw message