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

Salvatore Mongiardo closed CAMEL-21440.
---------------------------------------
    Resolution: Not A Bug

> [JBang] No way to change the running process name. The default name is always 
> "camel-1"
> ---------------------------------------------------------------------------------------
>
>                 Key: CAMEL-21440
>                 URL: https://issues.apache.org/jira/browse/CAMEL-21440
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-jbang
>    Affects Versions: 4.8.1
>            Reporter: Salvatore Mongiardo
>            Priority: Minor
>
> * jbang app install --force camel@apache/camel/camel-4.8.x
> {code:java}
> [jbang] Resolving dependencies...
> [jbang]    org.apache.camel:camel-bom:4.8.1@pom
> [jbang]    org.apache.camel:camel-jbang-core:4.8.1
> [jbang]    org.apache.camel.kamelets:camel-kamelets:4.8.0
> [jbang] Dependencies resolved
> JBang version: 0.119.0
> Camel JBang version: 4.8.1 {code}
> +*Camel cli configuration steps:*+
>  * camel config set 
> deps=org.apache.camel.springboot:camel-timer-startercamel:managementcamel:cli-connector
>  * camel config set runtime=spring-boot
>  * camel config set gav=com.foo:acme:1.0-SNAPSHOT
>  * camel config set build-property=openshift-maven-plugin-version=1.17.0
>  * camel config set camel-spring-boot-version=4.8.0
> +*Init / Export application*+
>  * camel init test.yaml --directory=app
>  * mkdir -p app/export
>  * camel export --dir app/export
> Let's run the CSB application and retrieve it from the active processes list:
>  * camel run app/init.yaml
>  * camel ps
> The result is "{*}camel-1{*}", but generally it would have been named with 
> the yaml name ("{*}test{*}")
> Even changing the name through the specific option:
>  * camel run app/test.yaml --name=test
> The result is always the same:
> {code:java}
> camel ps
>   PID    NAME     READY  STATUS   AGE  TOTAL  FAIL  INFLIGHT 
>  452233  camel-1   1/1   Running   5s    0/2   0/0       0/0 {code}
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to