[ 
https://issues.apache.org/jira/browse/AMQ-7054?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Matt Pavlovich updated AMQ-7054:
--------------------------------
    Affects Version/s: 5.15.14

> Failover timeout does not work
> ------------------------------
>
>                 Key: AMQ-7054
>                 URL: https://issues.apache.org/jira/browse/AMQ-7054
>             Project: ActiveMQ
>          Issue Type: Bug
>    Affects Versions: 5.15.14
>         Environment: Linux or Macos
>            Reporter: Rafael Espino
>            Priority: Major
>         Attachments: activemq-client-5.15.4.log, activemq-client-5.8.0.log, 
> failover-bug.tar
>
>
> I have configured an activemq-client 5.15.4 with failover, I add the 
> transport option timeout
> *failover://(tcp://localhost:61616,tcp://localhost:61618)?timeout=3000"*
> I never get the timeout !!!
> IT WORKS if I use activemq-client 5.8.0, please see the attached logs.
>  
> I wonder if I am configuring in a wrong way failover URL.
> I  have attached a test application that you can use to reproduce the 
> problem, to reproduce it you need to change the version of activemq-client in 
> buid.gradle file.
> TO Run the application:
>  * Start 2 ActiveMQs accordin one in port 61616 and the second one in 61618
>  * Star the test application 
>  * Send a http req *curl [http://localhost:8080/loco]*
>  * Check that the message go thru
>  * Stop both ActiveMQs and send a new http req
>  * With amq 5.8.0 you will see the failover timeout
>  * With amq 5.15.4 or 5.15.6 you will never see the failover timeout, instead 
> you will see a java.io.EOFException: null
> Best Regards
> Rafael Espino



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to