fix for: https://issues.apache.org/jira/browse/AMQ-4360 Update spring pooled bean and config files to use non-deprecated calls.