Re: Conflicting c3p0 versions

2016-07-08 Thread Grzegorz Grzybek
Ah right - you can however add the same exclusion to camel-quartz2 dependency. regards Grzegorz 2016-07-08 15:56 GMT+02:00 habdank : > Hi Grzegorz, > > I do not have direct dependency to: org.quartz-scheduler:quartz > > I have only: > > > org.apache.camel > camel-quartz2 > 2.17 > > > And confl

Re: Conflicting c3p0 versions

2016-07-08 Thread habdank
Hi Grzegorz, I do not have direct dependency to: org.quartz-scheduler:quartz I have only: org.apache.camel camel-quartz2 2.17 And conflict is created internally in camel-quartz2, this pom is not really mine. I can of course exclude c3p0 in camel-quartz2, and add it explicit on top of the cam

Re: Conflicting c3p0 versions

2016-07-08 Thread Grzegorz Grzybek
Hello Just add: c3p0 c3p0 to org.quartz-scheduler:quartz dependency. regards Grzegorz 2016-07-08 15:31 GMT+02:00 habdank : > Dears, > > I am not sure what is really right, but my maven build complains that c3p0 > classes are overlapping. > > Below there is copy of

Conflicting c3p0 versions

2016-07-08 Thread habdank
Dears, I am not sure what is really right, but my maven build complains that c3p0 classes are overlapping. Below there is copy of the dependency:tree and I see indeed that one time c3p0 are in version 0.9.1.1 and the other just close to it 0.9.5.2. [INFO] +- org.apache.camel:camel-quartz2:jar:2.

Re: Dynamically changing SQL with INSERT

2016-07-08 Thread arno noordover
A lot depends on what you are trying to achieve. I would try to use "bind"-variables as in the examples on http://camel.apache.org/sql-component.html But this depends on the fact of you being able to predict what field you need to insert. e.g sql:select * from table where id=:#myId order by name[?o

Re: Exchange.HTTP_QUERY and Exchange.HTTP_RAW_QUERY

2016-07-08 Thread Debraj Manna
Thanks Tadayoshi :) . On Fri, Jul 8, 2016 at 1:56 PM, Tadayoshi Sato wrote: > Hi, > > You can look at this: > https://issues.apache.org/jira/browse/CAMEL-7138 > > So essentially the difference corresponds to the difference between > java.net.URI's getQuery() and getRawQuery(): > https://docs.ora

Re: Exchange.HTTP_QUERY and Exchange.HTTP_RAW_QUERY

2016-07-08 Thread Tadayoshi Sato
Hi, You can look at this: https://issues.apache.org/jira/browse/CAMEL-7138 So essentially the difference corresponds to the difference between java.net.URI's getQuery() and getRawQuery(): https://docs.oracle.com/javase/8/docs/api/java/net/URI.html If you have a query like 'x=%26%26%26', Exchange

Exchange.HTTP_QUERY and Exchange.HTTP_RAW_QUERY

2016-07-08 Thread Debraj Manna
Hi Can someone please explain me the difference between Exchange.HTTP_QUERY and Exchange.HTTP_RAW_QUERY? I am not able to find the difference in the http doc .

Re: Error occurred during starting Camel because of cannot look up a processor from registry

2016-07-08 Thread Debraj Manna
For me I am able to get around this by removing myTemplate from jsonRPCProcesor and fileUploadProcessor. Now my jsonRPCProcessor look something like below:- and annotated the ProducerTemplate in my code with @EndPointInject @EndpointInject protected ProducerTemplate myTemplate;