This commit is contained in:
Justin Bertram 2018-08-22 10:37:46 -05:00
commit 46bc10eeaf
1 changed files with 1 additions and 1 deletions

View File

@ -455,7 +455,7 @@ public class ActiveMQActivation {
// to make sure we won't close anyone's connection factory when we stop the MDB
factory = ActiveMQJMSClient.createConnectionFactory(((ActiveMQConnectionFactory) fac).toURI().toString(), "internalConnection");
factory.setEnableSharedClientID(true);
factory.setEnable1xPrefixes(((ActiveMQResourceAdapter) fac).isEnable1xPrefixes());
factory.setEnable1xPrefixes(((ActiveMQConnectionFactory) fac).isEnable1xPrefixes());
} else {
factory = ra.newConnectionFactory(spec);
}