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

Raul Kripalani commented on CAMEL-6214:
---------------------------------------

Good call, [~muellerc]. I got misled by the existence of the 
{{Message.setObjectProperty(Object)}} method. 

But the [{{javax.jms.Message}} 
Javadoc|http://java.sun.com/j2ee/1.4/docs/api/javax/jms/Message.html] states 
the following:

{quote}
The setObjectProperty method accepts values of class Boolean, Byte, Short, 
Integer, Long, Float, Double, and String. An attempt to use any other class 
must throw a JMSException.
{quote}

So it's clear that this use case is unsupported by the underlying spec.
                
> ActiveMq InOut MEP headers lost during 
> ---------------------------------------
>
>                 Key: CAMEL-6214
>                 URL: https://issues.apache.org/jira/browse/CAMEL-6214
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-activemq, camel-core
>         Environment: Windows server 2008 r2
>            Reporter: Alan Foster
>         Attachments: camel-6214-testCase.java
>
>
> I seem to be losing complex type headers when I send them as InOut over 
> activemq for some reason.
> It seems to work works fine using the InOut MEP for the 'direct' component 
> though
> The complex body is transferred fine, but the header is lost.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to