System.out.println("ActiveMQ provider starting up.");
System.out.println("==================================");
directory.put(getQueueConnectionFactory(), new ActiveMQConnectionFactory(brokerURL));
directory.put(getTopicConnectionFactory(), new ActiveMQConnectionFactory(brokerURL));
directory.put(getXAQueueConnectionFactory(), new ActiveMQXAConnectionFactory(brokerURL));
directory.put(getXATopicConnectionFactory(), new ActiveMQXAConnectionFactory(brokerURL));
if( adminConnection!=null )
throw new JMSException("Admin connection allready established.");
ActiveMQConnectionFactory factory = new ActiveMQConnectionFactory(brokerURL);