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.
What do you think? You can use Markdown in your comment.
To write code, indent each line with 4 spaces. Or, to paste a lot of code, you can put it in pastebin.com and share the link in your comment.