You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Mikhail Lukyanov <lu...@gmail.com> on 2020/09/18 12:58:12 UTC

Continue statement analog in loop EIP. How breakes one iteration and continue

Hello everyone.

How in loop EIP breaks one iteration (in the loop), if a specified
condition occurs, and continues with the next iteration?

-- 
*With best regards, Lukyanov Mikhail*
*Tel: **+7-909-69-71-547*

Re: Continue statement analog in loop EIP. How breakes one iteration and continue

Posted by Claus Ibsen <cl...@gmail.com>.
Hi

There is no "break" like in java language.

You can use filter

loop
   to a
   filter if XXXX
     to b
   end
   to c
end // end loop

On Fri, Sep 18, 2020 at 2:58 PM Mikhail Lukyanov <lu...@gmail.com> wrote:
>
> Hello everyone.
>
> How in loop EIP breaks one iteration (in the loop), if a specified
> condition occurs, and continues with the next iteration?
>
> --
> *With best regards, Lukyanov Mikhail*
> *Tel: **+7-909-69-71-547*



-- 
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2