Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-6238

Expose receiver.available and receiver.capacity

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • None
    • None
    • None

    Description

      What you get atm:

      [jross@localhost bin]$ python
      Python 2.7.5 (default, Sep 25 2014, 13:52:19) 
      [GCC 4.8.3 20140624 (Red Hat 4.8.3-1)] on linux2
      Type "help", "copyright", "credits" or "license" for more information.
      >>> from qpid_messaging import *
      >>> conn = Connection("localhost:5672")
      >>> conn.open()
      >>> sess = conn.session()
      >>> link = sess.receiver("test")
      >>> link.available
      <bound method Receiver.available of <qpid_messaging.Receiver; proxy of <Swig Object of type 'qpid::messaging::Receiver *' at 0x1bb2a80> >>
      >>> link.unsettled
      <bound method Receiver.unsettled of <qpid_messaging.Receiver; proxy of <Swig Object of type 'qpid::messaging::Receiver *' at 0x1bb2a80> >>
      >>> 
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            jross Justin Ross
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: