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

Fail starting Camel if AnnotationTypeConverterLoader could not load any type converters

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.5.0
    • 2.6.0
    • camel-core
    • None

    Description

      When using Camel the type converters is loaded on the classpath using AnnotationTypeConverterLoader. We should let it thrown an exception if it could not find any type converters as it would cause Camel to startup with a very few type converter. This causes problems for end users when the cannot easily convert from XML-String, File-String etc.

      This can happen in runtimes such as OSGi, JBoss, or other containers where classloading can play tricks.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: