On Fri, Sep 24, 2010 at 4:27 PM, Olivier.Roger <olivier.ro...@bsb.com> wrote:
>
> Hello,
>
> I am using the new HawtDB aggregatorRepository.
> I saw in the documentation that aggregated messages can be published using
> one of the 5 completion checks.
>
> I was wondering if there was a way not to publish message if completion is
> not reach after a given time.
>
> In my case I split a message in 3, which are transformed separately (by an
> external process). The transformation can provoke and error.
> In the happy path I aggregate the 3 transformed parts back into a message.
> Otherwise I would like the route to fails and the aggregated message for
> that correlatedId to be removed from the aggregator repository.
>
> I guess I can do that in Java using the repository Spring Bean, it that a
> better way ?
>

Yeah you need to remove those manually from Java code.

Fell free to suggest API changes if there is something that can be done smarter.


> Thanks in advance,
>
> Olivier
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Aggregator-Howto-remove-from-persistency-tp2852702p2852702.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>



-- 
Claus Ibsen
Apache Camel Committer

Author of Camel in Action: http://www.manning.com/ibsen/
Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus

Reply via email to