VM communication between two war

2010-08-10 Thread cmdr
Hi Is it possible to configure the communication between two war using activeMq VM protocol. I try vm://localhost?create=false for one war and vm://localhost for the second war but that does not work. The firts war is not able to connect to the broker. Regards -- View this message in context:

spring jms test

2010-06-17 Thread cmdr
Hi Can someone explain me the reason why this test failed @RunWith(SpringJUnit4ClassRunner.class) @ContextConfiguration(locations = { "classpath:applicationContext.xml" }) public class SenderTest { @Autowired private JmsTemplate jmsTemplate; @Test public void tes

Re: vm://localhost In memory messages

2010-06-16 Thread cmdr
Hi I tried the option broker.persistent=false. With this option when I send a message to the queue, it is not persisted. So I can't read the message after it has been send. This is the reason why I was thinking of memory persistence. Regards -- View this message in context: http://old.nabbl

vm://localhost In memory messages

2010-06-15 Thread cmdr
Hi When running activemq in memory (vm://localhost) it seems that the queue messages are still persisted ssomewhere. Is there a way to persist the message only in memory so the queue messages will dead with the broker. This is for unit test. Regards -- View this message in context: http://old