Hi Claus, Webservice is not part of the route. What I want to achieve is when the webservice is invoked a message should be produced and sent to an endpoint (in this case direct:start is the endpoint).
I tested my code using a web client and the NPE was thrown in the line of calling the template.sendBody("hello world"). -- View this message in context: http://camel.465427.n5.nabble.com/Got-NPE-when-invoking-POJO-producer-tp2845554p2846079.html Sent from the Camel - Users mailing list archive at Nabble.com.