use "file:target*" with * as wildcard, otherwise it matches exact.

Read the docs / book about notify builder
http://camel.apache.org/notifybuilder

It says it uses the same matching as intercept
http://camel.apache.org/intercept.html

On Fri, Jan 13, 2017 at 1:09 PM, sa_james <sa_remin...@hotmail.com> wrote:
> Now I am getting closer to my goal.
>
> Consider this:
> route1 = from("file:target?fileName=$simple(random())")
> route2 = from("file:target")
>
> I just found out that
>  notifyBuilder.wereSentTo("file:target") does not work for the first case.
> Does it mean that the uri in nofityBuilder also take option-parameters into
> account?.
> If that is the case, then I have made a huge leap into my understanding of
> camel.
> Thanks.
>
>
>
> -----
> Guile Newbie
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Aggregate-completion-notifybuilder-tp5792441p5792508.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