[
https://issues.apache.org/jira/browse/CAMEL-6214?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13614322#comment-13614322
]
Alan Foster commented on CAMEL-6214:
------------------------------------
Hi [~raulvk], both the request and response objects are currently serializable
- although that has caught me out before :)
Here's the relevant code from the attached junit test
{code:java}
public static class Request implements Serializable {
public String customerName;
}
public static class Response implements Serializable {
public boolean success;
}
{code}
It's also worth noting that the seriliazble Request sends correctly in the
body, as expected, but the header with the same value doesn't
I have stepped through the code with a debugger, and I can't find exactly when
the headers disappear! :(
> 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