Re: Spridng DSL equivqlent of end() ;

2012-11-14 Thread Elezabeth
OK Claus. Thank you. I understood that.. One more doubt. My actual route is something like this from("seda:filesplit").split().tokenize("\n", 1500).shareUnitOfWork() .streaming().unmarshal(format) .to("bean:xxx?method=yyy")

Re: Spridng DSL equivqlent of end() ;

2012-11-14 Thread Elezabeth
No .. not like that.. For example : See a route like this.. from("jms:queue:order") .choice() .when(isWombat).to("bean:wombatOrder") .otherwise() .to("bean:miscOrder") * .end(); * I want this route to be configured in xml ... How can I do this or what i should I give instea

RE: Configuring camel routes using xml and DSL

2012-11-14 Thread Elezabeth
Thank you .:) - Thanks & Regards Elz -- View this message in context: http://camel.465427.n5.nabble.com/Configuring-camel-routes-using-xml-and-DSL-tp5722396p5722713.html Sent from the Camel - Users mailing list archive at Nabble.com.

Spridng DSL equivqlent of end() ;

2012-11-14 Thread Elezabeth
Hi , What is the spring DSL equivalent of end() ? I am not able to find how I can configure my routes in xml with this "end ()". Can anyone help??? - Thanks & Regards Elz -- View this message in context: http://camel.465427.n5.nabble.com/Spridng-DSL-equivqlent-of-end-tp5722712.html S

Configuring camel routes using xml and DSL

2012-11-09 Thread Elezabeth
Hi , Is there anything like we should configure all our routes in either fully in xml file ,say camel-context.xml , or the routes should be fully in the Java DSL form. ?? Or can I configure one or two routes in xml file and the rest in JAVA file ??/ .. Will it work or is that possible?? Any hel

Re: File comsumer options not working

2012-11-02 Thread Elezabeth
Hi Claus, Any suggestions? - Thanks & Regards Elz -- View this message in context: http://camel.465427.n5.nabble.com/File-comsumer-options-not-working-tp5722020p5722025.html Sent from the Camel - Users mailing list archive at Nabble.com.

File comsumer options not working

2012-11-02 Thread Elezabeth
Hi, I am using camel to read a csv file using the ConsumerTemplate as shown below: / Exchange recievedEx = consumer.receive("file:" + fileLocation + "?fileName=" + fileName);/ Ideally, the default behaviour of the File consumer is that after reading the file the file will be m

Re: Jboss 7 and camel -bindy 2.10

2012-10-09 Thread Elezabeth
Hi - Thanks & Regards Elz -- View this message in context: http://camel.465427.n5.nabble.com/Jboss-7-and-camel-bindy-2-10-tp5720739p5720830.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Jboss 7 and camel -bindy 2.10

2012-10-09 Thread Elezabeth
Hi All, One more question. If in case , Bindy doesn't work , can I use Camel Bean IO. I haven't done much research on that. But when I checked the documentation, I think it satisfy most of my requirements. I want to know which one is better Bindy or Bean IO? - Thanks & Regards Elz -- Vi

Re: Jboss 7 and camel -bindy 2.10

2012-10-09 Thread Elezabeth
Hi Chris, Thanks for your time. Please find the attched file. This is a sample csv file which i am trying to read using the Bindy component. sampleOag.csv Hope it will help. - Thanks & Regards Elz -- View this message in

Re: Jboss 7 and camel -bindy 2.10

2012-10-09 Thread Elezabeth
Hi Claus, This is my route Builder class. package jp.co.airlink.gavss.adapter.eai.oag; import org.apache.camel.Exchange; import org.apache.camel.builder.RouteBuilder; import org.apache.camel.dataformat.bindy.csv.BindyCsvDataFormat; import org.apache.camel.model.dataformat.BindyType; import org.a

Re: Jboss 7 and camel -bindy 2.10

2012-10-09 Thread Elezabeth
Hi Chris, I dint understand quite well about your post. But one observation I would like to share here. When I used CSV instead of Bindy. It worked. So is not some issue between camel bindy and JBoss 7? My issue still exists. Camel bindy is more powerful than camel -csv. Also csv doesn't mat

Re: Jboss 7 and camel -bindy 2.10

2012-10-09 Thread Elezabeth
Hi Scott, I checked that and I have specified "," as the separator. - Thanks & Regards Elz -- View this message in context: http://camel.465427.n5.nabble.com/Jboss-7-and-camel-bindy-2-10-tp5720739p5720788.html Sent from the Camel - Users mailing list archive at Nabble.com.

Jboss 7 and camel -bindy 2.10

2012-10-08 Thread Elezabeth
Hi , I am using Jboss server 7 . I am trying to deploy my war file in the server and to make camel work using my Jboss. I am using camel jars of version 2.10. The war file deployed and the camel context also starts up. But when I am trying to read a file using camel I am getting the following er

Validating each row in a csv file and skipping that row and continue to next

2012-10-05 Thread Elezabeth
Hi, I have a requirement as below: I have a csv to be read. I am reading the csv file using camel and converted to list of VOs . So I assume each row in the csv file is converted into a VO .. in my case it is OagVO. This part is working fine. But I need to add validation also to the csv records.

Re: Camel and tomcat

2012-09-27 Thread Elezabeth
Hi , Thank you for the suggestion. Actually my issue got resolved . The issue was with the name of the servlet that I have defined in the web.xml file. When i gave the name of the servlet as *"CamelServlet"* , it worked. */web.xml/* org.springframework.web.context.ContextLo

Camel and tomcat

2012-09-25 Thread Elezabeth
Hi ,I am trying to make use of camel in tomcat server. My requirement is to read a cvs file in a folder whenever a *http request* is hit. I was able to do this successfully using camel when I was using the "Run as a Java application" in y IDE.Now I have to do the same thing in "Run on server" and

Re: Dynamic variable in Camel

2012-09-17 Thread Elezabeth
Hi , I tried the way u suggested , but still it is not working .. While searching I came across a link in which it is mentioned that for *PollEnrich* , the ${ } is not working... This is the link : https://issues.apache.org/jira/browse/CAMEL-4596 Can you suggest any other way? Thanks in adv

Dynamically variable in Camel

2012-09-17 Thread Elezabeth
Hi , I am new to Camel. My requirement is something like this . I have to read a csv file in a folder when an HTTP url is invoked. This is fine. But I will get a url with a requestparameter called "fileName" and now this is the name of that csv file which i have to read. Eg; if my url is*/