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

camel-microprofile-config: Handle NoSuchElementException in CamelMicroProfilePropertiesSource. loadProperties(Predicate<String> filter)

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.18.0, 3.18.1
    • 3.18.2, 3.19.0
    • None
    • Unknown

    Description

      Extension of https://issues.apache.org/jira/browse/CAMEL-18233.

      We need to handle NoSuchElementException in the loadProperties(Predicate<String> filter) variant of loadProperties in CamelMicroProfilePropertiesSource. I thought it was not required because the config does an optional lookup, but it seems even that can fail if config values are not resolvable.

      Attachments

        Activity

          People

            jamesnetherton James Netherton
            jamesnetherton James Netherton
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: