You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Keith Wall (JIRA)" <ji...@apache.org> on 2016/02/29 15:21:18 UTC

[jira] [Closed] (QPID-7117) ACO#setAttributesAsync returns an immediate future regardless (rather than one that completes when the attribute update is done)

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

Keith Wall closed QPID-7117.
----------------------------
    Resolution: Invalid

I misread the code.  Not an issue.

> ACO#setAttributesAsync returns an immediate future regardless (rather than one that completes when the attribute update  is done)
> ---------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: QPID-7117
>                 URL: https://issues.apache.org/jira/browse/QPID-7117
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker
>    Affects Versions: qpid-java-6.0, qpid-java-6.0.1
>            Reporter: Keith Wall
>             Fix For: qpid-java-6.0.2, qpid-java-6.1
>
>
> There is a coding error that means that ACO#setAttributesAsync always returns an immediate future, rather than a future that completes once the work updating the attributes is done.  This defect denies the caller the opportunity to know that an update failed and in the successful case, from the perspective of the caller the update will appear spontaneously at some point in the future.  This may break the caller's assumptions.



--
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