ceposta wrote > sorry, i mean your unit test I don't think I can do that. The test creates the routes, using a ProducerTemplate as the start URI and a MockEndpoint for the destination URI. I create a RouteBuilder and assign the routes to it using the context. I create my test data and use template.sendBodyAndHeader() to send it to the endpoint.
The JUnit test checks that the result endpoint's successful and failure exchanges are as expected. -- View this message in context: http://camel.465427.n5.nabble.com/aggregator-and-onCompletion-tp5737710p5737714.html Sent from the Camel - Users mailing list archive at Nabble.com.
