You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Salvatore Mongiardo (Jira)" <ji...@apache.org> on 2025/05/20 09:39:00 UTC
[jira] [Updated] (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 ]
Salvatore Mongiardo updated CAMEL-22087:
----------------------------------------
Description:
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
was:
Given the following command for spring-boot runtime (but the same happens for quarkus):
{code:java}
camel run --repos=https://maven.repository.redhat.com/ga --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
> [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: Bug
> Components: camel-jbang
> Affects Versions: 4.10.3, 4.11.0
> Reporter: Salvatore Mongiardo
> Priority: Major
>
> 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)