You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2013/09/10 09:48:52 UTC

[jira] [Resolved] (CAMEL-6721) DefaultUnitOfWork only copies headers into an exchange for JmsMessage - not derivations

     [ https://issues.apache.org/jira/browse/CAMEL-6721?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-6721.
--------------------------------

       Resolution: Not A Problem
    Fix Version/s: 2.12.1
         Assignee: Claus Ibsen

Using instanceof would require camel-jms to be on the classpath, hence why we use the name of the class instead.


                
> DefaultUnitOfWork only copies headers into an exchange for JmsMessage  - not derivations 
> -----------------------------------------------------------------------------------------
>
>                 Key: CAMEL-6721
>                 URL: https://issues.apache.org/jira/browse/CAMEL-6721
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>            Reporter: Rob Davies
>            Assignee: Claus Ibsen
>             Fix For: 2.12.1
>
>
> org.apache.camel.impl.DefaultUnitOfWork does a check on in its constructor for the type of in message - i.e.
> if (exchange.getIn().getClass().getName().equals("org.apache.camel.component.jms.JmsMessage")) {
> Should this not be an instanceof instead ?

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