camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CAMEL-8963) camel:route-suspend karaf command changed behaviour
Date Tue, 14 Jul 2015 05:49:04 GMT

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

Sergey  updated CAMEL-8963:
---------------------------
    Description: 
In previous versions of camel (2.13.2 for sure) it was possible to use camel:route-suspend
command and specify route id only. In 2.15.2 its not possible anymore. For example:

{code}
karaf@root()> camel:route-list
 Context                           Route                                  Status
 -------                           -----                                  ------
 fi-remurex-cpty-context           fi-remurex-institution-queue           Started
karaf@root()> camel:route-suspend fi-remurex-institution-queue
Error executing command camel: route-suspend: argument context is required
{code}

At the same time, on <tab> key camel:route-suspend command still suggests route, but
not context as second parameter. Used route id is unique, so I don't think its a good idea
to ask for context always.

  was:
In previous versions of camel (2.13.2 for sure) it was possible to use camel:route-suspend
command and specify route id only. In 2.15.2 its not possible anymore. For example:

{code}
karaf@root()> camel:route-list
 Context                           Route                                  Status
 -------                           -----                                  ------
 fi-remurex-cpty-context           fi-remurex-institution-queue           Started
karaf@root()> camel:route-suspend fi-remurex-institution-queue
Error executing command camel: route-suspend: argument context is required

At the same time, on <tab> key camel:route-suspend command still suggests route, but
not context as second parameter. Used route id is unique, so I don't think its a good idea
to ask for context always.


> camel:route-suspend karaf command changed behaviour
> ---------------------------------------------------
>
>                 Key: CAMEL-8963
>                 URL: https://issues.apache.org/jira/browse/CAMEL-8963
>             Project: Camel
>          Issue Type: Bug
>    Affects Versions: 2.15.2
>            Reporter: Sergey 
>
> In previous versions of camel (2.13.2 for sure) it was possible to use camel:route-suspend
command and specify route id only. In 2.15.2 its not possible anymore. For example:
> {code}
> karaf@root()> camel:route-list
>  Context                           Route                                  Status
>  -------                           -----                                  ------
>  fi-remurex-cpty-context           fi-remurex-institution-queue           Started
> karaf@root()> camel:route-suspend fi-remurex-institution-queue
> Error executing command camel: route-suspend: argument context is required
> {code}
> At the same time, on <tab> key camel:route-suspend command still suggests route,
but not context as second parameter. Used route id is unique, so I don't think its a good
idea to ask for context always.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message