Changed <connection-impl-class> elements from JMSConnectionProxy (not in AMQ4) to ManagedConnectionProxy. Code for both is exactly the same.