No exchange is not null. I have found out a way to overcome this by
invoking the loggerservice from a different route,

.bean("requestUpdater", "setRequestToInProcessState")
 .wireTap("direct:logRoute")
     .newExchangeBody(constant("Some log message."))
     .end()
.enrich("bean:aBean?method=someMethod")

from("direct:logRoute")
    .bean("loggerService);

On Tue, Jun 7, 2016 at 4:45 PM, yogu13 [via Camel] <
[email protected]> wrote:

> by any chance your body of the exchange is null ?
>
> Regards,
> -Yogesh
>
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
>
> http://camel.465427.n5.nabble.com/org-apache-camel-NoTypeConversionAvailableException-while-using-WireTap-tp5783486p5783525.html
> To unsubscribe from org.apache.camel.NoTypeConversionAvailableException
> while using WireTap, click here
> <http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5783486&code=cm1uYWlyMDA3QGdtYWlsLmNvbXw1NzgzNDg2fC01ODY0NjU1NTc=>
> .
> 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/org-apache-camel-NoTypeConversionAvailableException-while-using-WireTap-tp5783486p5783603.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to