qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ian Main (JIRA)" <qpid-...@incubator.apache.org>
Subject [jira] Created: (QPID-2332) Would be nice to have some kind of wait_for() functionality in the console API
Date Wed, 06 Jan 2010 19:10:54 GMT
Would be nice to have some kind of wait_for() functionality in the console API
------------------------------------------------------------------------------

                 Key: QPID-2332
                 URL: https://issues.apache.org/jira/browse/QPID-2332
             Project: Qpid
          Issue Type: New Feature
            Reporter: Ian Main
            Priority: Minor


We could easily implement a method which waits for a specific property or statistic to become
a specific value.  The ugly way to do this would be eg:

object.wait_for('ready_property', true, 300)

Where the first argument is the name of the property, the second the value to wait for and
the third is a timeout.  I think there would be more elegant ways to do this in many languages
however.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org


Mime
View raw message