Re: Java heap space with FILE producer and larges files

2014-04-06 Thread Claus Ibsen
Hi See the how to get help on this page, and the bullets http://camel.apache.org/support For example > try upgrading to the latest release and see if it's fixed there Also if you convert a file -> String then the file is being read into memory. And reading 200mb into memory takes up memory. On

Re: Help Understanding Apache Camel main concepts!

2014-04-06 Thread Claus Ibsen
Hi On Sun, Apr 6, 2014 at 8:59 PM, pmp.martins wrote: > So, are my "Not so clear notions" correct? > > The explanation about endpoints was clear. An endpoint can either be a > consumer or a producer. As for components... > > Making an analogy, "Components can be seen as houses, and endpoints ar

Re: how to disable http proxy for camel bundle

2014-04-06 Thread Gnanaguru S
Hi, You question is not clear. There are two ideas which may help you. 1. If you want to pass through the proxy, You have to provide the proxy credentials in your camel route. There is a separate section for Authentication in this page which will help you: http://camel.apache.org/http.html 2.

Re: Java heap space with FILE producer and larges files

2014-04-06 Thread bbk
Thank you for your response. I don't see the differences in GenricFileConverter and IOConverter source class between 2.10.2 and 2.13.0. What are the differences between 2.10.2 and 2.13.0 that will resolve the problem? -- View this message in context: http://camel.465427.n5.nabble.com/Java-h

transactions in sql component

2014-04-06 Thread Minh Tran
Hi I'm using the sql component to read records out of a table and then publish them to a JMS queue. This is what I have so far. from("sql:select * from monitor where processed=false?dataSource=dataSource&consumer.useIterator=false") .transacted() .log("${body.class} ${body}") .split(body()) .to

Re: how to disable http proxy for camel bundle

2014-04-06 Thread Henrique Viecili
It depends on the component, usually setting -Dhttp.useProxy=false and Dhttp .*proxyHost*= (empty) works. If you are running inside JBoss Fuse, there is an issue with maven proxy configurations setting/overriding system proxy configurations: http://fusesource.com/forums/thread.jspa;jsessionid=8452

RE: Can How Apache CAMEL help in this enterprise integration usecase?

2014-04-06 Thread Ravindra.Godbole
Hi 1. You can use processor which will enable you to handle message thru OrderService. [ http://camel.apache.org/processor.html ] 2. You can post to new routes based on the contents. 4. Contents of the body irrespective of the type of channel is available for processing as a ${in.body}. Type con

Camel CDI and OSGI

2014-04-06 Thread Charlie Mordant
Hi Camel community (and enjoy to say this to me too :p), For the Osgi folks, I created a Compedium service component for camel-cdi: https://github.com/OsgiliathEnterprise/net.osgiliath.parent/tree/master/net.osgiliath.framework/net.osgiliath.helpers.parent/net.osgiliath.helper.camel.cdi.configadmi

Re: Help Understanding Apache Camel main concepts!

2014-04-06 Thread pmp.martins
So, are my "Not so clear notions" correct? The explanation about endpoints was clear. An endpoint can either be a consumer or a producer. As for components... Making an analogy, "Components can be seen as houses, and endpoints are the doors (if you enter through a door, you are consuming, if yo

Re: camel cxf (wsdl first) pojo: Can't find the BindingOperationInfo

2014-04-06 Thread Nicolas74
Hi Claus, I tried to follow your advice: from("timer://updateWorkflowsStatus?fixedRate=true&period=6000") .setHeader("operationName", constant("updateJobsStatus")) .setHeader("operationNamespace", constant("http://XXX/";)) .

Can How Apache CAMEL help in this enterprise integration usecase?

2014-04-06 Thread scottmiles
My application needs to work as middleware where it has got orders(in form of xml) from various customers which contains the supplier id where custmers can send the xml to one of these components 1)JMS queue 2)File system 3)HTTP 4)Web service request(rest/soap) Once it get the or

Re: ReturnType of Bindy - CSV to JAva Obj

2014-04-06 Thread Charles Moulliard
This is because you will receive a HashMap from Bindy and in your code here listofResults = exchange.getIn().getBody(ArrayList.class); you map what you get from Camel Exchange as Array On Sun, Apr 6, 2014 at 2:17 PM, contactreji wrote: > Hi Charles. > > Am not returning anything explicitly

Re: ReturnType of Bindy - CSV to JAva Obj

2014-04-06 Thread contactreji
Hi Charles. Am not returning anything explicitly though. Am trying to send the java objects returned by Bindy to a seda/direct endpoint .. Can u help me in adjusting the code to make it work? Any ideas would be helpful . Cheers Reji On 06/04/2014 5:40 pm, "Charles Moulliard-2 [via Camel]" < ml-

Re: ReturnType of Bindy - CSV to JAva Obj

2014-04-06 Thread Charles Moulliard
I don't see in the camel examples that you call your processor. Anyway, your error is related to the fact that wrong type returned by a processor that you call. On Sat, Apr 5, 2014 at 1:57 PM, contactreji wrote: > Hey Guys > > I was creating a POC which reads a CSV file with following content >

Re: Referencing camel endpoint defined in the 'blueprint' XML does not appears to work

2014-04-06 Thread segev
Just a note on adding Java DSL, I had to place the before the endpoint definition to get it to work. It will be good if the camel page 'using-osgi-blueprint-with-camel' will highlight the differences between 'blueprint' XML and 'spring' XML (currently it suggests similarity). -- View this mess

Re: Referencing camel endpoint defined in the 'blueprint' XML does not appears to work

2014-04-06 Thread segev
Works fine now. Thanks for that -- View this message in context: http://camel.465427.n5.nabble.com/Referencing-camel-endpoint-defined-in-the-blueprint-XML-does-not-appears-to-work-tp5749850p5749855.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Referencing camel endpoint defined in the 'blueprint' XML does not appears to work

2014-04-06 Thread Claus Ibsen
Hi Can you try put inside On Sun, Apr 6, 2014 at 10:39 AM, segev wrote: > > In previous camel projects (deployed to Tomcat) I used the > to define endpoints and reference these from Routes in DSL. > I am now experimenting with karaf & Fuse and using the 'blueprint' XML file > with 'camel:en

Re: Exception not thrown while doing sftp inside consumer.receive

2014-04-06 Thread Claus Ibsen
Hi Yeah I logged a ticket to improve this, which also explains a bit why https://issues.apache.org/jira/browse/CAMEL-7345 On Fri, Apr 4, 2014 at 1:48 PM, geetha wrote: > Hi, > > If i use sftp inside from uri, am getting exceptions like this > > *For invalid username *- > org.apache.camel.compone

Re: camel cxf (wsdl first) pojo: Can't find the BindingOperationInfo

2014-04-06 Thread Claus Ibsen
Hi Try with: setBody(params); On Fri, Apr 4, 2014 at 8:45 PM, Nicolas74 wrote: > Hello camel guys :-) > > I'm trying to invoke my CXF Web Service (contract first) from a camel route. > I would like to invoke the method "updateJobsStatus(String)" > However I get an IllegalArgumentException: > >

how to disable http proxy for camel bundle

2014-04-06 Thread nono
Hallo All, I just dont want my camel bunle to use http proxy which is set up at OS How to disable http proxy for it ? Any hints are more than welcom! -- View this message in context: http://camel.465427.n5.nabble.com/how-to-disable-http-proxy-for-camel-bundle-tp5749851.html Sent from the C

Referencing camel endpoint defined in the ‘blueprint’ XML does not appears to work

2014-04-06 Thread segev
In previous camel projects (deployed to Tomcat) I used the to define endpoints and reference these from Routes in DSL. I am now experimenting with karaf & Fuse and using the ‘blueprint’ XML file with ‘camel:endpoint’ does not appear to work. The XMLs at the end of this message show the bluepri

Re: Java heap space with FILE producer and larges files

2014-04-06 Thread Claus Ibsen
Hi Can you try with Camel 2.13.0 release On Sat, Apr 5, 2014 at 5:41 PM, bbk wrote: > Hi, > > Since I upgraded Camel 2.6.0 to 2.10.2, the move large files fail using FILE > producer past a certain size (over 200mo). The Camel error is during convert > the body GenericFile to String. > > Failed d