You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by srinivas reddy <sr...@gmail.com> on 2020/02/20 19:36:28 UTC

issue with on completion

Hi Team,
   When we are handling the files related stuff with apache camel we are
seeing below issues .especially when there is multi processing.

from("direct:a")
.multicast()
.parallelProcessing().to("direct:x", "direct:y");


here suppose direct y route is taking long time than direct x . if we add
on completion to this direct:a route it's not waiting until both x and y
routes complete.

especially case like y is trying to write a large file. it's not waiting .




From:
Srinivasa reddy Eevuri
08/mca/33,
NIT Durgapur.
                                    " known is drop and unknown is an ocean"

Re: issue with on completion

Posted by WEIQUAN YUAN <we...@gmail.com>.
did you remove parallelProcessing, see what is the difference?

On Fri, Feb 21, 2020 at 3:32 AM srinivas reddy <sr...@gmail.com>
wrote:

> Hi Team,
>    When we are handling the files related stuff with apache camel we are
> seeing below issues .especially when there is multi processing.
>
> from("direct:a")
> .multicast()
> .parallelProcessing().to("direct:x", "direct:y");
>
>
> here suppose direct y route is taking long time than direct x . if we add
> on completion to this direct:a route it's not waiting until both x and y
> routes complete.
>
> especially case like y is trying to write a large file. it's not waiting .
>
>
>
>
> From:
> Srinivasa reddy Eevuri
> 08/mca/33,
> NIT Durgapur.
>                                     " known is drop and unknown is an
> ocean"
>


-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Weiquan Yuan
Located in Ottawa, Canada