Hi Claus,

Thanks for your input. Do you suggest to use synchronous flag  on the SEDA
and VM producers? They have a  flag waitForTaskToComplete that I curretly
set to Never. Indeed if I set these flags to Always, the processing becomes
synchronous and everything works fine. The challenge is that these SEDA and
VM tasks take long to complete and I do not want them to impact response
time. So, the question thus is if I can still have the SEDA and VM process
asynchronously and ignore by Unit of Work.

Regards,
Max.


On Fri, Jun 6, 2014 at 6:16 AM, Claus Ibsen <[email protected]> wrote:

> Hi
>
> You can set the synchronous option. See
> http://camel.apache.org/asynchronous-routing-engine.html
>
> On Fri, Jun 6, 2014 at 12:11 PM, Max Bridgewater
> <[email protected]> wrote:
> > Hi,
> >
> > I have a restlet route that triggers SEDA and VM routes. The unit of work
> > is used to do some transformation of the result before it is sent to the
> > HTTP client. It works fine as long as there is no SEDA or VM. As soon as
> > the latter two are included, the unit of work is not executed anymore.
> >
> > This seems to be related to the following thread:
> >
> http://grokbase.com/t/camel/users/13856jw2j0/unit-of-work-scope-and-direct-seda-vm-components
> >
> > My question: how can I tell camel to simply ignore async routes such that
> > they do not impact unit of work.
> >
> > Thanks.
> > Max.
>
>
>
> --
> Claus Ibsen
> -----------------
> Red Hat, Inc.
> Email: [email protected]
> 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