Camel 3.0 release

2010-12-27 Thread vcheruvu
Hi, When can we expect to see Camel 3.0 release? I am hoping to see Camel using more of Java EE 6 features, I.E. JSR 330. I am wondering, is it possible to specify the routes in beans.xml(CDI configuration) instead of Spring based xml configuration? Some end users might not have Spring as defacto

Re: Problem with setting message

2010-12-27 Thread Willem Jiang
Can I have a look at the method of setLastMessageData ? Willem On 12/27/10 11:18 PM, haykz wrote: Hi everyone. I am dealing with issue tracing route and got some problems. My Camel routing is done by spring configuration. The idea is the following. I need to be able to trace some route – say

Re: Thread creation leak problem 2.0M3

2010-12-27 Thread Willem Jiang
Can you try the latest released Camel 2.5.0 ? If I remember right there are some template related issues are fixed. Willem On 12/28/10 9:59 AM, Joe White wrote: We are using camel 2.0M3 in tomcat 5 and are having a problem where over time more and more threads are created and never reclaimed. T

Thread creation leak problem 2.0M3

2010-12-27 Thread Joe White
We are using camel 2.0M3 in tomcat 5 and are having a problem where over time more and more threads are created and never reclaimed. The threads are labeled "Camel thread X: ActiveMQComponent" where X is an ever increasing number. Each thread is "waited" repeatedly over time but never complete. Eve

Re: prepared statements in camel-jdbc?

2010-12-27 Thread Christian Müller
Hello Tommy! I didn't understand how the prepared statement can be an improvement here (preventing sql injection) when the sql is constructed in your bean. Could you please explain in more detail what do you want. At present, the camel-jdbc component expects a sql query or sql update in the exchan

Problem with setting message

2010-12-27 Thread haykz
Hi everyone. I am dealing with issue tracing route and got some problems. My Camel routing is done by spring configuration. The idea is the following. I need to be able to trace some route – saying to write down in DB when has message last time passed through this route. I have created processor

Re: Processing files one by one in camel

2010-12-27 Thread Claus Straube
Hi, can you post your route? On 27.12.2010 13:19, kanmisc wrote: Hi I have usecase saying - in source endpoint i have few files to be processed. Each file needs to be read by camel route and assigned an unique id and processed through dedicated beans and the resulting file will be posted to an

Processing files one by one in camel

2010-12-27 Thread kanmisc
Hi I have usecase saying - in source endpoint i have few files to be processed. Each file needs to be read by camel route and assigned an unique id and processed through dedicated beans and the resulting file will be posted to another endpoint. Then it takes another file and do the same logic. W

Re: prepared statements in camel-jdbc?

2010-12-27 Thread Claus Ibsen
On Mon, Dec 27, 2010 at 7:59 AM, Tommy Chheng wrote: > Is it possible to use jdbc's prepared statements with camel-jdbc? > It's more for a matter of preventing sql injection than performance. > No its not possible. However if you want to help improve camel-jdbc feel free to work on a patch to sup

Re: prepared statements in camel-jdbc?

2010-12-27 Thread Jean-Baptiste Onofré
Hi Tommy, no, currently the camel-jdbc component (in the JdbcProducer) only support "classic" statement: Statement stmt = conn.createStatement(); Feel free to create a Jira to enhance the JDBC component to support PreparedStatement. We will pick the task and implement the new feature. Rega