ARTEMIS-2023 Fix cast on ActiveMQActivation

This commit is contained in:
Martyn Taylor 2018-08-22 13:52:12 +01:00 committed by Justin Bertram
parent c8792186e1
commit 5a36b516e0
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);
}