Return-Path: X-Original-To: apmail-camel-issues-archive@minotaur.apache.org Delivered-To: apmail-camel-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1E41D18CF6 for ; Wed, 29 Jul 2015 07:09:06 +0000 (UTC) Received: (qmail 81615 invoked by uid 500); 29 Jul 2015 07:09:06 -0000 Delivered-To: apmail-camel-issues-archive@camel.apache.org Received: (qmail 81569 invoked by uid 500); 29 Jul 2015 07:09:06 -0000 Mailing-List: contact issues-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 issues@camel.apache.org Received: (qmail 81559 invoked by uid 99); 29 Jul 2015 07:09:05 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Jul 2015 07:09:05 +0000 Date: Wed, 29 Jul 2015 07:09:05 +0000 (UTC) From: "Claus Ibsen (JIRA)" To: issues@camel.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CAMEL-9027) Parse destinationName from endpointUri MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CAMEL-9027?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14645594#comment-14645594 ] Claus Ibsen commented on CAMEL-9027: ------------------------------------ Its not really a good idea to use colons in JMS names. > Parse destinationName from endpointUri > -------------------------------------- > > Key: CAMEL-9027 > URL: https://issues.apache.org/jira/browse/CAMEL-9027 > Project: Camel > Issue Type: Bug > Components: camel-sjms > Affects Versions: 2.15.2 > Reporter: Cristian Tetic > Priority: Minor > Fix For: 2.16.0, 2.15.3 > > > If jndi name of a topic or a queue contains ":" (eg: /jms/test/hov.t1.dev:topic) the destination name won't be parsed correctly because of this code: > " destinationName = getEndpointUri().substring(getEndpointUri().lastIndexOf(":") + 1);" > inside class "SjmsEndpoint" line number 106. -- This message was sent by Atlassian JIRA (v6.3.4#6332)