Re: Exchanges body and properites are not collected if it contains reference object which lead to memory leak

2015-10-21 Thread Darwish
The issue fixed and it's not related to body content type ! The case for anyone may face this issue result from a SEDA point with NO consuming route "BLACK HOLE " , i have a seda point in a route context defined in separate file , in main camel config file I imported that file and disable "comm

Camel Metrics during Exception

2015-10-21 Thread vivekrao001
Hi, I have a question regarding the metrics, for the following route : from("direct:in") .to("metrics:timer:simple.timer?action=start") .to("*direct:calculate*") .to("metrics:timer:simple.timer?action=stop"); If the *direct:calculate* raises an exception, what would be the consequenc

Rest DSL Jetty multiple handlers causes java.lang.StackOverflowError

2015-10-21 Thread Karts
Hi, On 2.16.0, I am getting a StackOverflowError when I have multiple handlers defined for my restConfiguration jetty component. It works with single handlers. This causes the following exception on startup: 2015-10-21 21:29:59,543 [main ] W

Re: Is it possible to read the contents of a file in Camel Spring DSL w/o File component?

2015-10-21 Thread gramanero
I just discovered this article (http://www.davsclaus.com/2009/05/on-road-to-camel-20-concurrency-with.html). I think this answers my questions above. It is the that takes over the file exchange as handles the file completion piece. That tells me that the deletion of the file will happen in the me

Re: Is it possible to read the contents of a file in Camel Spring DSL w/o File component?

2015-10-21 Thread gramanero
I think threads may be the way to go because i am using the File component in a way that deletes the file upon successful processing. The WireTap route, should it fail, means that my file is gone and I lose knowledge that the File ever existed (I am still learning so perhaps that in and of itself i

Re: Is it possible to read the contents of a file in Camel Spring DSL w/o File component?

2015-10-21 Thread Claus Ibsen
Look at wire tap eip, or the threads eip. On Wed, Oct 21, 2015 at 5:38 PM, gramanero wrote: > I have searched through the user forum and done some research through Camel > docs as well, so if I missed the answer somewhere then I apologize. > > I read that the File component is single threaded and

Is it possible to read the contents of a file in Camel Spring DSL w/o File component?

2015-10-21 Thread gramanero
I have searched through the user forum and done some research through Camel docs as well, so if I missed the answer somewhere then I apologize. I read that the File component is single threaded and what I would like to be able to do, all while staying within Spring DSL, is to read file and fire of

Lots of exchange instances are being created.

2015-10-21 Thread akab
Hi i have a question about exchange creating in camel routes and ill explain my issue with the following example knowing that i am using camel-2.15.1: i have a simple camel route like this : the Simple bean class is : and the simple pojo is : when i run this route then i check Jprofiler Li

Bindy dataformat usage in Spring v/s Java DSL

2015-10-21 Thread calyan.bandi
Hi, I am working on a camel route that reads an excel and does some processing. I had this written in Spring DSL as shown below. In the processor, the exchange body i received is java.util.ArrayList. Using a simple iterator i was able to do my processing. List orders = exchange.

Re: Spring Boot WS - After receiving request, camel throws NullPointerException

2015-10-21 Thread Claus Ibsen
Yeah any of the next release will have the fix On Wed, Oct 21, 2015 at 2:27 PM, yuncil wrote: > Thanks a lot, Claus. Will this fix be i the new camel version, or where do I > get the fix then? > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Spring-Boot-WS-After-rec

Re: Spring Boot WS - After receiving request, camel throws NullPointerException

2015-10-21 Thread yuncil
Thanks a lot, Claus. Will this fix be i the new camel version, or where do I get the fix then? -- View this message in context: http://camel.465427.n5.nabble.com/Spring-Boot-WS-After-receiving-request-camel-throws-NullPointerException-tp5772930p5772936.html Sent from the Camel - Users mailing l

Re: Spring Boot WS - After receiving request, camel throws NullPointerException

2015-10-21 Thread Claus Ibsen
Hi Ah the NPE has been fixed in camel-core but its due the component that creates the exchange is likely doing it the wrong way (without telling which endpoint its from). Let me dive into camel-spring-ws to see about that and fix it there too. On Wed, Oct 21, 2015 at 1:12 PM, yuncil wrote: > Hi

Re: Swagger error

2015-10-21 Thread Anton Hughes
FYI - this issue has been fixed in https://github.com/wildfly-extras/wildfly-camel/issues/923 - thanks goes to the Wildfly-camel team. On Sat, Oct 17, 2015 at 2:09 PM, Anton Hughes wrote: > > On Sat, Oct 17, 2015 at 1:58 PM, Claus Ibsen > wrote: > >> Ah I think they plan on support camel-swagg

Spring Boot WS - After receiving request, camel throws NullPointerException

2015-10-21 Thread yuncil
Hi guys, recently I try to expose a SOAP-WS with Spring-Boot and Camel, on Glassfish-4.0. I send my requests via SOAP-UI and they'll be received sucessfully by the WS. I can see the messages in the log-files but then camel throws a NullPointerException. More specific, the DefaultRuntimeEndpointReg

Re: Share database connection pool among routes

2015-10-21 Thread ramnar
No Im using spring -- View this message in context: http://camel.465427.n5.nabble.com/Share-database-connection-pool-among-routes-tp5772925p5772929.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Share database connection pool among routes

2015-10-21 Thread Matt Sicker
Are you using blueprints? On 21 October 2015 at 03:56, ramnar wrote: > Hi > Thanks for the solution.But my routes are in different bundles not in the > same bundle.Will the solution work in that case > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Share-database-co

Re: Share database connection pool among routes

2015-10-21 Thread ramnar
Hi Thanks for the solution.But my routes are in different bundles not in the same bundle.Will the solution work in that case -- View this message in context: http://camel.465427.n5.nabble.com/Share-database-connection-pool-among-routes-tp5772925p5772927.html Sent from the Camel - Users mailing

Re: Share database connection pool among routes

2015-10-21 Thread Henryk Konsek
Hi, Add you data source to your Camel registry [1]. For example for Spring that would be just adding data source bean. Then refer to that data source in your endpoints. For example: @Bean DataSource myDataSource() { ... } from("timer:dbOperation").to("jdbc:myDataSource"); Cheers! [1] http://

Share database connection pool among routes

2015-10-21 Thread ramnar
Hi I want to share the database connection poll among various routes i have.Iam using apache common dbcp to implement database connection pooling.Some where it was mentioned to create osgi service of the connection pool and use the service in all the routes.But I could not find resources how to do