[ 
https://issues.apache.org/activemq/browse/CAMEL-756?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=44554#action_44554
 ] 

Jonathan Anstey commented on CAMEL-756:
---------------------------------------

I tried the same test out on ActiveMQ and it works fine. This maybe an issue 
with Qpid itself or maybe how camel-jms interacts with Qpid.

Since sending a byte array works, a workaround for sending objects could be to 
get the AMQP component to serialize the object itself before sending it along 
to Qpid.

If there are no objections, I could submit a patch for this.

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

Reply via email to