}
}
@Override
protected Context createJndiContext() throws Exception {
JndiContext answer = new JndiContext();
ConnectionFactory connectionFactory = new ActiveMQConnectionFactory("vm://localhost?broker.persistent=true");
JmsComponent component = JmsComponent.jmsComponent(connectionFactory);
component.setConcurrentConsumers(4);
answer.bind("activemq", JmsComponent.jmsComponentAutoAcknowledge(connectionFactory));
answer.bind("myBean1", b1);
answer.bind("myBean2", b2);
answer.bind("myBean3", b3);
return answer;
}