You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2012/06/15 09:25:42 UTC

[jira] [Commented] (CAMEL-5369) Add wildcard support for karaf camel commands (start/stop/suspend/resume)

    [ https://issues.apache.org/jira/browse/CAMEL-5369?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13295501#comment-13295501 ] 

Claus Ibsen commented on CAMEL-5369:
------------------------------------

I think this is also part of a bigger picture with the Karaf shell. There is other projects that has Karaf commands.
So we should think about if there should be some support from Karaf Commands to support wildcards/regexp for the parameters.

And maybe we should only support * as the wildcard, as thats the commonly used, and not all the powers from regular expression by itself.

And for the regexp escaping you do, I think there is a quote method on the JDK API that can do this automatic for you.
Can you look into that?

                
> Add wildcard support for karaf camel commands (start/stop/suspend/resume)
> -------------------------------------------------------------------------
>
>                 Key: CAMEL-5369
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5369
>             Project: Camel
>          Issue Type: Improvement
>          Components: karaf
>    Affects Versions: 2.9.2
>            Reporter: Nikolaos Dimos
>         Attachments: patch_add_wildcard_support_camel_commands.diff
>
>
> Many times operations have requested suspending traffic towards a specific system. This means that several routes should be suspended and then resumed, stopped or started. 
> Instead of using the route auto-complete for performing the above actions for each and every route, a wild card support could be very useful.
> By giving descriptive ids to your routes, you could perform batch actions with ease.
> Backwards compatibility is ensured.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira