Use the @MockEndpoints annotation in Camel [Video]
Want to automatically mock endpoints in your Camel routes, without having to change your code?
You can use the @MockEndpoints
annotation when using Camel with Spring.
This video shows you how, and builds a complete test case from start to finish.