Fuse Datasource Problem

2017-06-08 Thread raja
Hi, I don't know whether it is the right place to ask.Im trying to create datasource in fuse. The Datasource works fine as Camel standalone Application. Im using ANT for build task(not maven). Fuse DataSource: In camel I used "org.springfr

Re: Bug in the camel - JDBC

2017-06-05 Thread raja
Starnge, If I remove CamelHeaders after JDBC Insert No Exception arise in the JDBC Select. If CamelHeaders Present then Statement is Closed Exception arise. -- View this message in context: http://camel.465427.n5.nabble.com/Bug-in-the-camel-JDBC-tp5801823p5801837.html Sent from the Camel - User

Re: Camel jdbc - select batch processing

2017-06-05 Thread raja
Simple solution is* Splitter with Collate* collate(200) -- View this message in context: http://camel.465427.n5.nabble.com/Camel-jdbc-select-batch-processing-tp5801682p5801832.html Sent from the Camel - Users mailing list archive at Nabble.com.

Bug in the camel - JDBC

2017-06-05 Thread raja
Hi, While working in the camel JDBC, I got Exception state that "Statement is closed" My Route: I can able to Insert.There is no problem while Insertion. But I am getting Exception in the JDBC Selection Exception Message :The statement is closed.

Camel jdbc - select batch processing

2017-06-02 Thread raja
Hi all, How to select batch of records from resulting List in jdbc. ex: If select returns List of 1000 rows, I want to split and process 200 records per batch.Splitter is not working, its split single row. How to use like tokenize with group in splitter in this case. -- View this message

Re: servlet fileupload

2017-05-25 Thread raja
Using the following Filter made file uploading easy. MultipartFilter org.eclipse.jetty.servlets.MultiPartFilter MultipartFilter CamelServlet -- View this message in context: http://camel.465427.n5.nabble.com/servlet-fileupl

Re: Camel Mail sends the same email twice

2017-05-23 Thread raja
Hi, I dont know about ur coding.So I can't tell what causing the problem exactly. But I can assure camel Route wont send mail twice. If u starting the camel route manually from your code then check your the route is started only once. If you are using bean to attach the mail conte

Re: Camel Mail sends the same email twice

2017-05-23 Thread raja
Hi, The Route is working fine.when executing the Route I received the mail only once.If you are receiving the mail twice means the problem is not with the Given ROUTE. -- View this message in context: http://camel.465427.n5.nabble.com/Camel-Mail-sends-the-same-email-twice-tp5800048p5800049

Re: Servlet Session Handling

2017-05-18 Thread raja
Thank u bro, It works Fine. -- View this message in context: http://camel.465427.n5.nabble.com/Servlet-Session-Handling-tp5799692p5799765.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel sql Component should retrieve data when the particular column is null using select query

2017-05-18 Thread raja
Change from: ${body[CDR_JSON_FORM]}!= null Change TO: ${body[CDR_JSON_FORM]} != null -- View this message in context: http://camel.465427.n5.nabble.com/Camel-sql-Component-should-retrieve-data-when-the-particular-column-is-null-using-select-query-tp5799613p5799771.html Sent from the Came

Re: Servlet Session Handling

2017-05-18 Thread raja
In the previous post I told about a Problem getting HttpSession after JDBCComponent. A little hack solve the Issue but I don't know its right way or not. The HttpRequest is kept in one of the header named "CamelHttpServletRequest".So after the JDBCComponent I try to get the HttpSession from the He

Servlet Session Handling

2017-05-17 Thread raja
hi all, Is there any way to get/set session attribute(Session Handling) in camel Servlet? -- View this message in context: http://camel.465427.n5.nabble.com/Servlet-Session-Handling-tp5799692.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: How to forward another JSP or servlet. Camel-jetty or Camel-servlet

2017-05-16 Thread raja
Hi tko429, Did you find the Solution? What about bridgeEndpoint? http://realserverhostname:8090/myapp?bridgeEndpoint=true&throwExceptionOnFailure=false"/> -- View this message in context: http://camel.465427.n5.nabble.com/How-to-forward-another-JSP-or-servlet-Camel-jetty-or-Camel-servl