title: Is there any Generic Initial Context Factory ?
body: <p>Hi I want to design a system where I am writing an application that connects to multiple JMS sources. I am using Spring JMS for this and when I create a connection factory I have to define the Initial_Context_Factory for that vendor and I have to have the dependency of the JAR in my project, </p>
  
  <p>Example : </p>
  
  <p>For ActiveMQ = org.apache.activemq.jndi.ActiveMQInitialContextFactory
      WebLogic = weblogic.jndi.WLInitialContextFactory</p>
  
  <p>Required Solution: I want a solution where I do not need to add the dependencies of all the vendors. I need a generic InitialContextFactory that could be a parent of all the above mentioned ones.</p>
  
  <p>Server JBOSS AS7</p>