Reputation: 622
I need to do XA transaction in JavaSE with JDBC and JMS Queues.
I have weblogic server to lookup for resources.
Could you help me with some sample code?
Upvotes: 6
Views: 3057
Reputation: 32086
I can't provide code, but you must keep these things in mind when doing two-phase commit with JDBC and JMS resources in WebLogic...
JMS General Settings
JDBC General Settings
From the code perspective, either control the transaction from MDB or Spring bean with transaction annotations; the J2EE containers will handle the global commit/rollback.
Upvotes: 2