[ 
https://issues.apache.org/jira/browse/AMQ-6124?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15098297#comment-15098297
 ] 

ASF subversion and git services commented on AMQ-6124:
------------------------------------------------------

Commit 741ee01e11f2805d84d45996f70996687026993c in activemq's branch 
refs/heads/activemq-5.13.x from [~gtully]
[ https://git-wip-us.apache.org/repos/asf?p=activemq.git;h=741ee01 ]

https://issues.apache.org/jira/browse/AMQ-6124 - fix and test - propagate 
broker info from prestarted backup transport

(cherry picked from commit db1506a5921f70134c3b647cec51204f0e1c1416)


> failover backup transports do not update the brokerInfo leaving stale 
> org.apache.activemq.ActiveMQConnection#getBrokerName
> --------------------------------------------------------------------------------------------------------------------------
>
>                 Key: AMQ-6124
>                 URL: https://issues.apache.org/jira/browse/AMQ-6124
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: JMS client
>    Affects Versions: 5.13.0
>            Reporter: Gary Tully
>            Assignee: Gary Tully
>            Priority: Minor
>              Labels: backup, failover, priorityBackup
>             Fix For: 5.14.0
>
>
> with broker url {code}failover:(tcp://a:<port>,tcp://b:<port> 
> ")?randomize=false&priorityBackup=true{code} The brokerName as reported by 
> org.apache.activemq.ActiveMQConnection#getBrokerName stays at A even after 
> failover to B.
> The backup transport are started up front and the brokerInfo is not cached so 
> it  never gets replayed to the jms connection.
> The same is true for the backup attribute



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to