jaxb - Getting org.apache.camel.NoTypeConversionAvailableException in JBoss Fuse -
i'm getting error below in jboss fuse.
can tell me what's reason that's causing issue?
and there way resolve it?
java.io.ioexception: org.apache.camel.notypeconversionavailableexception: no type converter available convert type: com.abc.ws.abc required type: java.io.inputstream value com.abc.ws.abc@7644b2af @ org.apache.camel.converter.jaxb.jaxbdataformat.marshal(jaxbdataformat.java:153) : <dataformats> <jaxb contextpath="generated" id="generated"/> <jaxb contextpath="com.abc.ws" encoding="utf-8" id="abc" partclass="com.abc.ws.abc" prettyprint="true"/> </dataformats> <route autostartup="true" id="logcreateorgrequest"> <from id="_from10" uri="seda:logorganisationrequest"/> <process id="_process17" ref="abcprocessor"/> <marshal id="_marshal1" ref="abc"/> <convertbodyto id="_convertbodyto2" type="java.lang.string"/> <setbody id="_setbody18"> <simple> request - [${date:now:yyyy-mm-dd't'hh:mm:ss.sss.z}]\ntransactionid - ${exchangeproperty.cafno}\n${body}\n</simple> </setbody> <to id="_to40" pattern="inout" uri="file:/opt/logs/demographicsetup/abc? keeplastmodified=true&fileexist=append&filename=createorgrequest-${date:now:yyyymmdd}.txt&readlock=changed"/> </route>`
Comments
Post a Comment