Perfect. Thank you Claus! Your quick response is very much appreciated.
--
View this message in context:
http://camel.465427.n5.nabble.com/ThrottlingInflightRoutePolicy-tp5713970p5713973.html
Sent from the Camel - Users mailing list archive at Nabble.com.
On Mon, Jun 4, 2012 at 7:23 PM, gramanero wrote:
> I need to verify my understanding of the ThrottlingInflightRoutePolicy. I
> have the following policy and route defined:
>
> class="org.apache.camel.impl.ThrottlingIn
I need to verify my understanding of the ThrottlingInflightRoutePolicy. I
have the following policy and route defined:
http://localhost:/MyService"; pattern="InOnly"/>
My understanding is that, after each
,
>>>>>>>> Please have a look at the following route def.:
>>>>>>>>
>>>>>>>> RouteBuilder:
>>>>>>>> ==
>>>>>>>>
>>>>>>>> fromF("file:///tmp/start
to("file:///tmp/proceed1").
>>>>>>> to("file:///tmp/proceed2");
>>>>>>>
>>>>>>>
>>>>>>> from("file:///tmp/proceed2").routeId("test.route.2").routePolicyRef("myPo
PolicyRef("myPolicy").delay(2).
>>>>>> to("file:///tmp/archive");
>>>>>>
>>>>>> applicationContext.xml
>>>>>> ==
>>>>>> >>>>> class="org.apache.camel.i
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> The throttling policy does not take effect, since files keep coming
>>>>> into
>>>>> the
>>>&g
ThrottlingInflightRoutePolicy">
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> The throttling policy does not take effect, since files keep coming
>>>> into
>>&g
since files keep coming into
>>> the
>>> tmp/proceed dirs, regardless
>>> the policy that says no more than 3 files at a time. Now I am clearly
>>> doing
>>> something wrong, but according
>>> to the doc. what I have here should be enough.
>>>
&g
>
> No the route is fine. The file consumer is not concurrent, and neither
> is the multicast by default.
>
> Read this blog entry
> http://davsclaus.blogspot.com/2009/05/on-road-to-camel-20-concurrency-with.html
>
>
>
>
>> Regards,
>> Farhad S.
>> --
>> View this mes
multicast by default.
Read this blog entry
http://davsclaus.blogspot.com/2009/05/on-road-to-camel-20-concurrency-with.html
> Regards,
> Farhad S.
> --
> View this message in context:
> http://old.nabble.com/ThrottlingInflightRoutePolicy-does-not-take-effect-in-DSL-tp26560144p26
The throttling policy does not take effect, since files keep coming into the
tmp/proceed dirs, regardless
the policy that says no more than 3 files at a time. Now I am clearly doing
something wrong, but according
to the doc. what I have here should be enough.
Regards,
Farhad S.
--
View t
12 matches
Mail list logo