Thank you Claus!

The setting you mention is required.



Apparently my specific issue was with a bugged version of h2db:
https://groups.google.com/d/msg/h2-database/GJJVQbyHOJQ/lwMzO9OUSjMJ


Here a fully working example in Java + Blueprint on JBoss Fuse 6.2.1, for
anyone that might be interested in it:

https://github.com/paoloantinori/fuse-quickstarts/tree/jboss-fuse-6.2.1/karaf/jdbc_jta



thanks again

paolo

On Thu, Jul 28, 2016 at 2:13 PM, Claus Ibsen <claus.ib...@gmail.com> wrote:

> You likely need to set resetAutoCommit=false, so the transaction
> manager orchestrating the JDBC DataSource can perform the commit at
> the end, when the TX is set to commit.
>
>
>
> On Wed, Jul 27, 2016 at 6:50 PM, Paolo Antinori <sonica...@gmail.com>
> wrote:
> > Hi, I'm trying to understand if camel-jdbc can work under the
> coordination
> > of a transaction manager.
> >
> > I have found this old JIRA:
> >
> > https://issues.apache.org/jira/browse/CAMEL-3803
> >
> > And not much more in git history of JdbcProducer class.
> >
> >
> > Can anyone confirm?
>
>
>
> --
> Claus Ibsen
> -----------------
> http://davsclaus.com @davsclaus
> Camel in Action 2: https://www.manning.com/ibsen2
>

Reply via email to