Skip to content

Commit

Permalink
ARTEMIS-2023 Fix cast on ActiveMQActivation
Browse files Browse the repository at this point in the history
  • Loading branch information
mtaylor authored and jbertram committed Aug 22, 2018
1 parent c879218 commit 5a36b51
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -455,7 +455,7 @@ protected void setupCF() throws Exception {
// 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);
}
Expand Down

0 comments on commit 5a36b51

Please sign in to comment.