Hi Ebe, Camel delegates the connection handling to the JPA framework. Your JDBC driver may be using a connection pool or something. All that is handled by the JPA EntityManager, so you may want to look at options to configure the behaviour regarding the connection.
As to the file not being moved when processing finishes, can you place an OnComplete block that sends to a log endpoint with showAll=true and paste the logging output? Are there any exceptions occurring? Regards, Raul. On 19 Dec 2011, at 18:14, ebinsingh <ebenezer.si...@verizonwireless.com> wrote: > Looks like the JPA connection does not close after persisting the data in the > database. Not sure how to resolve this. > > Appreciate any help. > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Intercept-issue-need-help-tp5080816p5086885.html > Sent from the Camel - Users mailing list archive at Nabble.com.