concept Mock component in category camel

appears as: Mock component, Mock component, The Mock component
Camel in Action

This is an excerpt from Manning's book Camel in Action.

Figure 6.2. The Camel Test Kit is provided in two JAR files containing the JUnit extensions, Mock component, and producer template.

6.2. Using the Mock component

The Mock component is a cornerstone when testing with Camel—it makes testing much easier. In much the same way as a car designer uses a crash test dummy to simulate vehicle impact on humans, the Mock component is used to simulate real components in a controlled way.