camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] Created: (CAMEL-1213) camel-jms consumer does not set camel message id based on JMS message id if the next node is not JMS based
Date Fri, 02 Jan 2009 17:14:05 GMT
camel-jms consumer does not set camel message id based on JMS message id if the next node is
not JMS based
----------------------------------------------------------------------------------------------------------

                 Key: CAMEL-1213
                 URL: https://issues.apache.org/activemq/browse/CAMEL-1213
             Project: Apache Camel
          Issue Type: Bug
          Components: camel-jms
    Affects Versions: 1.5.0
            Reporter: Claus Ibsen
             Fix For: 1.5.1, 2.0.0


The code in org.apache.camel.component.jms.copyFrom looks odd

I think the ! should be removed

BEFORE
{code}
        if (!copyMessageId) {
            setMessageId(that.getMessageId());
        }
{code}

AFTER
{code}
        if (copyMessageId) {
            setMessageId(that.getMessageId());
        }
{code}

I will add a unit test (JmsToFileMessageIdTest) based on end user having some trouble with
it

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message