At the end of the route, eg after 3.

On Fri, Nov 25, 2016 at 9:01 PM, sa_james <sa_remin...@hotmail.com> wrote:
> Hi List,
> newbie question regarding the fundamental concept of completeness of an
> exchange. Here is a sentence from the camel doc:
> "The onCompletion DSL allows you to add custom routes/processors when the
> original Exchange is complete"
> Let's say I have this simple route:
>
> from("jms:source").
>       onCompletion().
>          to("log:complete").
>       end().
>   to("log:test").
>      to("jms:sink")
>
>
> When does the completion triggers?
> 1-  right before the to("log:test")?
> 2-  right before the to("jms:sink")?
> 3-  right after the to("jms:sink")?
>
> Thanks.
>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Exchange-is-complete-meaning-tp5790648.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



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

Reply via email to