[
https://issues.apache.org/jira/browse/QPID-7117?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Keith Wall updated QPID-7117:
-----------------------------
Description:
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.
was:
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.
> 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: [email protected]
For additional commands, e-mail: [email protected]