camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "peacock.snowdrift" <mark.har...@arcinnovations.co.nz>
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
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.

Mime
View raw message