Atomikos Forum

Getting transaction manager ...

I am initializing atomikos transaction service as follows..since the getTransactionManager is deprecated what is the alternative api i should use to get the txMgr.

...
atomikosUTS = new UserTransactionServiceImp()

Properties props = new Properties();
props.put(...)
...
atomikosUTS.init(props);

//Following call is deprecated
TransactionManager atomikosTM = atomikosUTM.getTransactionManager();

Thanks
Muthuvelan Swaminathan Send private email
Wednesday, October 14, 2009
 
 
Hi,

You should do this:

TransactionManager tm = new com.atomikos.icatch.jta.UserTransactionManager();

Best
Guy Pardon Send private email
Thursday, October 15, 2009
 
 

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics