To ensure activemq is loaded after jms.core, I renamed the prefix for the activemq spring xml and default properties. I also added a default value for clientId. I also renamed the property to reflect 'connection factory'