Salvatore Mongiardo created CAMEL-21441:
-------------------------------------------
Summary: [JBang] Command 'log' doesn't work (it's hanging) if
running is executed by everything but camel cli
Key: CAMEL-21441
URL: https://issues.apache.org/jira/browse/CAMEL-21441
Project: Camel
Issue Type: Bug
Components: camel-jbang
Affects Versions: 4.8.1
Reporter: Salvatore Mongiardo
* 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
So, let's create a process (camel-1) using the exported project with maven:
* mvn spring-boot:run -f app/export/pom.xml
The command:
{code:java}
camel log camel-1
{code}
doesn't work as expected. The behaviour is different if we run with the CLI:
* camel run app/init.yaml
--
This message was sent by Atlassian Jira
(v8.20.10#820010)