On Tue, Apr 26, 2011 at 7:23 PM, Sandi Dahl <[email protected]> wrote:
> I am a new developer working with Camel. We need to route messages using a 
> parallel processed recipient list. We are using an aggregation strategy to 
> combine the results into one message.
>
> Our requirements include the need to know which specific endpoints did not 
> respond before a time out occurs. We need this information to display to the 
> user so they understand what information is included in the results. I 
> understand a TimeoutAwareAggregationStrategy can be used which will call 
> timeout() before ending.
>
> Is it possible to discover which specific endpoints did not respond within 
> the specified timeout period rather than just knowing that all did not 
> complete in time?

You need to bookkeep that yourself. For example in the aggregate
method. If its invoked you know that endpoint returned back a
response.

On the Exchange there is a header (or property on exchange) with a
Exchange.TO_ENDPOINT key that ought to have the uri of the endpoint
where the recipient list send it.

Oh and you should use the @user mailinglist for questions about using Camel.


>
> Thanks!
> Sandi
>
>
>



-- 
Claus Ibsen
-----------------
FuseSource
Email: [email protected]
Web: http://fusesource.com
CamelOne 2011: http://fusesource.com/camelone2011/
Twitter: davsclaus
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/

Reply via email to