ARTEMIS-2023 Fix cast on ActiveMQActivation
This commit is contained in:
parent
c8792186e1
commit
5a36b516e0
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue