Hi Spencer, Welcome to our community :) .
> from('direct:start').filter().method('bean', > 'matches').to('mock:endpoint').stop() > > In my test, I am trying to mock out the method 'matches' call using mockito. The approach of mine choice would be to register Mockito mock in the Camel registry under the 'bean' name. MyBean myBean = Mockito.mock(MyBean.class); ... SimpleRegistry registry = new SimpleRegistry(); registry.put("bean", myBean); CamelContext ctx = new DefaultCamelContext(registry); ... ctx.createProducerTemplate().sendBody("direct:start", "Mockito FTW!"); ... Mockito.verify(myBean).matches(); AdviceWith seems to be a too big cannon for shooting the tiny little mock :) . Best regards. -- Henryk Konsek http://henryk-konsek.blogspot.com