[infinispan-dev] XA transactions on a single CacheManager?
Pedro Ruivo
pedro at infinispan.org
Mon Mar 21 06:07:34 EDT 2016
Hi Sanne
On 03/15/2016 07:22 PM, Sanne Grinovero wrote:
> Hi all,
>
> I just noticed that when I'm making changes to multiple caches within
> the same transaction, the transaction manager will treat this as XA
> transactions.
>
> That seems suboptimal as they are all managed by the same resource; is
> there a configuration I'm missing or should I open a JIRA to ask for
> an improvement?
what are you suggesting? Having a single XA resource per cache manager
instead of one per cache?
>
> I'm not just asking for performance reasons: having to setup a
> transaction manager is an annoying configuration step for Java SE
> users.
I got a little confused by this. You can use the same transaction
manager in all the caches, so you have to configured it once.
If you don't have one, you could use the DummyTransactionManager (we
need to rename it!) in the core that contains the basic to handle
transactions.
Cheers,
Pedro
>
> Thanks,
> Sanne
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/infinispan-dev
>
More information about the infinispan-dev
mailing list