qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (QPIDJMS-59) uri pool object is not thread safe but is accessed by multiple threads
Date Fri, 29 May 2015 19:14:17 GMT

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

ASF subversion and git services commented on QPIDJMS-59:
--------------------------------------------------------

Commit 07d1637d959002cef9c7eb5466f0185618db29bc in qpid-jms's branch refs/heads/master from
[~tabish121]
[ https://git-wip-us.apache.org/repos/asf?p=qpid-jms.git;h=07d1637 ]

https://issues.apache.org/jira/browse/QPIDJMS-58
https://issues.apache.org/jira/browse/QPIDJMS-59
https://issues.apache.org/jira/browse/QPIDJMS-60

URI Pool updated to provide thread safe operations.  Added method
addFirst and used that to ensure that redirect URIs are always used on
the next connect attempt.  Updated the remove method to use the same
logic as add to find the matching URI to remove.

> uri pool object is not thread safe but is accessed by multiple threads
> ----------------------------------------------------------------------
>
>                 Key: QPIDJMS-59
>                 URL: https://issues.apache.org/jira/browse/QPIDJMS-59
>             Project: Qpid JMS
>          Issue Type: Bug
>          Components: qpid-jms-client
>    Affects Versions: 0.2.0
>            Reporter: Robbie Gemmell
>            Assignee: Timothy Bish
>
> The failover provider maintains a list of URIs via a FailoverUriPool instance. That class
isnt thread safe, but it is accessed by multiple threads (the serializer and connection hub
threads, possibly others setting/getting config options)



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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


Mime
View raw message