camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xiaotao183 <xiaotao...@gmail.com>
Subject Re: Got NPE when invoking POJO producer
Date Mon, 20 Sep 2010 00:19:40 GMT

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.

Mime
View raw message