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

Salvatore Mongiardo commented on CAMEL-22087:
---------------------------------------------

I tested with CSB and Quarkus as well. I've got a fix that is almost completed. 
I would ask for your review, it will be linked soon. Feel free to assign this 
to me if you want

> [JBang] Unable to execute multithreading under different ports and process 
> name
> -------------------------------------------------------------------------------
>
>                 Key: CAMEL-22087
>                 URL: https://issues.apache.org/jira/browse/CAMEL-22087
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-jbang
>    Affects Versions: 4.10.3, 4.11.0
>            Reporter: Salvatore Mongiardo
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 4.12.0
>
>
> Given the following command for spring-boot runtime (but the same happens for 
> quarkus):
> {code:java}
> camel run --port 8082 --verbose --name test camel-1.yaml{code}
> where camel-1.yaml is:
> {code:java}
> - route:
>     from:
>       uri: timer:yaml
>       parameters:
>         period: "1000"
>       steps:
>         - setBody:
>             simple: Hello Camel from ${routeId}
>         - log: ${body} {code}
> the running ignores both the parameters: `–name` and `–port`
> {code:java}
> 2025-05-20T10:54:17.524+02:00  INFO 21915 --- [           main] 
> o.s.b.w.e.undertow.UndertowWebServer     : Undertow started on port 8080 
> (http) with context path '/'{code}
> Port is always `8080`. About process name, it's always `camel-1`
> {code:java}
> camel ps
>   PID   NAME     READY  STATUS   AGE  TOTAL  REMOTE  FAIL  INFLIGHT   
>  21915  camel-1   1/1   Running  15s     12       0   0/0       0/0{code}
> In that situation, it seems not possible to run multiple camel instances on 
> different ports/names
>  



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

Reply via email to