This link could be helpful: http://camel.apache.org/advicewith.html
Best, Christian On Wed, Nov 7, 2012 at 4:37 PM, zzkozak <[email protected]> wrote: > Hi, > > I have the following route and would like to test it by throwing an > exception by the orderRequestCreator bean. How do I do that? > > > > I am using annotated JUnit tests, like this: > > > > Thank you in advance, > Marcin > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/How-to-mock-a-bean-in-a-route-tp5722307.html > Sent from the Camel - Users mailing list archive at Nabble.com. > --
