Marco Carletti created CAMEL-20351:
--------------------------------------

             Summary: Camel Jbang execution from remote file doesn't work 
anymore
                 Key: CAMEL-20351
                 URL: https://issues.apache.org/jira/browse/CAMEL-20351
             Project: Camel
          Issue Type: Bug
          Components: camel-jbang
    Affects Versions: 4.3.0
            Reporter: Marco Carletti


execution from remote doesn't load routes, example:
{code:java}
$ camel run 
https://github.com/apache/camel-kamelets-examples/tree/main/jbang/hello-java
2024-01-19 17:31:38.855  INFO 255708 --- [           main] 
org.apache.camel.main.MainSupport   : Apache Camel (JBang) 4.3.0 is starting
2024-01-19 17:31:39.061  INFO 255708 --- [           main] 
org.apache.camel.main.MainSupport   : Using Java 17.0.9 with PID 255708. 
Started by marco in /tmp/aaa
2024-01-19 17:31:39.652  INFO 255708 --- [           main] 
mel.cli.connector.LocalCliConnector : Management from Camel JBang enabled
2024-01-19 17:31:39.705  INFO 255708 --- [           main] 
el.impl.engine.AbstractCamelContext : Apache Camel 4.3.0 (CamelJBang) is 
starting
2024-01-19 17:31:39.895  INFO 255708 --- [           main] 
el.impl.engine.AbstractCamelContext : Routes startup (started:0)
2024-01-19 17:31:39.895  INFO 255708 --- [           main] 
el.impl.engine.AbstractCamelContext : Apache Camel 4.3.0 (CamelJBang) started 
in 190ms (build:0ms init:0ms start:190ms)
{code}
or
{code:java}
$ camel run https://gist.github.com/davsclaus/477ddff5cdeb1ae03619aa544ce47e92
2024-01-19 17:33:44.098  INFO 255974 --- [           main] 
org.apache.camel.main.MainSupport   : Apache Camel (JBang) 4.3.0 is starting
2024-01-19 17:33:44.301  INFO 255974 --- [           main] 
org.apache.camel.main.MainSupport   : Using Java 17.0.9 with PID 255974. 
Started by marco in /tmp/aaa
2024-01-19 17:33:44.805  INFO 255974 --- [           main] 
mel.cli.connector.LocalCliConnector : Management from Camel JBang enabled
2024-01-19 17:33:44.836  INFO 255974 --- [           main] 
el.impl.engine.AbstractCamelContext : Apache Camel 4.3.0 (CamelJBang) is 
starting
2024-01-19 17:33:44.963  INFO 255974 --- [           main] 
el.impl.engine.AbstractCamelContext : Routes startup (started:0)
2024-01-19 17:33:44.963  INFO 255974 --- [           main] 
el.impl.engine.AbstractCamelContext : Apache Camel 4.3.0 (CamelJBang) started 
in 127ms (build:0ms init:0ms start:127ms)
{code}



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

Reply via email to