activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Frank Werner <activ...@wesoft.de>
Subject Issue in example with failover
Date Mon, 08 Mar 2010 17:13:14 GMT

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:
----------

root@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
root@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.


Mime
View raw message