Hi, After digging the code which you shows to me, I found the cause of your issue. The http4 endpoint is created before the Http4Component is started, it is cause the NPE to make the test failed.
It's not a bug of CamelTestSupport. I will commit a quick fix for it today. -- 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.iteye.com (http://jnn.javaeye.com/) (Chinese) Twitter: willemjiang Weibo: 姜宁willem On Friday, December 7, 2012 at 6:01 AM, lleclerc wrote: > *edited last post! Think I found a bug! > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Test-Intercept-with-adviceWith-and-http-tp5723473p5723736.html > Sent from the Camel - Users mailing list archive at Nabble.com > (http://Nabble.com).