Melanie,Ashish|#00|Instantiating beans which are necessary not all of them. It was causing issue with unnecessary activemq connections.