summaryrefslogtreecommitdiff
path: root/python
Commit message (Collapse)AuthorAgeFilesLines
* * python/qpid/peer.py (Peer.close): Close delegate *before* channels.Alan Conway2007-03-151-1/+4
| | | | | | | | | Otherwise we get a race: closing a channel can wake a client thread, which may see client.closed as still false. Was causing bogus exceptions in some tests. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@518707 13f79535-47bb-0310-9956-ffa450edef68
* r1278@fuschia: andrew | 2007-03-08 19:42:43 +0000Andrew Stitcher2007-03-081-1/+0
| | | | | | | | Correctly split reference messages into chunks shorter than the framesize git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@516157 13f79535-47bb-0310-9956-ffa450edef68
* * python/qpid/peer.py (Channel.__init__): use reliable framing ifAlan Conway2007-03-063-14/+22
| | | | | | | | | | version >= 0-8. * python/qpid/spec.py (Spec.__init__): Remove unused parameter. * python/qpid/testlib.py (TestRunner._parseargs): Add --errata option, set default errata only if --spec is not present. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@515363 13f79535-47bb-0310-9956-ffa450edef68
* Revised list of failing tests for java broker on this branchGordon Sim2007-02-231-7/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@510913 13f79535-47bb-0310-9956-ffa450edef68
* Ensure socket is closed in tearDownGordon Sim2007-02-213-7/+22
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@510128 13f79535-47bb-0310-9956-ffa450edef68
* r1224@fuschia: andrew | 2007-02-21 17:20:59 +0000Andrew Stitcher2007-02-211-0/+4
| | | | | | | Updated expected cpp broker test failures git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@510114 13f79535-47bb-0310-9956-ffa450edef68
* Fixed bug in references where map wasn't qualified in closeGordon Sim2007-02-213-6/+9
| | | | | | | | | Attach reference to transfer, as it will be deleted on close Altered tests to get reference from the message on the queue rather than looking them up from channel as they are already gone there git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@510096 13f79535-47bb-0310-9956-ffa450edef68
* r1152@fuschia: andrew | 2007-02-17 21:14:42 +0000Andrew Stitcher2007-02-211-1/+1
| | | | | | | | | More support for references (and transfers of reference content) r1220@fuschia: andrew | 2007-02-21 00:22:53 +0000 Working version of delivering Message Transfers by reference git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@509834 13f79535-47bb-0310-9956-ffa450edef68
* Updated list of failing tests for java broker on this branch.Gordon Sim2007-02-201-4/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@509617 13f79535-47bb-0310-9956-ffa450edef68
* Fixed bug where response id rather than request id was being used to get ↵Gordon Sim2007-02-201-1/+1
| | | | | | listener for response. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@509611 13f79535-47bb-0310-9956-ffa450edef68
* Fix: use message_resume not channel_resumeGordon Sim2007-02-161-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@508396 13f79535-47bb-0310-9956-ffa450edef68
* Updated failing list for java (some of these result in test suite blocking)Gordon Sim2007-02-162-1/+12
| | | | | | | | Added better error handling when connection closes without close method git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@508377 13f79535-47bb-0310-9956-ffa450edef68
* Expanded the use of batched acks to a few other places in tests.Gordon Sim2007-02-142-25/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@507491 13f79535-47bb-0310-9956-ffa450edef68
* r1111@fuschia: andrew | 2007-02-09 15:51:10 +0000Andrew Stitcher2007-02-133-16/+18
| | | | | | | | | | Removed currently unused request tracking logic r1125@fuschia: andrew | 2007-02-13 21:51:30 +0000 Implemented receiveing batched Message.ok in c++ broker Implemented batched response frames in python client code git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@507249 13f79535-47bb-0310-9956-ffa450edef68
* Minor update to checkpoint testGordon Sim2007-02-121-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@506566 13f79535-47bb-0310-9956-ffa450edef68
* Added test for checkpointingGordon Sim2007-02-121-2/+26
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@506565 13f79535-47bb-0310-9956-ffa450edef68
* Added a test for message_reject.Gordon Sim2007-02-121-0/+15
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@506545 13f79535-47bb-0310-9956-ffa450edef68
* * qpid/client.py - altered handling of transfer for references, Gordon Sim2007-02-122-22/+124
| | | | | | | | | | | add the transfer to queue as before and require client to look up the reference themselves. this lets application access the other transfer fields * tests/message.py - added some more tests for references git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@506477 13f79535-47bb-0310-9956-ffa450edef68
* * qpid/client.py - added channel_pong handler to delegateGordon Sim2007-02-093-0/+60
| | | | | | | | | * tests/broker.py - simple ping/pong test * tests/queue.py - queue_unbind tests for all standard exchanges git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@505388 13f79535-47bb-0310-9956-ffa450edef68
* Modified error handling to detect failure due to invalid response.Gordon Sim2007-02-091-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@505304 13f79535-47bb-0310-9956-ffa450edef68
* Fix for topic tests. Content fields must be explicitly filled at present.Gordon Sim2007-02-091-4/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@505300 13f79535-47bb-0310-9956-ffa450edef68
* * qpid/peer.py - fix to prevent race between handling of connection.close ↵Gordon Sim2007-02-094-7/+12
| | | | | | | | | | | | request and socket close * qpid/testlib.py - close client (if not closed) on tearDown * tests/basic.py - revert back to using exclusive queue which should now be cleaned up on tear down * tests/message.py - fix to prefetch tests git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@505287 13f79535-47bb-0310-9956-ffa450edef68
* r1104@fuschia: andrew | 2007-02-09 02:14:00 +0000Andrew Stitcher2007-02-091-8/+12
| | | | | | | Initial implementation of Message.get delivery git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@505139 13f79535-47bb-0310-9956-ffa450edef68
* Fixes to qos and get tests. Added test for correct completion of references.Gordon Sim2007-02-081-19/+63
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@504849 13f79535-47bb-0310-9956-ffa450edef68
* Use self.queue_open to ensure deletion of queue - was clashing with ↵Alan Conway2007-02-071-1/+1
| | | | | | message.py tests. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@504700 13f79535-47bb-0310-9956-ffa450edef68
* Added list of valid responses to method descriptions where appropriate.Gordon Sim2007-02-071-0/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@504601 13f79535-47bb-0310-9956-ffa450edef68
* Added support for receiving and sending of referencesGordon Sim2007-02-076-15/+254
| | | | | | | | | | Added asynchronous mode to channels (responses can be tracked via a future, rather than blocking on each request) Added ability to override server suggested connection tune params Added two tests for reference functionality (more to follow) git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@504590 13f79535-47bb-0310-9956-ffa450edef68
* * cpp/lib/broker/BrokerQueue.cpp (): Centralized exceptions.Alan Conway2007-02-061-3/+3
| | | | | | | | | | | | | | | | | | | | | | | * cpp/lib/broker/BrokerAdapter.cpp (consume): Moved exceptions to Queue * cpp/lib/broker/BrokerChannel.cpp (consume): Moved exceptions to Queue * cpp/lib/broker/BrokerMessageBase.cpp: - Added getApplicationHeaders. * cpp/lib/broker/BrokerMessageMessage.cpp: - Fixed exchangeName/destination mix up. - Removed redundant constructor. - Added getApplicationHeaders * cpp/lib/broker/MessageHandlerImpl.cpp: - Added missing acknowledgements - Replaced assert(0) with throw "unimplemented". - Moved exchange existence exceptions to ExchangeRegistry - Handle transfers with references. * cpp/tests/Makefile.am (check): Don't run tests unless all libs built OK. * cpp/tests/python_tests: Re-enabled python tests. Not all passing. * python/tests/message.py (MessageTests.test_get): Replace get-ok with ok. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@504305 13f79535-47bb-0310-9956-ffa450edef68
* Removed debug print statement accidentally included in last commit.Alan Conway2007-02-051-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@503858 13f79535-47bb-0310-9956-ffa450edef68
* Added missing __str__ method for Responses.Alan Conway2007-02-051-0/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@503857 13f79535-47bb-0310-9956-ffa450edef68
* Change get-empty to get_emptyGordon Sim2007-02-051-4/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@503736 13f79535-47bb-0310-9956-ffa450edef68
* Fix for handling of header and content frames following a basic.get_ok response.Gordon Sim2007-02-051-1/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@503731 13f79535-47bb-0310-9956-ffa450edef68
* Changed "get-ok" to "get_ok".Alan Conway2007-02-051-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@503695 13f79535-47bb-0310-9956-ffa450edef68
* Some fixes to the tests for message class.Gordon Sim2007-02-011-19/+37
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@502176 13f79535-47bb-0310-9956-ffa450edef68
* updated python spec parse to load from multiple files, changed default specs ↵Rafael H. Schloming2007-01-303-40/+57
| | | | | | to include errata git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@501586 13f79535-47bb-0310-9956-ffa450edef68
* Added test suite for the message class.Gordon Sim2007-01-292-0/+404
| | | | | | | | Updated list of failing tests for java broker on this branch. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@501143 13f79535-47bb-0310-9956-ffa450edef68
* Updated list of tests that fail with java broker on this branch.Gordon Sim2007-01-291-7/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@501082 13f79535-47bb-0310-9956-ffa450edef68
* Pass in application headers directlyGordon Sim2007-01-291-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@501025 13f79535-47bb-0310-9956-ffa450edef68
* Fixes to tests.Gordon Sim2007-01-292-6/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@501022 13f79535-47bb-0310-9956-ffa450edef68
* Updates to use message class in place of basic.Gordon Sim2007-01-2611-151/+130
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@500305 13f79535-47bb-0310-9956-ffa450edef68
* made message-transfer return a result, switched over message delivery to use ↵Rafael H. Schloming2007-01-182-0/+8
| | | | | | message-transfer, added a generated .copy() to method bodies, and made hello-world acknowledge the message it sends to itself git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@497515 13f79535-47bb-0310-9956-ffa450edef68
* updated hello-world smoke testRafael H. Schloming2007-01-181-1/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@497277 13f79535-47bb-0310-9956-ffa450edef68
* changed reliable to true by defaultRafael H. Schloming2007-01-161-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@496596 13f79535-47bb-0310-9956-ffa450edef68
* 0-9 request/response framing for pythonRafael H. Schloming2007-01-1611-213/+424
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@496593 13f79535-47bb-0310-9956-ffa450edef68
* svn merge -r492717:492730 from the trunkRafael H. Schloming2007-01-042-14/+17
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@492777 13f79535-47bb-0310-9956-ffa450edef68
* File tidy-up for AMQP version code: Removed old XSLT files; moved ↵Kim van der Riet2006-12-222-2/+2
| | | | | | cluster.asl into spec directory; renamed spec files to better reflect version notation; updated java, c++ and python files to reference new names. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@489715 13f79535-47bb-0310-9956-ffa450edef68
* Added license.Rafael H. Schloming2006-12-201-1/+19
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@489180 13f79535-47bb-0310-9956-ffa450edef68
* Simple setup.py scriptRafael H. Schloming2006-12-201-0/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@489179 13f79535-47bb-0310-9956-ffa450edef68
* Changed assertTrue(x) to assertEquals(True, x) as older version od pyunit ↵Gordon Sim2006-12-071-2/+2
| | | | | | seems not to have the former. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@483471 13f79535-47bb-0310-9956-ffa450edef68
* Adding license filesCarl C. Trieloff2006-11-292-0/+223
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@480694 13f79535-47bb-0310-9956-ffa450edef68