camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zzkozak <>
Subject How to mock a bean in a route?
Date Wed, 07 Nov 2012 15:37:31 GMT

 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,

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message