Return-Path: Delivered-To: apmail-camel-dev-archive@www.apache.org Received: (qmail 82621 invoked from network); 3 Aug 2009 10:43:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 3 Aug 2009 10:43:55 -0000 Received: (qmail 94935 invoked by uid 500); 3 Aug 2009 10:44:00 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 94885 invoked by uid 500); 3 Aug 2009 10:44:00 -0000 Mailing-List: contact dev-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list dev@camel.apache.org Received: (qmail 94875 invoked by uid 500); 3 Aug 2009 10:44:00 -0000 Delivered-To: apmail-activemq-camel-dev@activemq.apache.org Received: (qmail 94872 invoked by uid 99); 3 Aug 2009 10:44:00 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Aug 2009 10:44:00 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Aug 2009 10:43:57 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id B25B5234C046 for ; Mon, 3 Aug 2009 03:43:35 -0700 (PDT) Message-ID: <383034226.1249296215712.JavaMail.jira@brutus> Date: Mon, 3 Aug 2009 03:43:35 -0700 (PDT) From: "Claus Ibsen (JIRA)" To: camel-dev@activemq.apache.org Subject: [jira] Created: (CAMEL-1871) camel-jms - DefaultJmsKeyFormatStrategy should replace . with _DOT_ to avoid conflicting with end user using _ MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: ae95407df07c98740808b2ef9da0087c X-Virus-Checked: Checked by ClamAV on apache.org 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: 2.0-M3, 1.6.1 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.