Hi

Set the exception on the Exchange instance that you return.

On Fri, May 2, 2014 at 7:26 PM, Craig Taylor <ctalk...@ctalkobt.net> wrote:
> I'm attempting to implement an AggregationStrategy and running into issues
> when I try to add a throws Exception to the aggregate interface.   The
> aggregate is aggregating and enhancing the elements being aggregated at the
> same time.
>
> Database look ups are being loaded for evaluation of aggregation and then
> additional elements on the exchanges are populated.  These operations may
> throws exceptions (rarely) but I'd still like my exception router to handle
> them.
>
> Suggestions?
>
> Camel 2.9.0 is the camel version.
>
>
> --
> -------------------------------------------
> Craig Taylor
> ctalk...@ctalkobt.net



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cib...@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
hawtio: http://hawt.io/
fabric8: http://fabric8.io/

Reply via email to