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

Spring Boot auto configuration - NestedConfigurationProperty should only be for known Camel types

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.23.0
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      Currently we generte this for a range of complex objects that may appear as POJOs but they are likely not, so you cannot configure them, eg they dont have setters and a default no-arg constructor etc.

      We have a blacklist today, but instead we should flip it to be a whitelist for known Camel types that can be configured like the SSLContextParameters and others.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: