Hi ,
I have to write a unit test case for myclass which routes a message to
queues using choice processor and checking predicates such as when.
Here is a code snippet:-
from("direct:setMessageIdentifier").
choice().
when(ns.xpath("/cus:CustomerUpdateRoot")
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").proces