You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2015/05/29 21:14:17 UTC

[jira] [Commented] (QPIDJMS-59) uri pool object is not thread safe but is accessed by multiple threads

    [ 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