private void initializeLocal() throws JMSException {
String brokerName = brokerContainer.getBroker().getBrokerName();
ActiveMQConnectionFactory factory = new ActiveMQConnectionFactory("vm://" + brokerName);
factory.setUseAsyncSend(true);
factory.setBrokerName(brokerName);
localConnection = (ActiveMQConnection) factory.createConnection();
localConnection.setJ2EEcompliant(false);
localConnection.start();
BrokerInfo info = new BrokerInfo();
info.setBrokerName(remoteBrokerName);
info.setClusterName(remoteClusterName);