[ 
https://issues.apache.org/activemq/browse/CAMEL-1074?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=47544#action_47544
 ] 

Willem Jiang commented on CAMEL-1074:
-------------------------------------

I could add an option int he JaxbDataFormat to let it return the value of 
JAXBElement, so you don't do additional hacking on the ObjectFactory. 

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

Reply via email to