camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zzkozak <mar...@pikula.de>
Subject How to mock a bean in a route?
Date Wed, 07 Nov 2012 15:37:31 GMT
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.

Mime
View raw message