Hi Jeffery.. do you have the camel-xmlbean-*.jar in the classpath?? On Nov 9, 2007 12:29 AM, Jeffery <[EMAIL PROTECTED]> wrote: > > I tried with this line of codes: > ... > from(PRODUCER_EP_URI).unmarshal().xmlBeans().to(CONSUMER_EP_URI); > ... > But exceptions are reported: > > java.lang.IllegalArgumentException: The class > org.apache.camel.dataformat.converter.XmlBeansDataType is not on the > classpath! Cannot use the dataFormat > [EMAIL PROTECTED] > at > org.apache.camel.model.dataformat.DataFormatType.createDataFormat(DataFormatType.java:68) > at > org.apache.camel.model.dataformat.DataFormatType.getDataFormat(DataFormatType.java:54) > at > org.apache.camel.model.UnmarshalType.createProcessor(UnmarshalType.java:89) > at > org.apache.camel.model.ProcessorType.makeProcessor(ProcessorType.java:882) > at > org.apache.camel.model.ProcessorType.addRoutes(ProcessorType.java:87) > at org.apache.camel.model.RouteType.addRoutes(RouteType.java:182) > at org.apache.camel.model.RouteType.addRoutes(RouteType.java:80) > at org.apache.camel.model.RouteType.addRoutes(RouteType.java:71) > at > org.apache.camel.impl.DefaultCamelContext.startRouteDefinitions(DefaultCamelContext.java:449) > at > org.apache.camel.impl.DefaultCamelContext.doStart(DefaultCamelContext.java:441) > at org.apache.camel.impl.ServiceSupport.start(ServiceSupport.java:51) > > Should I configure something somewhere? > > Thanks in advance. > > -- > View this message in context: > http://www.nabble.com/How-to-unmarshal-with-XMLBeans--tf4775991s22882.html#a13661850 > Sent from the Camel - Users mailing list archive at Nabble.com. > >
-- Regards, Hiram Blog: http://hiramchirino.com
