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 2025/05/21 11:45:00 UTC
[jira] [Resolved] (CAMEL-22087) [JBang] Unable to execute multithreading under different ports and process name
[ https://issues.apache.org/jira/browse/CAMEL-22087?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen resolved CAMEL-22087.
---------------------------------
Resolution: Fixed
okay it works with --name
> [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: Salvatore Mongiardo
> Priority: Minor
> Fix For: 4.10.5, 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)