Camel Spock Testing
A simple project showing how to use Spock to unit test camel routes.
This project uses Spock to explore a simple way to unit test routing logic avoiding the need for a full-fledged integration context.
- Apache Camel
- Spring Boot
Running the App
Running the tests
Sending messages along the Camel routes
The app starts a basic Spring context with Spring Boot putting a request listener on the default port.
To send a message along the Camel routes when the app is running, issue a simple GET request to