Re: splitter, enricher, aggregator

2013-05-04 Thread Claus Ibsen
Hi You can write a java bean with a method that enrichs with data from the file. public String enrichMe(@Header("id") String id) { And then use some stax / xml / xpath api to find the selection to enrich. Mind that the xpath from the JDK works only in-memory so if you want to use that, then may

Re: IS the File polling possible in CAMEL.

2013-05-04 Thread Claus Ibsen
Hi Yes that is possible. You can do a Camel route that starts from file and then transform the message. from file transform If you are new to Camel I suggest reading this article http://java.dzone.com/articles/open-source-integration-apache Or check out some of the others at listed at: http:

Re: Upgrade from 2.10 -> 2.11.0

2013-05-04 Thread Claus Ibsen
Hi Use dataSource=#infor.DataSource instead of dataSourceRef On Sat, May 4, 2013 at 2:50 PM, kalber wrote: > Hi, > > upgrading to 2.11 in the lib/optional directory aren't spring release 3.0.7 > jars : > spring-beans-3.0.7.RELEASE.jar > spring-core-3.0.7.RELEASE.jar > spring-jdbc-3.0.7.RELEAS

Re: How to create a generic SOAP consumer?

2013-05-04 Thread Claus Ibsen
Hi There is a CXF_MESSAGE format that may allow you to do a generic SOAP consumer with camel-cxf. http://camel.apache.org/cxf On Sat, May 4, 2013 at 2:05 PM, Smith-John wrote: > Hi, > > thanks for the survey. > > But is it possible with cxf to get a generic SOAP consumer? With generic I > mean t

Re: Will camel-websocket work in producer mode from a web app?

2013-05-04 Thread Claus Ibsen
Hi Yeah using the websocket jsr would be a good idea. I would assume Atmosphere implements the JSR or will do. Though if there is another library than Atmosphere that implements the jsr then we can take a look at that too. Its not written in stone that we must use Atmosphere. Just that ideally th

IS the File polling possible in CAMEL.

2013-05-04 Thread umashankar29
Hi, We have a requirement in polling file from a folder and transform . Is it possible to have this implemented thru the Filecomponent thru getting this endpoint ? Thanks -- View this message in context: http://camel.465427.n5.nabble.com/IS-the-File-polling-possible-in-CAMEL-tp5732019.html S

Upgrade from 2.10 -> 2.11.0

2013-05-04 Thread kalber
Hi, upgrading to 2.11 in the lib/optional directory aren't spring release 3.0.7 jars : spring-beans-3.0.7.RELEASE.jar spring-core-3.0.7.RELEASE.jar spring-jdbc-3.0.7.RELEASE.jar spring-tx-3.0.7.RELEASE.jar I can use these on ? Doing this i get this error what with 2.10 works well : org.apach

Camel LDAP How to add , remove , modify from LDAP Server?

2013-05-04 Thread atiato
Hello Claus , I need to know how to use Add , remove or modify in additional to search with Camel LDAP using Spring DSL ? any spring DSL example will be appreciated , for example I need to set the Body with certain value to add or remove or modify , search is managable through Apache camel docs ?

Groovy script cannot import a class

2013-05-04 Thread Bazzer
I have a really simple Groovy script that I cannot get to run in Camel: causes the messages: Are there some restrictions about what exactly I can do with Groovy within Camel, or am I doing something horribly wrong? Thanks! Barry -- View this message in context: http://camel.465427.n5.n

Re: Will camel-websocket work in producer mode from a web app?

2013-05-04 Thread Chris Wolf
Thanks, ok. On Sat, May 4, 2013 at 4:28 AM, Claus Ibsen wrote: > Hi > > No the current camel-websocket is Jetty based. > There is a ticket to create a new component using the Atmosphere > framework which is container agnostic. > > On Sat, May 4, 2013 at 4:27 AM, Chris Wolf wrote: >> I see that i

splitter, enricher, aggregator

2013-05-04 Thread ihullu
I would like to do the following: 1. read a csv file 2. split it per line 3. per line enrich it with data coming from a xml source 4. per line execute a REST call to store the line As I have a pure Java background an no Spring experience I used the Java DSL. This is what I created so far:

Re: How to create a generic SOAP consumer?

2013-05-04 Thread Smith-John
Hi, i tried it with: Isn't this right? -- View this message in context: http://camel.465427.n5.nabble.com/How-to-create-a-generic-SOAP-consumer-tp5731741p57

Re: How to create a generic SOAP consumer?

2013-05-04 Thread Smith-John
Hi, thanks for the survey. But is it possible with cxf to get a generic SOAP consumer? With generic I mean that it can handle all possible kinds of different SOAP messages. Using MESSAGE dataformat it can't handle headers and with POJO dataformat I have to provide e.g. serviceClass that I haven't

Re: Will camel-websocket work in producer mode from a web app?

2013-05-04 Thread Romain Manni-Bucau
Hi Would be great to use the new websocket jsr by default, no? Le 4 mai 2013 10:29, "Claus Ibsen" a écrit : > Hi > > No the current camel-websocket is Jetty based. > There is a ticket to create a new component using the Atmosphere > framework which is container agnostic. > > On Sat, May 4, 2013

Re: Truststore in HTTP4 component not working

2013-05-04 Thread Claus Ibsen
What Camel version do you use? On Thu, May 2, 2013 at 9:04 PM, fbarbat wrote: > I must add it looks like there are two instances of HttpComponent. One is > configured with SSL context and the other is not. Is that ok? > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com

Re: Will camel-websocket work in producer mode from a web app?

2013-05-04 Thread Claus Ibsen
Hi No the current camel-websocket is Jetty based. There is a ticket to create a new component using the Atmosphere framework which is container agnostic. On Sat, May 4, 2013 at 4:27 AM, Chris Wolf wrote: > I see that it uses Jetty to launch a web server for camel-websocket in > producer mode. I

Re: Issue in JSON marshalling

2013-05-04 Thread sarfaraj
You took question wrongly. I am asking that property in JSON not in xmljson . We have POJO object which we want to convert to JSON. xmljson is for XML to JSON not for Object to JSON. Currently JSON return [{"id":1,"name":"abc"}] But instead of [{"id":1,"name":"abc"}] , we need {"*myData*":{"

Skip multiple leading lines in CSV file

2013-05-04 Thread helander
I intend to consume a fairly big CSV type file using camel-bindy. The file do have a fixed amount of lines at the start of the file before the actual CSV data starts. What would be the best/easiest way to "remove" these initial lines. I guess that I somehow need to strip them off before the data hi