Re: Options for preferring stability over reliability

2009-05-03 Thread geoffmciver
I too am seeing an issue that activemq freezes completely, Im not sure if it is under "heavy" load at the time. I'm using it as a simple queue with one producer and one consumer. Nothing appears in the logs and wrappers reports that it "couldn't ping JVM for xx seconds" and restarts ActiveMQ. B

Re: How to preserve order of messages in Network of Brokers?

2009-05-03 Thread riteshtijoriwala
Just an FYI, I am seeing this behavior with one producer, one consumer and two brokers. riteshtijoriwala wrote: > > I have two consumers C1 and C2 and two brokers B1 and B2 that see each > other. I have one producer P1. > > P1 is connected initially to B1 and C2 is connected to B1. C1 is conne

Re: Stomp transactions

2009-05-03 Thread volante
Further to this, it appears that if I restart activemq, new stomp clients will then receive the messages as expected (they are persistent messages). If I send an ABORT before disconnecting the stomp connection, everything works as expected and no restart is required. It looks like when I close

Stomp transactions

2009-05-03 Thread volante
I'm a bit confused about some behaviour I'm seeing when doing transactions with stomp. First my producer puts 3 messages into MyQueue: MSG1, MSG2, MSG3 Then I start up my stomp consumer which does this: - CONNECT (ack = client) - SUBSCRIBE MyQueue - BEGIN tx1 - message-id: MSG1 - ACK message-i

How to preserve order of messages in Network of Brokers?

2009-05-03 Thread riteshtijoriwala
I have two consumers C1 and C2 and two brokers B1 and B2 that see each other. I have one producer P1. P1 is connected initially to B1 and C2 is connected to B1. C1 is connected to B2. The initial start is as follows: P1 produces 1, 2, 3, 4, 5, 6, (B1 failed), 7, 8, 9, 10. C1 gets 1, 3, 5, 7, 9,