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

camel-jbang - unable to load properties from application.properties

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 4.7.0
    • 4.8.0
    • camel-jbang
    • $ camel version
      JBang version: 0.117.1
      Camel JBang version: 4.7.0
      
    • Unknown

    Description

      As documented, the properties can be loaded from the application.properties file

      In the current version, it is not possible anymore. Downgrading the Camel JBang version to 4.6.0 it works

      Steps to reproduce (to be executed in an empty folder):

      echo camel.jbang.runtime=spring-boot >> application.properties
      echo camel.jbang.gav=example:petstore:1.0-SNAPSHOT >> application.properties
      echo camel.jbang.exportDir=app >> application.properties
      echo camel.jbang.open-api=petstore-v3.json >> application.properties
      
      wget https://raw.githubusercontent.com/apache/camel-kamelets-examples/main/jbang/open-api-contract-first/petstore-v3.json
      
      camel export
      

      expected message:

      ...
      Exporting as Spring Boot project to: app
      

      current message:

      The runtime option must be specified
      

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: