Re: Camel quartz memory leak

2015-06-12 Thread Claus Ibsen
Hi What version of Camel do you use? And how do you restart the route? On Wed, Jun 10, 2015 at 11:33 AM, Akram wrote: > I am using camel quartz to run a job every minute. But whenever i restart the > quartz route I get the message: > > appears to have started a thread named [MyScheduler_Worker-1

Re: How to test a single route within a camel blueprint context

2015-06-12 Thread Claus Ibsen
Hi You can use advice-with and change the route from endpoint. http://camel.apache.org/advicewith.html On Wed, Jun 10, 2015 at 9:11 AM, noone100 wrote: > Given following blueprint snippet: > > > > > > > > > > > > > > > > > > > > > How can I modify the blueprint.xml

Re: ClassCastException in blueprint Route

2015-06-12 Thread yogu13
Hello John, What i am saying is that the problem seems to be with the object returned by the getCurrentConfiguration method of your LocalConfigurationService. based on the trace Caused by: java.lang.ClassCastException: com.example.services.configuration.local.LocalConfigurationService cannot

Exchange Body is getting changed .

2015-06-12 Thread joy.rsjoy
I tried to pass *{ "Data":"Trademark symbols ™"} * to one end point . But I am getting *{ "Data":"Trademark symbols ? "} * in the other side . Means *™* is getting changed *?* . I am not understanding what is going wrong. -- View this message in context: http://camel.465427.n5.nabble.com/Exch

Camel CXFRS and WADL generation

2015-06-12 Thread Goodwin, Matthew
I am using Camel version 2.14.2 and CXF version 2.7.15 and I have been unable to get the publishedEndpointUrl property to work with WADL generation. Here is my Camel config: http://www.springframework.org/schema/beans"; xmlns:tx="http://www.springframework.org/schema/tx"; xmlns:xsi="ht

Re: using basic auth to protect camel rest dsl routes

2015-06-12 Thread Dan Moore
Hi folks, I also ended up using Spring Security for basic auth as well, and documented how to do so on this SO question: http://stackoverflow.com/a/30809119/203619 On Thu, Jun 11, 2015 at 11:13 PM, Dan Moore wrote: > Hi folks, > > After banging my head for a bit, I wrote a blog post about using

Re: Deploying REST service on running camel:jetty instance

2015-06-12 Thread Dan Moore
Hi, Can you be more specific? I don't understand what you are trying to do. Dan On Wed, Jun 10, 2015 at 4:44 AM, Chandana wrote: > Is there a way to expose 2 restful web services from same camel route with > the same base URI in a web container (Jetty in this case)? > > > > -- > View this mes

Re: ClassCastException in blueprint Route

2015-06-12 Thread John Dubchak
Hi Yogesh, Thank you for your reply. It seems that you're saying to ignore the cause that it cannot cast LocalConfigurationService to ConfigurationService. Is that correct? Thanks, John On 6/11/15 8:54 PM, yogu13 wrote: Hi, Looking at the stacktrace... the problem seems to be with the obje

Re: Too many connection in TIME_WAIT when tempfilename is set in the FTP producer URI.

2015-06-12 Thread Grzegorz Grzybek
I've just started to test it ;) ~Grzegorz 2015-06-12 15:52 GMT+02:00 Himanshu Mittal : > With tempPrefix as well as with tempFileName a new connection is being > created for each file transfer. > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Too-many-connection-in

Re: Too many connection in TIME_WAIT when tempfilename is set in the FTP producer URI.

2015-06-12 Thread Himanshu Mittal
With tempPrefix as well as with tempFileName a new connection is being created for each file transfer. -- View this message in context: http://camel.465427.n5.nabble.com/Too-many-connection-in-TIME-WAIT-when-tempfilename-is-set-in-the-FTP-producer-URI-tp5768017p5768134.html Sent from the Camel

Re: spring boot, jpa, entitymanagers and Java DSL

2015-06-12 Thread Henryk Konsek
Hi, We should check how Camel JPA component resolves the entity manager from the Spring Boot registry. And then adjust that process, so it works more natural for the Spring Boot applications. Can you raise a Jira ticket for this issue? Cheers! pt., 12.06.2015 o 08:25 użytkownik erik_romson napi

Re: Is there a tools to convert java dsl to xml ?

2015-06-12 Thread Tim Dudgeon
I was playing with just this a few weeks ago. Here's an example of what I got working. The one gotcha I encountered was that you can't use beans inline in the Java DSL. Instead you need to put the bean in the registry and reference it from there. Other than that it seems to work "as expected".

Re: Camel https 401 error

2015-06-12 Thread Reji Mathews
We configured SSL as follows .*_EXPORT_.* .*_EXPORT1024_.* .*_WITH_DES_.* .*_WITH_AES_.* .*_WITH_NULL_.* .*_DH_anon_.* Cheers Reji On Fri, Jun 12, 2015 at 11:54 AM, Vanshul.Chawla wrote: > Hello, > > We are trying to invoke a https service via camel route. We are able to >

Re: Camel https 401 error

2015-06-12 Thread Reji Mathews
Basic Authentication on Camel CXF producer endpoint is supported only from camel version 2.12.3 onwards..checkout http://camel.apache.org/cxf.html In older versions, you have to opt for jaxws:client approach or HttpClient class extended to a java processor. Cheers Reji On Fri, Jun 12, 2015 at 11