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?
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

                 Key: CAMEL-3736
                 URL: https://issues.apache.org/jira/browse/CAMEL-3736
             Project: Camel
          Issue Type: Task
            Reporter: james strachan
             Fix For: 2.7.0


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

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to