I got it now. In the last example I forgot to use the @UseAdviceWith
annotation. At the end my test basis looks like:





--
View this message in context: 
http://camel.465427.n5.nabble.com/How-to-mock-a-bean-in-a-route-tp5722307p5722365.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to