Did you also configure the DozerTypeConverterLoader in the camel context?
<!-- the registry will be scanned and 'mapper' below will be found and installed --> <bean id="dozerConverterLoader" class="org.apache.camel.converter.dozer.DozerTypeConverterLoader" /> <bean id="mapper" class="org.dozer.DozerBeanMapper"> <property name="mappingFiles"> <list> <value>mapping.xml</value> </list> </property> </bean> Regards, Diether ________________________________ Van: jeff [via Camel] [ml-node+s465427n5732198...@n5.nabble.com] Verzonden: woensdag 8 mei 2013 21:24 To: Wuyts Diether Onderwerp: Re: From bind to bind My job works fine with a route which used a dozerMapper get from getBean of spring context. I have try with a simple convertbody : from("file://C:/Temp/camel/rep1/?noop=true") .split().tokenize("\n") .streaming() .unmarshal() .bindy(BindyType.Csv, Ticket.class) .convertBodyTo(TicketOUT.class) ... .to("log://after1") .marshal() .bindy(BindyType.Csv, TicketOUT.class) .to("log://after2") .recipientList(simple("stream:file?fileName=C:/Temp/camel/rep1/out/yop.csv")) .end() .log("fin") .end() ; But It throw the org.apache.camel.InvalidPayloadException: No body available of type: bean.ticketOut.TicketOUT but has value: bean.ticket.Ticket@547fa706 of type: bean.ticket.Ticket on: null. Caused by: No type converter available to convert from type: bean.ticket.Ticket to the required type: bean.ticketOut.TicketOUT with value [hidden email]<UrlBlockedError.aspx>[null]. Caused by: [org.apache.camel.NoTypeConversionAvailableException - No type converter available to convert from type: bean.ticket.Ticket to the required type: bean.ticketOut.TicketOUT with value bean.ticket.Ticket@547fa706] Do I have to configure something else ? thanks ! Jeff 2013/5/8 jeff <[hidden email]<UrlBlockedError.aspx>> > Oh ! Great ! > > Thanks > > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/From-bind-to-bind-tp5732109p5732195.html > Sent from the Camel - Users mailing list archive at Nabble.com. > ________________________________ If you reply to this email, your message will be added to the discussion below: http://camel.465427.n5.nabble.com/From-bind-to-bind-tp5732109p5732198.html To start a new topic under Camel - Users, email ml-node+s465427n465428...@n5.nabble.com To unsubscribe from Camel - Users, click here<http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=465428&code=ZGlldGhlci53dXl0c0BvcHRpcy5iZXw0NjU0Mjh8OTE4NjI3OTg5>. NAML<http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> -- View this message in context: http://camel.465427.n5.nabble.com/From-bind-to-bind-tp5732109p5732243.html Sent from the Camel - Users mailing list archive at Nabble.com.