Hi Pradeep, 

Sorry, May be I didnt convey it properly. If you refer the camel context
above. I have direct endpoints, If I use a test class it wont work. 

For example: I can mock direct:B, but if you refer 'Hop1' route it consumes
from direct:B. In this scenario it will fail because, there cannot be more
than one consumer for direct endpoint. 

I think now you get an idea to help me better. :)

Cheers
Guru
gnanaguru.com



--
View this message in context: 
http://camel.465427.n5.nabble.com/Unit-testing-each-route-in-a-large-camel-context-tp5749750p5749758.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to