You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Christian Schneider (JIRA)" <ji...@apache.org> on 2011/08/26 16:42:29 UTC

[jira] [Created] (CAMEL-4385) DefaultExchange.copy always creates a DefaultMessage even if the source exchange had a custom Message type

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

        

[jira] [Resolved] (CAMEL-4385) DefaultExchange.copy always creates a DefaultMessage even if the source exchange had a custom Message type

Posted by "Christian Schneider (JIRA)" <ji...@apache.org>.
     [ 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