Messages from multiple producers will be interlaced as they arrive at
the broker and dispatched to the consumer in the order they've
arrived at the broker. I suspect what you are seeing is down to
threading behavior of your operating system - are you by chance using
windows ?
cheers,
Rob
On 11 Apr 2006, at 17:43, yaussy wrote:
I'll pose this as a question first, since I've made a mistake
already with
regards to the JMS spec and Durable consumer behavior...
Is there any reason why you can't have multiple producer processes
publishing to the same durable topic, and be able to expect that
consumers
would get all messages published (i.e. from both producer processes)?
My configuration is (AMQ RC2):
3 brokers, A, B and C
1 consumer connected to broker A
1 producer connected to broker B
1 producer connected to broker C
I start the first producer and the consumer reports receiving
messages from
that producer (I put a producer name into the message for
verification).
Once I start the second producer, the consumer reports receiving
messages
from the second producer - but stops reporting messages from the first
producer. A couple minutes go by, then it switches - the consumer
reports
messages from the first producer, but not from the second
producer. This
flip flop continues. At first I thought the second producer would
be all
that the consumer would get, but was surprised to see the switches
between
one producer and the other - I just had to wait a few minutes.
--
View this message in context: http://www.nabble.com/Multiple-
Durable-Producers-Question-t1432987.html#a3865663
Sent from the ActiveMQ - User forum at Nabble.com.