Camel-FTP - retrieving the files tranferred and updating DB

2013-10-31 Thread BAnanth
Hi, I have the following requirement a. I have to transfer a file between two FTP servers. The URI's are dynamically created. (This has been done) b. Upon the successful transfer, I need to update the database with all the files that have been succesfully transferred. b.1 The DB table has

Regarding traceException in tracer

2013-02-11 Thread BAnanth
Hi, This is regarding the tracer functionality in camel. We want to persist the trace information in derby database. We also want to persist exception if any in the derby DB As per the documentation, the latter can be accomplished by setting traceExceptions = true; But even after setting

Re: Regarding OnCompletion functionality

2013-02-03 Thread BAnanth
Thanks Christian for your reply.Let me try and clarify the use case further :Consider the following routes within a camel context a. I need to update a record in the DB immediately after the last route is executed (in our case route=r4 i.e after the

RE: Regarding OnCompletion functionality

2013-02-03 Thread BAnanth
understand your requirements. Could you explain it in more detail? See my comments inline. Sent from a mobile device Am 01.02.2013 11:38 schrieb BAnanth [hidden email]https://webmail.wipro.com/owa/UrlBlockedError.aspx: Hi, We have a requirement wherein we need to insert/update DB record after

Custom interceptors and finding the first and last camel route

2013-01-24 Thread BAnanth
Hello, We have a requirement wherein we need to do some database operations (inserts/updates) immedialtely after the first and last routes are executed. We would be writing two custom interceptors - one for the insert operation after the first route is executed , and the other for the update

Re: Camel Tracer Component - problem with persistence

2012-12-31 Thread BAnanth
Hi, For now , have made the tracer work in the WAR by making the following changes in Jboss, a. Changed standalone.xml. The following lines were added, /datasource jndi-name=java:jboss/datasources/derbyDS pool-name=derbyDS enabled=true use-java-context=true

Re: Camel Tracer Component - problem with persistence

2012-12-20 Thread BAnanth
camel-example-cxf-tomcat_-_tracer.zip http://camel.465427.n5.nabble.com/file/n5724443/camel-example-cxf-tomcat_-_tracer.zip Hi Christian, I am not able to upload the WAR file(size of the file is huge). I am however sending the entire source content as a Zip. This has to be put and extracted

Re: Camel Tracer Component - problem with persistence

2012-12-18 Thread BAnanth
Hi Guru I have added persistence to the exiting cameml-cxf-tomcat example(this is a WAR file). I have added the necessary dependencies in pom.xml also. The derby jars are avaiable in web-inf/lib. Still the error is persisting. Any pointers would be most helpful. Thanks and Regards, Bhavani

RE: Camel Tracer Component - problem with persistence

2012-12-18 Thread BAnanth
at 6:06 AM, BAnanth [hidden email]/user/SendEmail.jtp?type=nodenode=5724304i=0 wrote: 10:23:31,605 WARN [org.hibernate.engine.jdbc.internal.JdbcServicesImpl] (MSC service thread 1-3) HHH000342: Could not obtain connection to query meta data : No suitable driver found for jdbc:derby://localhost

Camel Tracer Component - problem with persistence

2012-12-17 Thread BAnanth
Hello, We are using the Tracer component in out project for monitoring and resending the messages to specific end points. The project is a WAR file that we are deploying in Jboss 7.1.1.Final server. We are using Derby as the DB for persisting the trace messages. *a. We have followed the same