Re: Camel MongoDB Bug related to Type Conversion

2014-01-16 Thread anand_tech
Thanks for suggestion, I have placed a JSON validator in place for now. Please let me know when this fix will be available. -- View this message in context: http://camel.465427.n5.nabble.com/Camel-MongoDB-Bug-related-to-Type-Conversion-tp5746090p5746095.html Sent from the Camel - Users mailing

Camel MongoDB Bug related to Type Conversion

2014-01-16 Thread anand_tech
Hi All, I have come across an issue in Camel's mongo component. Problem is if you try some operation through camel mongo and give incorrect json (i.e. wrong format extra comma or something) it throws NoTypeConversionAvailableException or so. If you try again but with correct json, exception will b

Camel Hibernate : org.hibernate.HibernateException: persist is not valid without active transaction

2013-08-16 Thread anand_tech
Hi, I am trying to do a small poc with camel-hibernate component. First my versions are : Camel-core 2.9.0 Camel-hibernate 2.10.0 Spring - 3.0.6 Hibernate - 3.6.0 Below is my route : from("direct:foo") .process(new Processor() { @

Re: Using jetty component for http producer : Weird behavior

2013-06-04 Thread anand_tech
Someone, any pointers over here ?? -- View this message in context: http://camel.465427.n5.nabble.com/Using-jetty-component-for-http-producer-Weird-behavior-tp5733303p5733833.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Back to Basics : Apache Camel Routes and Direct Component

2013-05-29 Thread anand_tech
Thanks for quick response so at the end it boils to how much concurrentConsumers i have configured on seda endpoint. And i mentioned "one" because i haven't configured any concurrentConsumers in my code as of now, so there would be only one seda thread processing all the exchanges rite ? And one

Re: Back to Basics : Apache Camel Routes and Direct Component

2013-05-29 Thread anand_tech
So it means that 5 different threads of direct component will pour the messages into one single thread of SEDA ? I am sorry if i am really being noob here -- View this message in context: http://camel.465427.n5.nabble.com/Back-to-Basics-Apache-Camel-Routes-and-Direct-Component-tp5731899p5733

Re: Using jetty component for http producer : Weird behavior

2013-05-28 Thread anand_tech
I think there is some issue with the internal jetty http producer classes. I changed the endpoint's name at jetty's end and gave an uri through processor using CamelHttpUri, but it still produced same behavior. Logs : [2013-05-28 11:24:18,366] org.apache.camel.processor.SendProcessor DEBUG - >>

Re: Using jetty component for http producer : Weird behavior

2013-05-28 Thread anand_tech
Camel is 2.9.0 and jetty is 7.5.3. Jetty jars are downloaded as part of camel-jetty dependencies through maven, so i guess jetty's version should not be a problem. -- View this message in context: http://camel.465427.n5.nabble.com/Using-jetty-component-for-http-producer-Weird-behavior-tp5733303

Re: Using jetty component for http producer : Weird behavior

2013-05-28 Thread anand_tech
i tried putting port also explicitly, but no luck .. Any pointers here ? -- View this message in context: http://camel.465427.n5.nabble.com/Using-jetty-component-for-http-producer-Weird-behavior-tp5733303p5733317.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Using jetty component for http producer : Weird behavior

2013-05-27 Thread anand_tech
Could it be that i haven't mentioned the port explicitly in the endpoint ?? "jetty://https://maps.googleapis.com{: is port needed here ?}/ -- View this message in context: http://camel.465427.n5.nabble.com/Using-jetty-component-for-http-producer-Weird-behavior-tp5733303p5733309.html Sent f

Re: Using jetty component for http producer : Weird behavior

2013-05-27 Thread anand_tech
Oh, i should have mentioned that too. I have already tried it with "jetty:https://maps.google -- View this message in context: http://camel.465427.n5.nabble.com/Using-jetty-component-for-http-producer-Weird-behavior-tp5733303p5733307.html Sent from the Camel - Users mailing list archive at

Using jetty component for http producer : Weird behavior

2013-05-27 Thread anand_tech
Hi, I have a route like this in Java DSL from("servlet://abc/?matchOnUriPrefix=true") .process(new Processor() { @Override public void process(Exchange arg0) throws Exception

Re: Back to Basics : Apache Camel Routes and Direct Component

2013-05-02 Thread anand_tech
Thanks, can you also have a look at the last part of my question i.e. route having both direct and seda component. -- View this message in context: http://camel.465427.n5.nabble.com/Back-to-Basics-Apache-Camel-Routes-and-Direct-Component-tp5731899p5731903.html Sent from the Camel - Users mailin

Back to Basics : Apache Camel Routes and Direct Component

2013-05-02 Thread anand_tech
I am bit confused about Camel routes and its two endpoints : Direct and Seda. Well let's say i have a route like this : public void configure() { from("direct:services") .process(//Some processing here) .to("http://ThirdPartyServers";) } On top of this I have a rest w

NoTypeConversionAvailableException : When using interface as Apache Camel Proxy

2012-12-10 Thread anand_tech
I have an interface which I am using as Camel Proxy . My route is as below: from("direct:services") .onException(Exception.class) .process(new Processor() { @Override

Re: Apache Camel : HTTP POST : & character

2012-07-17 Thread anand_tech
i dont know what was the problem. I made a fresh route and used ProxyHelper and Interface basically HidingMiddleware API thing and it started working. :) -- View this message in context: http://camel.465427.n5.nabble.com/Apache-Camel-HTTP-POST-character-tp5716155p5716156.html Sent from the Cam

Apache Camel : HTTP POST : & character

2012-07-17 Thread anand_tech
I am trying to make a POST request to a restful Webservice via apache camel http component. the url is something like this : http://customdomain.name/service?apikey=somethingalphanumeric&consumerkey=somealphanumeric The problem is that the & present in url is converted to & and this is passed as i

Re: Exact behaviour of Camel Context stop method

2012-07-11 Thread anand_tech
If this is the case then when all files have been processed then possibly what can still exist in the inflight exchange, or is it that when it polls no file it will keep on returning null(since i have enabled sendemptyMessageIdle option) after some delay(specified by delay). So is there any method

Exact behaviour of Camel Context stop method

2012-07-11 Thread anand_tech
Hi , I am making a simple application based on camel. It reads some files in a directory and then after processing new files are made. The problem is that after files are made i call the stop method of camel context. But the code get stuck there, nothing happens further. This is very unexpected

Re: Apache Camel : CXFRS Server : Need advice for Routing

2012-05-13 Thread anand_tech
Thanks Willem.. i actually was using something like that only, i had used sort of content based router, i.e. the choice and when clause and routing on the basis of url and Http Method being hit. i was just wondering whether i can make different endpoints for my service beans and as correctly poi

Apache Camel : CXFRS Server : Need advice for Routing

2012-05-09 Thread anand_tech
i am making restful webservices using apache cxf and camel. my configuration is something like this : I have three service beans exposed as services and are mapped to different urls and the route is something like this :