Hello world,

I tried out the topic listener example delivered with active mq 5.3.
Without failover, it works very well and waits for incoming messages.
With failover, it stops working after 11 seconds, when no messages arrives.
The same problems occurs with failover with only one broker or with tcp
transport protocol.

Look here:
----------

r...@broker1:/opt/apache-activemq-5.3.0/example # ant topic-listener
-Durl="failover://(nio://broker1:62828,nio://broker2:62828)"
Buildfile: build.xml

init:

compile:

topic-listener:
     [java] 18:05:40 INFO  Successfully connected to nio://broker1:62828
     [java] Waiting for messages...

BUILD SUCCESSFUL
Total time: 11 seconds
r...@broker1:/opt/apache-activemq-5.3.0/example #

I think it has something to do with the InactivityMonitor?

Is there somebody who uses the failover scenario?

Thanks in advance,
-Frank-
-- 
View this message in context: 
http://old.nabble.com/Issue-in-example-with-failover-tp27824427p27824427.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to