Hi 

I need to write unit test cases for some camel routes using (Version 1.6)

Can anyone please suggest if it is possible to mock components(processor and
idempotentConsumer) inside the route? If yes, please suggest the approach.


Below is the route snippet

        from("direct:someuri").process(someClassObject).
       
idempotentConsumer(header("someHeadername"),socratesMessageIdRepository(bean(JpaTemplate.class)))./*process(exceptionProcessor)*/
        to(someQueues);



--
View this message in context: 
http://camel.465427.n5.nabble.com/Testing-of-routes-using-Camel-1-6-tp5725026.html
Sent from the Camel Development mailing list archive at Nabble.com.

Reply via email to