Re: Looping in routes using Direct Component - Performance impact?

2016-10-14 Thread Vitalii Tymchyshyn
I think you would get into a recusion this way and end up with stack overflow. You should try http://camel.apache.org/dynamic-router.html Best regards, Vitalii Tymchyshyn 13 жовт. 2016 р. 18:31 "Goyal, Arpit" пише: > Hi, > > We currently are on 2.16.3 version and can't use

Re: Looping in routes using Direct Component - Performance impact?

2016-10-14 Thread Claus Ibsen
Hi Yes if you loop 1000 times (or alot) then message history will take up memory on the exchange as each step in the routes is recored by default. You can turn this off http://camel.apache.org/message-history.html But as Brad says its not ideal to keep looping in Camel routes as they are not

Re: Looping in routes using Direct Component - Performance impact?

2016-10-14 Thread Brad Johnson
t").to("direct:s1").otherwise().process("end processing"); > > > > > > Now if there are thousands of pages, it is possible that this loop > > creates > > > lot of objects in memory & can create performance issue? Is there a way > >

RE: Looping in routes using Direct Component - Performance impact?

2016-10-14 Thread Goyal, Arpit
ync or remove the > looping out of the route overall. > > Regards, > Arpit. > > -Original Message- > From: souciance [mailto:souciance.eqdam.ras...@gmail.com] > Sent: Thursday, October 13, 2016 3:45 PM > To: users@camel.apache.org > Subject: Re: Looping in routes using

Re: Looping in routes using Direct Component - Performance impact?

2016-10-14 Thread souciance
Regards, > > Arpit. > > > > -Original Message- > > From: souciance [mailto:[hidden email] > <http:///user/SendEmail.jtp?type=node=5788811=1>] > > Sent: Thursday, October 13, 2016 3:45 PM > > To: [hidden email] > <http:///user/SendEmail.jtp?

Re: Looping in routes using Direct Component - Performance impact?

2016-10-14 Thread Brad Johnson
ll. > > Regards, > Arpit. > > -Original Message- > From: souciance [mailto:souciance.eqdam.ras...@gmail.com] > Sent: Thursday, October 13, 2016 3:45 PM > To: users@camel.apache.org > Subject: Re: Looping in routes using Direct Component - Performance impact? > >

RE: Looping in routes using Direct Component - Performance impact?

2016-10-13 Thread Goyal, Arpit
out of the route overall. Regards, Arpit. -Original Message- From: souciance [mailto:souciance.eqdam.ras...@gmail.com] Sent: Thursday, October 13, 2016 3:45 PM To: users@camel.apache.org Subject: Re: Looping in routes using Direct Component - Performance impact? I think you should

Re: Looping in routes using Direct Component - Performance impact?

2016-10-13 Thread souciance
again, forget all the past? Is > disabling HISTORY would solve that? > > Regards, > Arpit. > > > ------ > If you reply to this email, your message will be added to the discussion > below: > http://camel.465427.n5.nabble.com/Looping-in-routes-using-

Looping in routes using Direct Component - Performance impact?

2016-10-13 Thread Goyal, Arpit
Hi, We currently are on 2.16.3 version and can't use the loop function (part of 2.17). So we have the following routes based on which we create sort of loop with switch case. Now we are worried about the performance (when we see stacktrace of camel processing) Route 1: