You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by clipclip <du...@hotmail.com> on 2012/11/26 07:17:52 UTC

timeout for URI is Unreliable

Use SimpleProducer of example, and add "&timeout=100" to brokerURI.When
broker is not reachable, the send function get timeout in more than 5
seconds. How it happened and how to configure the MQ so I can get a certain
short(<1s) time the send function get timeout?
thanks!

Sent message #71 from thread 4140443344, time 12:05:57.140
Failover timeout of 100 ms reached.
        FILE: activemq/transport/failover/FailoverTransport.cpp, LINE: 241
        FILE: activemq/transport/correlator/ResponseCorrelator.cpp, LINE: 87
        FILE: activemq/core/ActiveMQConnection.cpp, LINE: 880
        FILE: activemq/core/ActiveMQSession.cpp, LINE: 924
        FILE: activemq/core/ActiveMQProducer.cpp, LINE: 213
        FILE: activemq/core/ActiveMQProducer.cpp, LINE: 154
        FILE: activemq/core/ActiveMQProducer.cpp, LINE: 130
Sent message end, time 12:06:02.701
Sent message #72 from thread 4140443344, time 12:06:03.701
Failover timeout of 100 ms reached.
        FILE: activemq/transport/failover/FailoverTransport.cpp, LINE: 241
        FILE: activemq/transport/correlator/ResponseCorrelator.cpp, LINE: 87
        FILE: activemq/core/ActiveMQConnection.cpp, LINE: 880
        FILE: activemq/core/ActiveMQSession.cpp, LINE: 924
        FILE: activemq/core/ActiveMQProducer.cpp, LINE: 213
        FILE: activemq/core/ActiveMQProducer.cpp, LINE: 154
        FILE: activemq/core/ActiveMQProducer.cpp, LINE: 130
Sent message end, time 12:06:08.749



--
View this message in context: http://activemq.2283324.n4.nabble.com/timeout-for-URI-is-Unreliable-tp4659739.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.