camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "peacock.snowdrift" <>
Subject Re: aggregator and onCompletion
Date Thu, 22 Aug 2013 03:11:32 GMT
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

The JUnit test checks that the result endpoint's successful and failure
exchanges are as expected.

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message