As I understand it, the text you quoted only applies if
replayWhenNoConsumers=false. With replayWhenNoConsumers=true (as you have
it), you should get all messages delivered from all brokers that are up,
but you still won't get messages from brokers that are down until they come
back up. So I thin
Hi,
I also tested durable subscriber on a network of 2 brokers and you are
correct this case can also happen, from the documents on durable
subscription: "However, if the subscriber disconnects and reconnects to
broker A, any messages sent by P while the subscriber was away will be stuck
on B unti
As far as I know, this behavior would happen with simple topics and simple
queues just as much as with virtual topics; this is a result of ActiveMQ's
fundamental architecture, not something specific to virtual topics. The
architecture of ActiveMQ ensures that any broker only knows about its own
me
Hi,
I guess this is a real problem with networks of broker and virtual topics, I
thought it could solve the problem of messages getting stuck when one of the
brokers go down.
I guess I will go on a simple topic and if my consumer goes down and
reconnects he will only gets new messages (not durabl
What you're describing sounds like what I warned about in my last
paragraph: messages are getting routed to broker1 while the consumer is
offline, which means they exist in broker1's message store and not anywhere
else in the network of brokers. When broker1 goes offline, those messages
don't exis
thanks for the quick answer. my problem with the virtual topic with 2 brokers
is this:
consumer has a failover url of the 2 brokers, brokers are connected in
duplex mode, replayWhenNoConsumers="true"
1. I have a consumer connected to broker1
2. each message that is sent to broker 1 or 2 is receive
Yes, you can have a pair of brokers that are both active at the same time
and that both have their own independent message store (not master/slave
with a shared message store). You'll need to configure the brokers so they
can talk to either other (either a duplex networkConnector from one to the
o