camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Willem Jiang <willem.ji...@gmail.com>
Subject Re: Problems triggering a camel route in OSGi
Date Mon, 30 May 2011 14:01:03 GMT
On 5/30/11 8:22 PM, Bengt Rodehav wrote:
> Whenever I try to call the trigger() method from somewhere else, the
> mCamelContext member is null and I get a NPE when trying to create the
> producer template. Why is that?

Can you show use the stack trace of the NPE?


-- 
Willem
----------------------------------
FuseSource
Web: http://www.fusesource.com
Blog:    http://willemjiang.blogspot.com (English)
          http://jnn.javaeye.com (Chinese)
Twitter: willemjiang
Weibo: willemjiang

Mime
View raw message