Re: Network of brokers as a cluster

2014-11-07 Thread jeremy11
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

Re: Network of brokers as a cluster

2014-11-06 Thread jeremy11
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

Re: Network of brokers as a cluster

2014-11-06 Thread jeremy11
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

Network of brokers as a cluster

2014-11-06 Thread jeremy11
Hi, can a network of 2 brokers be used to form a cluster? or I need to use Master/slave or other option. The need is for clustering and that a consumer can disconnect and connect again to the second broker and to receive messages that were sent while it was down. can messages pass to both of the