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 662BDD496 for ; Sun, 26 May 2013 14:47:25 +0000 (UTC) Received: (qmail 29277 invoked by uid 500); 26 May 2013 14:47:24 -0000 Delivered-To: apmail-camel-issues-archive@camel.apache.org Received: (qmail 29141 invoked by uid 500); 26 May 2013 14:47:23 -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 29050 invoked by uid 99); 26 May 2013 14:47:20 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 26 May 2013 14:47:20 +0000 Date: Sun, 26 May 2013 14:47:20 +0000 (UTC) From: "Alan Foster (JIRA)" To: issues@camel.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CAMEL-6391) provide an endpoint path completion API so that we can complete endpoint paths (e.g. directory names, queue names, database table names) inside Karaf commands, IDEs or web consoles 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-6391?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13667336#comment-13667336 ] Alan Foster commented on CAMEL-6391: ------------------------------------ Ah, good call! Thanks Babak :) > provide an endpoint path completion API so that we can complete endpoint paths (e.g. directory names, queue names, database table names) inside Karaf commands, IDEs or web consoles > ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ > > Key: CAMEL-6391 > URL: https://issues.apache.org/jira/browse/CAMEL-6391 > Project: Camel > Issue Type: New Feature > Reporter: james strachan > Assignee: james strachan > Fix For: 2.12.0 > > > We've got the ComponentConfiguration API which is pretty cool for figuring out what parameters are available on an endpoint; but there's no help for completing the main name/path text of an endpoint. Most endpoints have a main 'path' string once you take away things like user/host/port or whatever parameters there are. > e.g. name of queue / name of database table / directory/path for file/ftp/scp, name of hadoop file or whatever. > Rather like the Completer APIs in Karaf commands, it'd be nice if we had a little API so Component implementors can implement a simple method in EndpointCompleter to expose completions for UIs/tools/shell.s > Think of it as like bash completion but for endpoint names/paths. > e.g. imagine a command where you want to create or send to an endpoint; picking the component name, you then need to be able to pick which queue/directory/table to use. > This patch adds a simple API to the ComponentConfiguration API and to the MBean -- 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