Yep you can specify the timeout either as
.pollEnrich().simple("${body}").timeout(5000)
Or
.pollEnrich(simple("${body}"), 5000)
On Fri, Jan 15, 2016 at 5:53 PM, erik_romson <[email protected]> wrote:
> Hi all,
> I'm been sitting with this for some time
>
> is there a way to set the timeout when doing
>
> from("direct:start")
> .pollEnrich().simple("${body}")
> .to("direct:result");
>
> if the body is something like
>
> file:///path/step1?fileName=file
>
> something very simple probably that I have overlooked
>
> if not, what are the workarounds?
> Regards
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/pollenrich-with-timeout-and-dynamic-uri-tp5776324.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