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

spring-boot - Allow to customize the generated Converter

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • None
    • None
    • Unknown

    Description

      In Camel Spring Boot, we have a use case where the generated converter is too limited. Indeed by default, the complex types can only be configured using references to specific beans but in this particular case, the target type could be easily converted from a string or an integer.

      The goal of this improvement is to provide a way to customize generated Converters to be able to add more converters and/or improve the generated code by, for example, delegating the conversion of a string to a specific type in case the string is not a reference.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              nfilotto Nicolas Filotto
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: