Does camel provide a provision to deal with special characters in an address URL?

2016-10-26 Thread Kriti
Hi All, We have a camel route that reads a webservice request url from a properties file and sends a request to that url. If the url contains a ? in the middle of the url string, we get the following error from Camel- Caused by: org.apache.camel.ResolveEndpointFailedException: Failed to resolve

Re: Limit on the number of routes in camel context?

2016-10-26 Thread Tomohisa Igarashi
I guess it's just a matter of memory size you assign for JVM heap. On 10/27/2016 11:35 AM, Goyal, Arpit wrote: Is there a number limit of how many routes can be added as part of camel context? As camel context takes in our server around 200ms to start, we want to keep it running and add

Limit on the number of routes in camel context?

2016-10-26 Thread Goyal, Arpit
Is there a number limit of how many routes can be added as part of camel context? As camel context takes in our server around 200ms to start, we want to keep it running and add routes to it. After processing just remove the routes, but as in parallel we might have I assume 10k plus request, I

Re: OnException across camelcontext not called when using direct-vm

2016-10-26 Thread Santhosh
Thanks for your help. Sent from my iPhone > On Oct 26, 2016, at 4:04 PM, Santhosh [via Camel] > wrote: > > Ok That solves the problem. > > If you reply to this email, your message will be added to the discussion > below: >

Re: OnException across camelcontext not called when using direct-vm

2016-10-26 Thread Santhosh
Ok That solves the problem. -- View this message in context: http://camel.465427.n5.nabble.com/OnException-across-camelcontext-not-called-when-using-direct-vm-tp5789237p5789309.html Sent from the Camel - Users mailing list archive at Nabble.com.

Running Camel 2.18.0 in Karaf - java.lang.ClassNotFoundException: org.springframework.beans.factory.BeanCreationException not found by org.apache.camel.camel-spring-dm

2016-10-26 Thread bocamel
Tried to run the latest 2.18.0 in Karaf 4.0.7. Installed the feature camel-spring-dm. When loading my bundles (which all worked fine in 2.17.3 and Karaf 4.0.7), I received the following error. I remembered a similar situation with 2.17.0 but later the issue went away (at least in 2.17.3).

Re: Dynamic supplying of class to BindyCsvDataFormat

2016-10-26 Thread raghavender.anth...@gmail.com
Oh.. if this is the case then I feel it's a bit weird. Thanks for the quick reply. -- View this message in context: http://camel.465427.n5.nabble.com/Dynamic-supplying-of-class-to-BindyCsvDataFormat-tp5789283p5789291.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: How to Pass Dynamic Parameters to invoke rest url.

2016-10-26 Thread Claus Ibsen
You can set a header with key .setHeader(Exchange.HTTP_QUERY, And then pass in a value with the query parameters. If you have more parameters then separate with &. See the docs http://camel.apache.org/http4 On Wed, Oct 26, 2016 at 1:13 PM, Gunjara wrote: > HI

Re: Non-Blocking throttler?

2016-10-26 Thread James Green
Just looked at the `SamplingThrottler` source and with a period defined it looks like it is what we need. Thanks! On 26 October 2016 at 13:42, Claus Ibsen wrote: > There is a sampling eip > http://camel.apache.org/sampling > > Maybe its something you can use? > > On

Re: Non-Blocking throttler?

2016-10-26 Thread Claus Ibsen
There is a sampling eip http://camel.apache.org/sampling Maybe its something you can use? On Wed, Oct 26, 2016 at 2:28 PM, James Green wrote: > I'm looking at a route that will be exercised in the event of an emergency > situation such as "database is down". > > Is

How to Pass Dynamic Parameters to invoke rest url.

2016-10-26 Thread Gunjara
HI Please help me , how to pass query paramets. package org.tesco.storeapi.routes; import org.apache.camel.CamelContext; import org.apache.camel.Exchange; import org.apache.camel.LoggingLevel; import org.apache.camel.ProducerTemplate; import org.apache.camel.builder.RouteBuilder; import

Re: Dynamic supplying of class to BindyCsvDataFormat

2016-10-26 Thread Claus Ibsen
Hi I dont think the data format would support that. However you can use dynamic-to and dataformat component. http://camel.apache.org/how-to-use-a-dynamic-uri-in-to.html http://camel.apache.org/dataformat-component.html On Wed, Oct 26, 2016 at 2:24 PM, raghavender.anth...@gmail.com

Non-Blocking throttler?

2016-10-26 Thread James Green
I'm looking at a route that will be exercised in the event of an emergency situation such as "database is down". Is there a non-blocking Throttler, one that lets the caller continue AND only samples the Exchanges that arrives? I would like to call a third party if this route is called but they

Dynamic supplying of class to BindyCsvDataFormat

2016-10-26 Thread raghavender.anth...@gmail.com
Hello All, I would like to supply the class name dynamically to BindyCsvDataFormat? I will be setting this class name in some exchange property/ in header. I would like to read this value and set it to BindyCsvDataFormat during marshalling/unmarshalling. Can someone guide me how it can be done?

Re: AW: Dynamic routing based on collection values

2016-10-26 Thread raghavender.anth...@gmail.com
Thanks a ton everyone, I was able to achieve it by using split and by writing a custom bean/method. -- View this message in context: http://camel.465427.n5.nabble.com/Dynamic-routing-based-on-collection-values-tp5789157p5789282.html Sent from the Camel - Users mailing list archive at

Re: IDE for newer Camel versions using Camel Spring Boot

2016-10-26 Thread Claus Ibsen
On Wed, Oct 26, 2016 at 12:03 PM, James Green wrote: > Just installed the update but ctrl+alt+4 would not show any Camel items > until I put the cursor between inside a from()...to() route. Putting the > cursor inside a RouteBuilder was not sufficient, maybe an area for

Re: IDE for newer Camel versions using Camel Spring Boot

2016-10-26 Thread James Green
Just installed the update but ctrl+alt+4 would not show any Camel items until I put the cursor between inside a from()...to() route. Putting the cursor inside a RouteBuilder was not sufficient, maybe an area for improvement... On 26 October 2016 at 08:52, Claus Ibsen

Re: IDE for newer Camel versions using Camel Spring Boot

2016-10-26 Thread Claus Ibsen
Hi Yeah it was a bug in the tooling. Its because you dont have a src/main/webapp folder. Are you using latest release of the camel addon? http://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22io.fabric8.forge%22%20AND%20a%3A%22camel%22 The latest today is 2.3.60 On Tue, Oct 25, 2016 at 3:29 PM,

Re: Rest Webservices problem

2016-10-26 Thread souciance
Maybe I am seeing wrong but your from(uri) and the uri you are posting don't look the same. You have a /wncid which does not seem to exist in the from(uri). On Wed, Oct 26, 2016 at 5:09 AM, Gunjara [via Camel] < ml-node+s465427n5789250...@n5.nabble.com> wrote: > Hi I'm very new to camel . I'm

Rest Webservices problem

2016-10-26 Thread Gunjara
Hi I'm very new to camel . I'm working on rest webservices , But I'm failing to invoke remote endpoint. Please help me on this. In Resource @GET @Path("/wnnc/{wnncId}") ArrayList getPriceList(@QueryParam("storeId") String storeId , @QueryParam("offer")

Rest Webservices

2016-10-26 Thread Gunjara
Hi I'm very new to camel . I'm working on rest webservices , But I'm failing to invoke remote endpoint. Please help me on this. In Resource @GET @Path("/wnnc/{wnncId}") ArrayList getPriceList(@QueryParam("storeId") String storeId ,