Refactoring-2 : Injecting ConnectionFactory to decouple with concrete ActiveMQConnectionFactory

Refactoring-2 : Injecting ConnectionFactory to decouple with concrete
ActiveMQConnectionFactory