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

camel-jbang - Running files should detect duplicated names

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.18.1, 3.19.0
    • camel-jbang
    • None
    • Unknown

    Description

      In case you mistakenly attempt to run the same file twice

      camel run foo.yaml --deps=xxxxx foo.yaml

      If you have args and many things on the CLI then it may slip that the same file is listed twice. And then we fail on starting due to duplicte routes with an error that can be hard to understand its due to same file loaded twice.

      Attachments

        Activity

          People

            davsclaus Claus Ibsen
            davsclaus Claus Ibsen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: