Skip to content
Discussion options

You must be logged in to vote

@schall1337 I'll open an issue to document and add an extra for transactional caches.
Today, as a workaround, what you can do for your tx cache is accessing directly from the RemoteCacheManager

    @Inject
    RemoteCacheManager manager;

  

    // Add transaction config in the client too
    manager.getConfiguration()
             .addRemoteCache("mycache", c -> {
                c.transactionMode(TransactionMode.FULL_XA);
             });

     // Don't inject the cache, but grab it from the manager
     RemoteCache<String, Data> txMyCache = manager.getCache("txCache");
    
     // TransactionManager should not be null now
     TransactionManager transactionManager = txMyCache.getTran…

Replies: 6 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by schall1337
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@karesti
Comment options

karesti Sep 26, 2025
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
2 participants