Did you remove the call of mockEndpoints();?
-- Willem Jiang Red Hat, Inc. FuseSource is now part of Red Hat Web: http://www.fusesource.com | http://www.redhat.com Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) (English) http://jnn.javaeye.com (http://jnn.javaeye.com/) (Chinese) Twitter: willemjiang Weibo: willemjiang On Tuesday, December 4, 2012 at 9:59 PM, lleclerc wrote: > I still get the same error. > > I modified the code in the first post. I use the exact same String > everywhere now. > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Test-Intercept-with-adviceWith-and-http-tp5723473p5723611.html > Sent from the Camel - Users mailing list archive at Nabble.com > (http://Nabble.com).