requestor = new QueueRequestor(session, theQueue);
}
protected void createConnections() throws JMSException {
ActiveMQConnectionFactory fac = (ActiveMQConnectionFactory)context.getBean("localFactory");
localConnection = fac.createQueueConnection();
localConnection.start();
fac = (ActiveMQConnectionFactory)context.getBean("remoteFactory");
remoteConnection = fac.createQueueConnection();
remoteConnection.start();