RE: Jsch issue with compression algorithm

2014-10-19 Thread Willem Jiang
Hi,  I just check the configuration, “none” means the compression will not be done if sshd doesn’t support to compress the data from sshd to jsch.  Current release has supported following properties, * compression.s2c: zlib, none   default: none   Specifies whether to use compression for the dat

Jsch issue with compression algorithm

2014-10-19 Thread Baweja, Keshav
Hello All, I have been able to narrow down this issue to below - 1) I enabled client to server compression configuration on Jsch by setting compression=2 as an option on camel route. 2) With this, Jsch sets client to server compression configuration as - JSCH -> kex: client: z...@openssh.co

RE: Jsch issue with compression algorithm

2014-10-19 Thread Baweja, Keshav
Looking at the code in SftpOperations.java in createSession() // compression if (sftpConfig.getCompression() > 0) { LOG.debug("Using compression: {}", sftpConfig.getCompression()); session.setConfig("compression.s2c", "z...@openssh.com, zlib, none");

Re: Quartz job data deletion in clustered quartz2

2014-10-19 Thread lakshmi.prashant
Hi, We get many misfires, while quartz is working in clustered mode. This is when the trigger is acquired / executed on another VM than the one that inserted the job data: We get an error while is CamelJob in that VM gets executed for a trigger. The camel job tries to locate the camel c

Re: custom converter to string (json, xml, csv)

2014-10-19 Thread Mark Webb
OK. So how does one develop Camel support for a custom object getting converted to a specified format? On Fri, Oct 17, 2014 at 6:40 PM, Christian Müller < christian.muel...@gmail.com> wrote: > You are looking for different data formats, not for different type > converters. > > Best, > Christian

Re: Not all processors are listed in JMX, preventing detailed route statistics/profiling

2014-10-19 Thread Willem Jiang
What kind of processors are missing in the JMX? Can you give us an example (Camel route and processors) for it? -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On Oc

Re: Unable to send the POST parameters value for REST Service

2014-10-19 Thread Willem Jiang
You need to map the post Body into the message header, as the SimpleConsumer[1] just put the request body into the message body. [1]https://camel.apache.org/cxfrs#CXFRS-ConsumingaRESTRequest-SimpleBindingStyle -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.b

Unable to send the POST parameters value for REST Service

2014-10-19 Thread sayed_india
Hello, Following the sample code below works perfectly fine for REST GET method, But the POST method always inserts the null record, Can any one please suggest me in case of any change required. Route Builder: public void configure() throws Exception { from("cxfrs:http://0.0.0.0:9090?

Re: Route Camel : Pass variables in a SQL query

2014-10-19 Thread sayed_india
Thanks for the response. My question am not able to get the id param value in the SQL query throws error as invalid SQL query as the :id is not replaced with the value. Best regards, Sayed -- View this message in context: http://camel.465427.n5.nabble.com/Route-Camel-Pass-variables-in-a-SQL-q