December 2013
Intermediate to advanced
424 pages
9h 7m
English
When developing complex Processor implementations, it is useful to test them in isolation to ensure that they are fully exercised—something that may not necessarily be straightforward in a production route. Likewise, when developing Java classes marked with Camel annotations for bean binding, you want to check the binding logic as well as logic contained within the class. This recipe presents an approach for testing these types of scenarios.
The Java code for this recipe is located in the org.camelcookbook.examples.testing.exchange package.
Processors are typically used for composite actions that involve modifying the body of an exchange as well as a number of headers. Here is ...
Read now
Unlock full access