[
https://issues.apache.org/jira/browse/CAMEL-4385?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Christian Schneider resolved CAMEL-4385.
----------------------------------------
Resolution: Fixed
> DefaultExchange.copy always creates a DefaultMessage even if the source
> exchange had a custom Message type
> ----------------------------------------------------------------------------------------------------------
>
> Key: CAMEL-4385
> URL: https://issues.apache.org/jira/browse/CAMEL-4385
> Project: Camel
> Issue Type: Bug
> Components: camel-core
> Affects Versions: 2.8.0
> Reporter: Christian Schneider
> Assignee: Christian Schneider
> Fix For: 2.9.0
>
>
> We have a exchange with a custom MyMessage type as in message.
> exchange.copy() creates an exchange with an in message of type
> DefaultMessage.
> Correct would be if the in message of the dest exchange would be of type
> MyMessage.
> I will first commit a test case that shows the problem and currently will
> fail.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira