camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "dhruv.sachdeva" <dhruv.sachd...@jktech.com>
Subject Camel route from testting
Date Mon, 07 Jan 2013 05:48:31 GMT
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/Camel-route-from-testting-tp5725027.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message