Hi,

Using aries.xa.aware ensures that your transaction is handled by Aries
(Auto enlisted) so you’ll be able to mix multi-databases transactions,
mixed JMS/JDBC ones.

2014-11-26 12:41 GMT+01:00 garethahealy <garethahe...@gmail.com>:

> I have been playing around with some database code [1], and randomly on my
> google travels spotted [2]. So i am trying to understand when/why i should
> use: aries.xa.aware=true
>
> From my current setup, i believe i am using XA connections, so what benefit
> is there in adding the aries.xa.aware into the mix? It seems to just
> duplicate what i am currently doing...
>
> [1]
> https://github.com/garethahealy/jboss-fuse-examples/blob/master/database-playground/database-datasource/src/main/resources/OSGI-INF/blueprint/database-datasource-context.xml
>
> [2]
> https://access.redhat.com/documentation/en-US/Red_Hat_JBoss_Fuse/6.0/html/EIP_Transaction_Guide/files/XaJdbc-AutoEnlist.html
>
>
>
>
>
> --
> View this message in context:
> http://karaf.922171.n3.nabble.com/XA-Database-and-aries-xa-aware-tp4036692.html
> Sent from the Karaf - User mailing list archive at Nabble.com.
>



-- 
Charlie Mordant

Full OSGI/EE stack made with Karaf:
https://github.com/OsgiliathEnterprise/net.osgiliath.parent

Reply via email to