You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2011/03/02 15:08:36 UTC

[jira] Resolved: (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?

     [ https://issues.apache.org/jira/browse/CAMEL-3736?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-3736.
--------------------------------

    Resolution: Fixed

> 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
>          Components: camel-core, camel-spring
>    Affects Versions: 2.6.0
>            Reporter: james strachan
>            Assignee: Claus Ibsen
>             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