Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
Windows/UNIX
Description
GenericResourceManager needs XAConnectionFactory for recovery but gets only ConnectionFactory which wraps the XAConnectionFactory provided.
XaPooledConnectionFactory:
public void setXaConnectionFactory(XAConnectionFactory xaConnectionFactory) {
this.xaConnectionFactory = xaConnectionFactory;
setConnectionFactory(new ConnectionFactory() {
public Connection createConnection() throws JMSException
public Connection createConnection(String userName, String password) throws JMSException
{ return XaPooledConnectionFactory.this.xaConnectionFactory.createXAConnection(userName, password); } });
}