camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ranjitkumarm <rmnair...@gmail.com>
Subject org.apache.camel.NoTypeConversionAvailableException while using WireTap
Date Mon, 06 Jun 2016 08:46:35 GMT
Hello,
     I am encountering NoTypeConversionAvailableException while using
WireTap in my routes.

An excerpt from the route is as follows,
 
.bean("requestUpdater", "setRequestToInProcessState")
 .wireTap("bean:loggerService")
     .newExchangeBody(constant("Some log message."))
     .end()
.enrich("bean:aBean?method=someMethod")

I get the following exception,

org.apache.camel.NoTypeConversionAvailableException: No type converter
available to convert from type: null to the required type: java.lang.String
with value null
	at
org.apache.camel.impl.converter.BaseTypeConverterRegistry.mandatoryConvertTo(BaseTypeConverterRegistry.java:198)
	at
org.apache.camel.processor.SendDynamicProcessor.resolveEndpoint(SendDynamicProcessor.java:144)
	at
org.apache.camel.processor.SendDynamicProcessor.process(SendDynamicProcessor.java:104)
	at
org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:468)
	at
org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:190)
	at
org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:109)
	at
org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:87)
	at
org.apache.camel.processor.WireTapProcessor$1.call(WireTapProcessor.java:137)
	at
org.apache.camel.processor.WireTapProcessor$1.call(WireTapProcessor.java:133)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)


I am using Camel version 2.17.1. Any help in this regards would be
appreciated.

Regards,
Ranjit



--
View this message in context: http://camel.465427.n5.nabble.com/org-apache-camel-NoTypeConversionAvailableException-while-using-WireTap-tp5783486.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message