summaryrefslogtreecommitdiff
path: root/python
Commit message (Collapse)AuthorAgeFilesLines
...
* add handling for sasl related failures during connection startGordon Sim2010-04-271-1/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@938558 13f79535-47bb-0310-9956-ffa450edef68
* correct name of exception to be caughtGordon Sim2010-04-271-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@938550 13f79535-47bb-0310-9956-ffa450edef68
* brokertest.py: added __str__ methods to Broker and PopenAlan Conway2010-04-161-0/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@934985 13f79535-47bb-0310-9956-ffa450edef68
* Hello World example in Python - matches hello_world.cppJonathan Robie2010-04-161-0/+45
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@934663 13f79535-47bb-0310-9956-ffa450edef68
* Edited to work on Windows; resolves QPID-2510.Stephen D. Huston2010-04-151-2/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@934471 13f79535-47bb-0310-9956-ffa450edef68
* added get_errorRafael H. Schloming2010-04-142-0/+32
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@933920 13f79535-47bb-0310-9956-ffa450edef68
* fixed a hang in commit and added testDoubleCommitRafael H. Schloming2010-04-132-0/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@933734 13f79535-47bb-0310-9956-ffa450edef68
* Fix for QPID-2470 - Broker does not honour flow-to-disk policy on recoveryKim van der Riet2010-04-131-12/+19
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@933711 13f79535-47bb-0310-9956-ffa450edef68
* added more complete exception handling/hierarchyRafael H. Schloming2010-04-134-73/+150
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@933560 13f79535-47bb-0310-9956-ffa450edef68
* candidate fix for testReconnectRafael H. Schloming2010-04-091-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@932652 13f79535-47bb-0310-9956-ffa450edef68
* updated reservations example to match latest changesRafael H. Schloming2010-04-094-25/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@932454 13f79535-47bb-0310-9956-ffa450edef68
* Sender.pending() -> Sender.unsettled(); Receiver.pending() -> ↵Rafael H. Schloming2010-04-093-26/+42
| | | | | | Receiver.available(); added Sender.available() and Receiver.unsettled() git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@932415 13f79535-47bb-0310-9956-ffa450edef68
* removed Message.toRafael H. Schloming2010-04-094-16/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@932375 13f79535-47bb-0310-9956-ffa450edef68
* clean up pipes from driver side in case nobody is waiting for the errorRafael H. Schloming2010-04-091-2/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@932368 13f79535-47bb-0310-9956-ffa450edef68
* cleanup waiter pipes on errorRafael H. Schloming2010-04-092-0/+21
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@932362 13f79535-47bb-0310-9956-ffa450edef68
* removed duplicates assertion from testReconnectRafael H. Schloming2010-04-091-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@932353 13f79535-47bb-0310-9956-ffa450edef68
* Changes to connection lifecycle methods and Connection parameters:Rafael H. Schloming2010-04-0912-134/+183
| | | | | | | | | | | - Connection.open -> Connection.establish - Connection.connect() split into Connection.open(), Connection.attach() - Connection.disconnect() -> Connection.detach() - reconnect_hosts -> reconnect_urls - transport now takes tcp, ssl, and tcp+tls git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@932352 13f79535-47bb-0310-9956-ffa450edef68
* removed testReconnect's redelivered assertionsRafael H. Schloming2010-04-071-4/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@931649 13f79535-47bb-0310-9956-ffa450edef68
* fixed resource leak when close throws an errorRafael H. Schloming2010-04-061-4/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@931286 13f79535-47bb-0310-9956-ffa450edef68
* Remove non-portable @staticmethod from qpid/datatypes.pyAlan Conway2010-04-061-7/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@931262 13f79535-47bb-0310-9956-ffa450edef68
* Added qpid-cluster-store tool to examine & modify cluster store status.Alan Conway2010-04-061-0/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@931185 13f79535-47bb-0310-9956-ffa450edef68
* use set from compatRafael H. Schloming2010-04-061-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@931153 13f79535-47bb-0310-9956-ffa450edef68
* make reconnect test always use plain transportRafael H. Schloming2010-04-011-2/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@930106 13f79535-47bb-0310-9956-ffa450edef68
* added option to disable reconnect logging; fixed reconnect test to not loop ↵Rafael H. Schloming2010-04-014-17/+21
| | | | | | forever if no broker is running; backups -> reconnect_hosts git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@930105 13f79535-47bb-0310-9956-ffa450edef68
* updated reconnect option names to match C++ APIRafael H. Schloming2010-04-016-12/+99
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@930084 13f79535-47bb-0310-9956-ffa450edef68
* Update cluster store status with a single atomic write() operation.Alan Conway2010-04-011-0/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@930055 13f79535-47bb-0310-9956-ffa450edef68
* added SSL support to APIRafael H. Schloming2010-03-319-27/+159
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@929717 13f79535-47bb-0310-9956-ffa450edef68
* updated address docsRafael H. Schloming2010-03-301-14/+16
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@929155 13f79535-47bb-0310-9956-ffa450edef68
* Fix race condition causing deadlock in cluster_tests.py, failover_test.Alan Conway2010-03-261-21/+20
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@927847 13f79535-47bb-0310-9956-ffa450edef68
* form compat uuid generation, use a random number generator that is ↵Rafael H. Schloming2010-03-261-2/+4
| | | | | | initialized with the pid, hostname, and time; without this we can get duplicates if multipleprocesses startup and generate UUIDs simultaneously git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@927803 13f79535-47bb-0310-9956-ffa450edef68
* Default to "/dev/null" if os.devnull doese not exist. Hopefully now it will ↵Rafael H. Schloming2010-03-251-1/+1
| | | | | | work on both RHEL-4 and windows at the same time. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@927522 13f79535-47bb-0310-9956-ffa450edef68
* Re-eneable run_long_cluster_tests.Alan Conway2010-03-251-0/+1
| | | | | | | | | | Reduced duration to 2 minutes per test. Reduced load to avoid timeouts - Fewer concurrent clients on test_management. - Delay in ErrorGenerator for test_failover. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@927509 13f79535-47bb-0310-9956-ffa450edef68
* Use portable "/dev/null" to allow this to run on Windows as well.Stephen D. Huston2010-03-251-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@927426 13f79535-47bb-0310-9956-ffa450edef68
* Fix resource leaks in cluster_tests, add 5 minute test run to make check-long.Alan Conway2010-03-241-36/+44
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@927154 13f79535-47bb-0310-9956-ffa450edef68
* fixed resource leakage on repeated connection open/closeRafael H. Schloming2010-03-235-6/+59
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@926766 13f79535-47bb-0310-9956-ffa450edef68
* provide default codec for unknown content typesRafael H. Schloming2010-03-232-3/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@926623 13f79535-47bb-0310-9956-ffa450edef68
* Several updates to address options including:Rafael H. Schloming2010-03-236-140/+234
| | | | | | | | | | - renamed node-properties to node - added link to permit durable links (with names) - split x-properties into x-declare, x-subscribe, and x-bindings - removed automatic passthrough of unrecognized options (as this was confusing) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@926604 13f79535-47bb-0310-9956-ffa450edef68
* Minor improvements to brokertest.py.Alan Conway2010-03-221-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@926300 13f79535-47bb-0310-9956-ffa450edef68
* New cluster member pushes store when joining an active cluster.Alan Conway2010-03-121-3/+6
| | | | | | | | | | | | | | | | | | | Previously a broker with a clean store would not be able to join an active cluster because the shtudown-id did not match. This commit ensures that when a broker joins an active cluster, it always pushes its store regardless of status. Clean/dirty status is only compared when forming an initial cluster. This change required splitting initialization into two phases: PRE_INIT: occurs in the Cluster ctor during early-initialize. This phase determines whether or not to push the store. INIT: occurs after Cluster::initialize and does the remaining initialization chores. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@922412 13f79535-47bb-0310-9956-ffa450edef68
* added support for reject/releaseRafael H. Schloming2010-03-116-44/+148
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@921638 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2441: patch from Jan Sarenik that prevents verification failures when ↵Gordon Sim2010-03-101-13/+13
| | | | | | running the examples if locale is not as expected git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@921319 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2436: Fix cluster update of remote agents.Alan Conway2010-03-081-7/+6
| | | | | | | | | The v2key of cluster agents was not being passed as part of a cluster update. This meant they were not being associated with the correct shadow connections on the updatee. This caused inconsistencies that shut down the new broker. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@920414 13f79535-47bb-0310-9956-ffa450edef68
* made drain work on messages as well as contentRafael H. Schloming2010-03-053-32/+44
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@919251 13f79535-47bb-0310-9956-ffa450edef68
* fixed message comparison to allow for decrementing of the ttlRafael H. Schloming2010-03-041-1/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@919094 13f79535-47bb-0310-9956-ffa450edef68
* Increase timeout for python cluster tests, was timing out prematurely in ↵Alan Conway2010-03-041-3/+3
| | | | | | some tests. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@919024 13f79535-47bb-0310-9956-ffa450edef68
* added priority and ttl message propertiesRafael H. Schloming2010-03-043-2/+17
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@918978 13f79535-47bb-0310-9956-ffa450edef68
* Extended cluster_tests.test_management exposes a bug.Alan Conway2010-03-031-7/+1
| | | | | | | | | - kill and start brokers with clients running. - added qpid-stat -b and testagent clients - disabled in src/tests/cluster_tests.fail till bug is fixed. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@918674 13f79535-47bb-0310-9956-ffa450edef68
* Minor improvements to brokertest framework.Alan Conway2010-03-031-26/+83
| | | | | | | | | | - fixed bug in use of host() - check for existence of executables - more efficient error_line impl - check both *.err and *.out for error line git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@918578 13f79535-47bb-0310-9956-ffa450edef68
* temporary workaround for problem log statementRafael H. Schloming2010-02-261-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@916775 13f79535-47bb-0310-9956-ffa450edef68
* fixed reconnectRafael H. Schloming2010-02-261-4/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@916739 13f79535-47bb-0310-9956-ffa450edef68