Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-20351

Camel Jbang execution from remote file doesn't work anymore

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.3.0
    • 4.4.0
    • camel-jbang
    • None
    • Unknown
    • Regression

    Description

      execution from remote doesn't load routes, example:

      $ 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)
      

      or

      $ 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)
      

      Attachments

        Activity

          People

            Federico Mariani Federico Mariani
            mcarlett Marco Carletti
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: