Hi That tutorial is very old, though you have discovered a little bug. So feel free to log a JIRA ticket http://camel.apache.org/support
If you want to get started with Camel then I recommend reading this article also - it has a great little example to go along with the article http://java.dzone.com/articles/open-source-integration-apache On Sun, Oct 26, 2014 at 12:03 AM, javajenks <[email protected]> wrote: > Sure - in fact, the message payload was not being logged at all. > > Added code to check the exception after producer.process(..) - there was a > NPE generated during processing, as the logger had not been initialised - > see below for stacktrace. > > > Caused by: java.lang.NullPointerException: null > at > org.apache.camel.component.log.LogProducer.process(LogProducer.java:39) > ~[camel-core-2.14.0.jar:2.14.0] > at > org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:105) > ~[camel-core-2.14.0.jar:2.14.0] > at > org.apache.camel.impl.DefaultAsyncProducer.process(DefaultAsyncProducer.java:37) > ~[camel-core-2.14.0.jar:2.14.0] > at > org.apache.camel.example.reportincident.ReportIncidentEndpointImpl.sendToCamelLog(ReportIncidentEndpointImpl.java:74) > ~[classes/:na] > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/ReportIncident-tutorial-Logging-Issue-tp5758035p5758037.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- Red Hat, Inc. Email: [email protected] Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen hawtio: http://hawt.io/ fabric8: http://fabric8.io/
