How to make aggregator wait until all threads are completed

2016-07-15 Thread sonu123
I have to do xml –xml transformation. Since source xml is expected to be very big around 300mb, so I am splitting the sub-elements and processing concurrently. As I am doing partial marshal and unmarshal, I am writing root’s starting tag and ending tag separately. During addition of the closing

camel aggregations

2016-07-15 Thread klops
Dear Camel Users, I am a new adept of camel framework and got stumbled on the following challenge (it has most likely been solved): There is a directory with files that have to be zipped (grouped) and put into ftp site. Once files have been compressed into single zip and transferred to ftp, they

Re: Is it possible to make a message header or property immutable?

2016-07-15 Thread Matt Sicker
Thanks for the tip! On 15 July 2016 at 00:55, Claus Ibsen wrote: > Hi > > See about deep-clone at: http://camel.apache.org/multicast > > On Thu, Jul 14, 2016 at 6:54 PM, Matt Sicker wrote: > > I think I found my issue with the mutable headers in question. It appears > > that the headers of a me

Camel+ActiveMQ redelivery blocking story

2016-07-15 Thread afilippov
Hi, I have a test route starting from queue with fault thrown and redelivery set. Could somebody explain me a strange behavior of redelivery - there are 2 routes in context with *direct* component from one to another. There are some logs in both routes. There is an exception thrown at the end of se

Re: R: Re: camel-sql IN query number of parameters mismatch

2016-07-15 Thread Claus Ibsen
Hi Yeah that is a bug in the parser when you have dynamic body and IN together. You are welcome to log a JIRA and submit a PR with an unit test (create a new unit test so the existing test can be as-is) On Wed, Jul 13, 2016 at 7:11 PM, juliaaano wrote: > Yes. Unfortunately I still have the same

Re: How to concurrently shutdown routes

2016-07-15 Thread Claus Ibsen
Hi No the default shutdown is as-is. You would need to build your custom shutdown, and that can be a bit more complex if some routes have inter related dependencies, so you cannot shutdown X before Y etc. On Thu, Jul 14, 2016 at 12:01 PM, Martin Lichtin wrote: > Is there a way to shutdown some

Re: [camel 2.17] limited performance (not more than 20 req/s)

2016-07-15 Thread Andrea Cosentino
It should be included in 2.17.2 -- Andrea Cosentino -- Apache Camel PMC Member Apache Karaf Committer Apache Servicemix Committer Email: ancosen1...@yahoo.com Twitter: @oscerd2 Github: oscerd On Friday, July 15, 2016 1:06 PM, Claus Ibsen wrote: Hi I found the

Re: [camel 2.17] limited performance (not more than 20 req/s)

2016-07-15 Thread Claus Ibsen
Hi I found the ticket https://issues.apache.org/jira/browse/CAMEL-10043 On Fri, Jul 15, 2016 at 1:04 PM, Claus Ibsen wrote: > Hi > > Ah yeah there was a bug in camel-jaxb that could impact the > performance. Try with 2.17.2 or the 2.17.3-SNAPSHOT as I cannot > remember if the fix made it into th

Re: [camel 2.17] limited performance (not more than 20 req/s)

2016-07-15 Thread Claus Ibsen
Hi Ah yeah there was a bug in camel-jaxb that could impact the performance. Try with 2.17.2 or the 2.17.3-SNAPSHOT as I cannot remember if the fix made it into the 2.17.2 release. On Fri, Jul 15, 2016 at 12:56 PM, Tarek Jarraya wrote: > More info: > > I saw this log appearing many times: > [htt

Re: [camel 2.17] limited performance (not more than 20 req/s)

2016-07-15 Thread Tarek Jarraya
More info: I saw this log appearing many times: [http-bio-8080-exec-373] DEBUG org.apache.camel.util.ObjectHelper: Cannot find class: java.lang.ObjectFactory The log disappears with 2.16.1. The same log saw by others: http://camel.465427.n5.nabble.com/ClassNotFoundException-ObjectFactory-td57824

Queue batching solution

2016-07-15 Thread garybarker
Is there a good camel way to batch requests for multiple types appearing on a queue? For instance I wish to listen on an AMQ queue for all events and then after an event limit, or a timeout, we forward on the separate batches as a list to a rest service. Something like: from(fromEndpoint).routeId

Re: [camel 2.17] limited performance (not more than 20 req/s)

2016-07-15 Thread Tarek Jarraya
Hi Claus, Sorry for late reply. When I downgraded to camel 2.16.1/3 the performance issue disappears. Regards, Tarek Le mardi 14 juin 2016, Tarek Jarraya a écrit : > Hi Both, > > Thanks for your interest. > > @Claus, > > this toD generates only one endpoint. I try to change it to "to" format

RE: ScheduledPollingConsumer properties

2016-07-15 Thread Siano, Stephan
Hi, I also ran into this "issue". The create has a drop-down list, that only contains the entry "Create Service Desk Request". In order to create an issue on Camel, you need to click on the "Create" itself. Best regards Stephan -Original Message- From: Claus Ibsen [mailto:claus.ib...@