activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From AkshayBagai <akshayjavasea...@gmail.com>
Subject Re: Do the send timeouts actually work?
Date Thu, 04 Dec 2008 11:44:16 GMT

Hi zxlllk,

We are trying to upgrage from Active MQ 4.1.1 to Active MQ 5.1, and want to
test the property sendTimeOut. Can you give some pointers on how you tested
this and if possible please provide the stack trace of the exception that
comes up when "sendTimeOut" elapses.

Regards
-Akshay


zxlllk wrote:
> 
> Your solution worked perfectly.  I used
> "failover:tcp://IP_ADDRESS:PORT?maxReconnectAttempts=1" as a broker URI
> and I got the desired results.  Thanks so much for your help!
> 
> 
> Joe Fernandez wrote:
>> 
>> So you are using the failover transport. By default, the failover
>> transport will try indefinitely to connect with the broker. So while it
>> is trying, your send will block. 
>> 
>> See the following for info on how to give the failover transport some
>> boundaries. 
>> 
>> http://activemq.apache.org/failover-transport-reference.html
>> 
>> Joe
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Do-the-send-timeouts-actually-work--tp20583221p20831907.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message