Well, you have an example of the contextPath being "com.mycompany.connector.jms" yet your bean example that worked had the package of "com.mycompany.connector.bean" for the TestBean. Those don't look the same to me. From this, it would guess that your contextPath in the example below is not correct and that it should be "com.mycompany.connector.bean".
-----Original Message----- From: dresden [mailto:[email protected]] Sent: Wednesday, September 08, 2010 2:25 PM To: [email protected] Subject: RE: Solution?? JAXB Unmarshalling - DataFormat error ... suggestions? Yes. I have an annotated class in that package that I want to "unmarshall into". import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRootElement; @XmlRootElement(name="test") public class TestBean { ... Now, it is not an ObjectFactory, but it is annotated. Am I using the Jaxb bean correctly? <route> <from uri="amq2:queue:take" /> <unmarshal> <jaxb id="myJaxb" prettyPrint="true" contextPath="com.mycompany.connector.jms" /> </unmarshal> <bean ref="consumer" /> <to uri="amq2:queue:taken" /> </route> -- View this message in context: http://camel.465427.n5.nabble.com/JAXB-Unmarshalling-DataFormat-error-su ggestions-tp2814620p2818518.html Sent from the Camel - Users mailing list archive at Nabble.com.
