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

BeanDefinition.beanType should be of type String rather than Class so that the XML can be parsed without necessarily having the full class loader available at XML parse time. does using Class even work?

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.6.0
    • 2.7.0
    • camel-core, camel-spring
    • None

    Description

      Its probably safer to make the Class attribute an @XmlTransient and add an @XmlAttribute String type field/attribute which is used to lazily create the beanType Class using the context/current class loader so that JAXB doesn't need to have to worry about class loaders

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: