[
https://issues.apache.org/activemq/browse/CAMEL-1074?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Willem Jiang resolved CAMEL-1074.
---------------------------------
Resolution: Won't Fix
It is a JAXB ObjectFactory issue.
BTW, you can remove the ObjectFactory , just leave the jaxb.index file along,
we can still get a PersonType instance after unmarshalling.
jaxb.index works for the code first programming model and ObjectFactory is
generated for the schema first programming model.
> .unmarshal(new JaxbDataFormat("com.foo.bar")) returning JAXBElement
> -------------------------------------------------------------------
>
> Key: CAMEL-1074
> URL: https://issues.apache.org/activemq/browse/CAMEL-1074
> Project: Apache Camel
> Issue Type: Bug
> Components: camel-jaxb
> Affects Versions: 1.4.0
> Environment: java 1.5
> Reporter: tim mcnamara
> Assignee: Willem Jiang
> Attachments: camel-jaxb.zip
>
>
> using .unmarshal(new JaxbDataFormat("com.foo.bar") is returning a JAXBElement
> instead of the desired object that was generated by xjc.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.