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

Claus Ibsen resolved CAMEL-1871.
--------------------------------

    Resolution: Fixed

trunk: 800307.

> camel-jms - DefaultJmsKeyFormatStrategy should replace . with _DOT_ to avoid 
> conflicting with end user using _
> --------------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-1871
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1871
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-jms
>    Affects Versions: 1.6.1, 2.0-M3
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.0.0
>
>
> If an end user sends a JMS property as
> {code}
> MY_KEY
> {code}
> Then it should be preserved when Camel route it, so the receiver side using 
> Camel as well will see it as: {{MY_KEY}} and not {{MY.KEY}}.
> The code should be:
> {code}
>         String answer = key.replace(".", "_DOT_");
>         answer = answer.replace("_DOT_", ".");
> {code}

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

Reply via email to