Properties props1 = new Properties();
props1.putAll(ServerManagement.getJNDIEnvironment(1));
JMSProviderAdapter sourceAdaptor =
new TestJMSProviderAdaptor(props0, "/XAConnectionFactory", "adaptor1");
JMSProviderAdapter targetAdaptor =
new TestJMSProviderAdaptor(props1, "/XAConnectionFactory", "adaptor2");
sc.installJMSProviderAdaptor("adaptor1", sourceAdaptor);
sc.installJMSProviderAdaptor("adaptor2", targetAdaptor);
sc.startRecoveryManager();