Passing more than one URL parameter using stream:url

2014-05-16 Thread vkarkhanis
Hello, Here is our requirement: from("timer://foo?repeatCount=1"). to("stream:url?'url=http://servername/tmp/test.cgi?param1=10¶m2=qa'?"). ("file:U://sampleFile?fileName=hello.txt"); When i try the above with an intent of obtaining a http request with two query params, and r

Fetching file name from jetty endpoint and passing it on to file consumer

2014-05-05 Thread vkarkhanis
Hello, Here is a situation we have: We intend to hit a http url with parameter as complete filePath and pass it on to file Consumer for it to dynamically interpret it .. the scenario is something like -- http://{{jetty.host}}:{{jetty.port}}/fileAvailable"/>

Using camel route for parsing a csv file

2013-08-07 Thread vkarkhanis
camel-csv.jar file in classpath to get this working. We could check that the camel-csv jar is correctly added to the classpath. We are using camel 2.11.0 version. Can you please advise if we are missing something here. Thank you, Regards vkarkhanis -- View this message in context: h

Re: Camel 2.11.0 -- TypeConverterLoaderException

2013-07-10 Thread vkarkhanis
Hello, Frankly, we don't use Scala at all ! We just wanted to switch to camel 2.9.0 to 2.11.0 and would still be java. Thank you, Regards vkarkhanis -- View this message in context: http://camel.465427.n5.nabble.com/Camel-2-11-0-TypeConverterLoaderException-tp5735404p5735432.html Sent

Re: Camel 2.11.0 -- TypeConverterLoaderException

2013-07-10 Thread vkarkhanis
Hello Willem, Thanks for the reply. We have following two jars in the classpath: 1. camel-scala-2.11.0.jar 2. camel-scala_2.9-2.11.0.jar Can you please let me know if you are referring to the above two jars. Thank you, Regards vkarkhanis -- View this message in context: http://camel

Re: Camel routes and threads

2013-07-09 Thread vkarkhanis
one instance of route. Subsequent route triggering are processed serially. The higher versions of camel resolved the problem for us. Also by using Custom Thread Pools we get much more control over the number of threads used for processing. Thank you, Regards vkarkhanis -- View this message in

Camel 2.11.0 -- TypeConverterLoaderException

2013-07-09 Thread vkarkhanis
eConverter(DefaultCamelContext.java:1089) ... 19 more Is this because of camel-scala-2.9.0-2.11.0.jar ? Do we need to add any more jars..? Thank you, Regards vkarkhanis -- View this message in context: http://camel.465427.n5.nabble.com/Camel-2-11-0-TypeConverterLoaderException-tp5735404.html

Re: Camel routes and threads

2013-07-02 Thread vkarkhanis
Hello Claus, We tried using , but it did not work either.. Any suggestions? Thank you Regards Vaibhav A. Karkhanis -- View this message in context: http://camel.465427.n5.nabble.com/Camel-routes-and-threads-tp5734326p5735077.html Sent from the Camel - Users mailing list archive at Nabble.com

Re: Camel routes and threads

2013-06-28 Thread vkarkhanis
Hello Claus, Thanks for the reply. Unfortunately one other jar in the project conflicts with camel version higher than 2.9.0, due to which we cannot upgrade. But let me try the suggestion and get back with the results. Thank you, Regards vkarkhanis -- View this message in context: http

Re: Camel routes and threads

2013-06-25 Thread vkarkhanis
Hello Claus, We use camel version 2.9.0 .. Thank you, vkarkhanis -- View this message in context: http://camel.465427.n5.nabble.com/Camel-routes-and-threads-tp5734326p5734783.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel routes and threads

2013-06-25 Thread vkarkhanis
Hello Claus, Thanks for the reply. I have following configuration: In camel context: In the above setup, when put parallelProcessing="true" in tag, the logs show that the customThreadPoolProfile is used, but the number of threads are not restricted to 5. Instead around 20 th

Re: Autosys poller

2013-06-25 Thread vkarkhanis
Thank you, Regards vkarkhanis -- View this message in context: http://camel.465427.n5.nabble.com/Autosys-poller-tp5734358p5734730.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: PollingConsumerSupport

2013-06-20 Thread vkarkhanis
Hello Christian, Thanks for the reply. I went through the docs and the examples. I was kind of confused if the code snippet below can be called from a producer endpoint: Endpoint endpoint = context.getEndpoint("activemq:my.queue"); PollingConsumer consumer = endpoint.createPollingConsumer(); Exch

Re: Autosys poller

2013-06-20 Thread vkarkhanis
Hello Christian, Thanks for the reply. The problem is i was confused if we should implement our custom endpoint ("autosys" ) as ScheduledPollConsumer or a PollingConsumer ? I think it should be a Polling consumer which blocks. Howevere since its in the .to , that would make it a producer, thus can

PollingConsumerSupport

2013-06-19 Thread vkarkhanis
Hello, If I try to create a cutome endpoint and implement PollingConsumerSupport, I am required to implement two methods, recieve and recieveNoWait(). What exactly is the difference between the two and what exactly is expected in the implementation? Thank you, Regards\ vkarkhanis -- View this

Autosys poller

2013-06-19 Thread vkarkhanis
Helloo, I have a use case to create a autosys poller. (autosys is system which is used to schedule jobs ) I get a list into a cache everyday post 5 PM. The exact time of the list availability is indicated by the autosys job going success On success a processor is executed I want to configure this

Camel routes and threads

2013-06-18 Thread vkarkhanis
r of threads which process the routes in parallel. Appreciate any help. Thank you, Regards vkarkhanis -- View this message in context: http://camel.465427.n5.nabble.com/Camel-routes-and-threads-tp5734326.html Sent from the Camel - Users mailing list archive at Nabble.com.

Can enabling hangup support cause out of memory?

2013-06-11 Thread vkarkhanis
Hello, We have our routes configured as follows: http://camel.apache.org/schema/spring";> -- http://camel.apache.org/schema/spring";> We