Re: AW: MDC logging for different route

2016-12-20 Thread intelccdodemo
Is there a way to define custom threadpool that will be used by Seda based route and EIP (Splitter). Then i may need to customize that threadpool to copy context with custom information ? -- View this message in context:

how to change the logging level dynamically

2016-12-20 Thread mkrishnap
Hi, i want to change the logging level dynamically by another java class. step1: we have written a logger, in this class. we are using the log4j.properties for logger configuration (http://camel.apache.org/how-do-i-use-log4j.html) public class

camel-bindy issue with header and missing locale

2016-12-20 Thread dabby11
Hi, I'm developing a route with Camel 2.16.1 that uses Bindy to process a file with fixed length records. The file consists of a header and many rows. I'm unmarshalling the stream with the following data format: BindyFixedLengthDataFormat bindy = new

Re: AW: MDC logging for different route

2016-12-20 Thread intelccdodemo
When i override CustomUnitOfWork then able to add an extra key-value pair but what i wanted to know how would i make it persistent through mdc from one route to 2nd to 3rd and so on .. as long as request is valid ? -- View this message in context:

Re: camel-quartz failed camel route creation when database is unreachable

2016-12-20 Thread Rachid KRAIEM
Hello, Yes, it's my message Cordialement, *Rachid KRAIEM* 2016-12-20 17:45 GMT+01:00 Rachid KRAIEM [via Camel] < ml-node+s465427n5791747...@n5.nabble.com>: > Hi, > > Given the best practice is not to change the APIs, can you raise a JIRA > that contain this solution and include him in the

Re: camel-quartz failed camel route creation when database is unreachable

2016-12-20 Thread Rachid KRAIEM
Hi, Given the best practice is not to change the APIs, can you raise a JIRA that contain this solution and include him in the next release of camel-quartz ? -- View this message in context:

camel-bindy issue with header and missing locale

2016-12-20 Thread dabby11
Hi, I'm developing a route with Camel 2.16.1 that uses Bindy to process a file with fixed length records. The file consists of a header and many rows. I'm unmarshalling the stream with the following data format: BindyFixedLengthDataFormat bindy = new

Re: camel-core not detecting converters on bundle restart in karaf4

2016-12-20 Thread yogu13
Is this a defect should i raise a JIRA ? Regards, -Yogesh -- View this message in context: http://camel.465427.n5.nabble.com/camel-core-not-detecting-converters-on-bundle-restart-in-karaf4-tp5791503p5791744.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Json format disturbed // Rest DSL + Jackson

2016-12-20 Thread yogu13
Hello Reji, I suspect the postman httpclient is removing the doublequotes before it posts the message. You can confirm by checking the httprequest sent using any tunnel of your choice, I have used nettool in past and work for me. Regards, -Yogesh -- View this message in context:

Re: Camel High CPU Usages

2016-12-20 Thread Claus Ibsen
Are all those routes consuming from files? That is a lot of file consumers to have in one JVM. By default they get 1 private thread each, instead you can share a thread pool among them so they reuse threads. And set a sensitive number of threads in that pool. On Tue, Dec 20, 2016 at 10:24 AM,

Camel High CPU Usages

2016-12-20 Thread sanjaykumargupta007
I have a java+camel bases application which is consuming huge amount of CPU. it various from 40-90% of CPU in production. I tried to replicate the issue in my local environment and started 700 routes (file endpoints) and it is consistently taking 70-80% CPU. I want to know is there any way I can

AW: MDC logging for different route

2016-12-20 Thread Oliver Wulff
As far as I understand your use case, the following JIRA addresses your requirement as well: https://issues.apache.org/jira/browse/CAMEL-10624 Von: intelccdodemo Gesendet: Dienstag, 20. Dezember 2016 09:10:08 An: users@camel.apache.org

AW: Custom MDC property per exchange

2016-12-20 Thread Oliver Wulff
I've created the following JIRA: https://issues.apache.org/jira/browse/CAMEL-10624 Von: Oliver Wulff Gesendet: Freitag, 16. Dezember 2016 13:44:08 An: users@camel.apache.org Betreff: AW: Custom MDC property per exchange Maybe something like

Re: Camel High CPU Usages

2016-12-20 Thread souciance
Why do you have one camel app with 700 routes? On Tue, Dec 20, 2016 at 10:24 AM, sanjaykumargupta007 [via Camel] < ml-node+s465427n5791734...@n5.nabble.com> wrote: > I have a java+camel bases application which is consuming huge amount of > CPU. it various from 40-90% of CPU in production. I

Re: Unzip huge single entry file throws OutOfMemory

2016-12-20 Thread adalfovo
Thank you very much! Now it's working -- View this message in context: http://camel.465427.n5.nabble.com/Unzip-huge-single-entry-file-throws-OutOfMemory-tp5790404p5791731.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Json format disturbed // Rest DSL + Jackson

2016-12-20 Thread yogu13
How are you sending the JSON data using httpclient ? Regards, -Yogesh -- View this message in context: http://camel.465427.n5.nabble.com/Json-format-disturbed-Rest-DSL-Jackson-tp5791716p5791727.html Sent from the Camel - Users mailing list archive at Nabble.com.

MDC logging for different route

2016-12-20 Thread intelccdodemo
In my project there are different routes based on seda and EIP, what i want to achieve for each request log common identifier for trace-ability and debugging. I tried using MdcUnitOfWork like CustomUnitOfWork extends MdcUnitOfWork implements UnitOfWork and that gets created by