I've tried several connection pools with no success. The problem is that JPA is keeping the connection, I guess.
I've solved my problem by switching to the hibernate Camel component and reconnection works fine with C3P0. On Tue, Jan 5, 2016 at 10:06 PM, SaurabhNayar <nayar.saur...@gmail.com> wrote: > That's not good from c3p0. You can try a different connection pool > altogether. > > Apache DBCP is compatible with Hibernate > http://commons.apache.org/proper/commons-dbcp/ > > Here are some more details on Hibernate connection pooling: > http://www.informit.com/articles/article.aspx?p=353736&seqNum=4 > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/JPA-consumer-reconnection-tp5775721p5775856.html > Sent from the Camel - Users mailing list archive at Nabble.com. >