summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Move brokertest.py from qpid/python to qpid/cpp.Alan Conway2011-01-215-4/+5
| | | | | | | | | | brokertest.py is a framework for tests using the C++ broker, so it belongs in the cpp tree rather than the python tree. It is installed to libexec/qpid/tests/ so it can be used from an installation of qpid cpp. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1061933 13f79535-47bb-0310-9956-ffa450edef68
* Moved ResizableBuffer.h from include to src. Not part of the public API.Alan Conway2011-01-211-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1061932 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2902: remove exclusion for LargeMessageTest, I believe QPID-3010 also ↵Robert Gemmell2011-01-211-1/+0
| | | | | | resolves this issue git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1061866 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3010: ensure the SimpleByteBufferAllocator is always used and ↵Robert Gemmell2011-01-214-48/+8
| | | | | | non-direct ByteBuffers are the default, remove the old and now unused configuration methods from ServerConfiguration and update the example config.xml accordingly git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1061865 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3013: create an initial connection to force thread pool startup before ↵Robert Gemmell2011-01-211-0/+6
| | | | | | the test proceeds, as these may be processor-count dependant and throw the final result off git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1061863 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3012: reduce the cycle count such that 100 connections are used instead ↵Robert Gemmell2011-01-211-1/+1
| | | | | | of 1000 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1061862 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3011Rajith Muditha Attapattu2011-01-202-8/+26
| | | | | | | | | | Commiting a fix as per the solution outlined in the above JIRA. A null check is added in the generateDestination method in AbstractAMQMessageDelegate.java where an ExchangeInfo object is created with just the exchange name to allow the destination to be created. The correct information will be querried when a consumer or producer is created with that destination. If a replyTo address is available then the exchange info for that is querried and updated within the updateExchangeTypeMapping method in AMQMessageDelegate_0_10.java git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1061577 13f79535-47bb-0310-9956-ffa450edef68
* Bug 654872, QPID-3007: Batch management messages by count, not size.Alan Conway2011-01-206-18/+95
| | | | | | | | | | | | QMF V1 management messages were being batched by accumulating up to a certain total size of data. Since management messages may have different sizes on brokers in a cluster, this was leading to inconsistencies. This patch batches V1 messages by count rather than by size, similar to V2 messages. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1061308 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3007 Disabled cluster log verification tests, causing sporadic failures.Alan Conway2011-01-192-2/+5
| | | | | | The tests will be re-enabled when QPID-3007 is fixed. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1060879 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2996 - qmf/SchemaMethod.cpp fails to compile on s390Ted Ross2011-01-191-1/+1
| | | | | | | Applied patch from Dan Horák git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1060815 13f79535-47bb-0310-9956-ffa450edef68
* Added a new section titled "Configuring the JMS Client".Rajith Muditha Attapattu2011-01-191-1/+387
| | | | | | | Most of the properties added here are applicable to the 0-10 client. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1060667 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2982 Bug 669452 - Creating a route and using management tools can crash ↵Alan Conway2011-01-1812-16/+135
| | | | | | | | | | | | cluster members. Cluster update did not include federation link and bridge objects. Fixed update to include them. Management linkUp and linkDown events were generated only on the broker receiving the link. Suppressed these events in a cluster. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1060568 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2997: remove oid disambiguation, re-order mgmt object status updates.Kenneth Anthony Giusti2011-01-185-199/+365
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1060401 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3006: remove incorrect and unnecessary authorisation checkGordon Sim2011-01-172-14/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1060110 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3001: Add const version of Connection::isOpen()Gordon Sim2011-01-175-3/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1059846 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2998: Remove spurious class definitionsGordon Sim2011-01-171-2/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1059835 13f79535-47bb-0310-9956-ffa450edef68
* Fixes QPID-2499: Stale federation routes remain after route deletion.Jonathan Robie2011-01-137-79/+90
| | | | | | | | | | | | | Federated binds and unbinds need to know which federation origins are associated with the bindings for each queue. When origins are added or deleted, the corresponding bindings need to be propagated. fedBindings[queueName] contains the origins associated with the given queue. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1058747 13f79535-47bb-0310-9956-ffa450edef68
* Originally, when the broker agent authorized a method call, if the message ↵Ted Ross2011-01-131-1/+6
| | | | | | | | | | was too large to fir in the working buffer, the method was rejected. This change rejects the method only if there is an ACL configured. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1058710 13f79535-47bb-0310-9956-ffa450edef68
* In qmfengine, if a method call or method response requires a buffer larger ↵Ted Ross2011-01-136-13/+163
| | | | | | | | | | | | than the static buffer used for communication, allocate a large-enough buffer temporarily from the heap. A test is included to verify large-buffer behavior. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1058709 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2982: Fix discrepancy in management object and deleted object counts.Alan Conway2011-01-135-144/+112
| | | | | | | | | | | | | | | cluster_tests.test_management was showing discrepancy in management object and deleted object count after a new member update. In ManagementAgent.cpp, code to move deleted objects into pendingDeletedObjs was duplicated in 2 places. Moved duplicated code into a function moveDeletedObjectsLH() Call moveDeletedObjectsLH from clusterUpdate to correct discrepancy in object count around update. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1058664 13f79535-47bb-0310-9956-ffa450edef68
* made address parser recognize lowercase true and falseRafael H. Schloming2011-01-132-17/+23
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1058654 13f79535-47bb-0310-9956-ffa450edef68
* qpid-test-cluster script: added -d option to delete data-directory.Alan Conway2011-01-121-15/+31
| | | | | | Also allow hosts to be specified on command line. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1058287 13f79535-47bb-0310-9956-ffa450edef68
* While commiting a fix for QPID-2994 I accidently modified the timeout value.Rajith Muditha Attapattu2011-01-111-1/+1
| | | | | | | I am restoring it to the original value. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1057927 13f79535-47bb-0310-9956-ffa450edef68
* Small code cleanup - Replaced object declaration with a const reference for ↵Ted Ross2011-01-111-1/+1
| | | | | | efficiency. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1057825 13f79535-47bb-0310-9956-ffa450edef68
* Added argument/type check for output arguments on methods.Ted Ross2011-01-113-4/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1057814 13f79535-47bb-0310-9956-ffa450edef68
* Exposed asMap for DataAddr objects in Pyton and Ruby wrappers.Ted Ross2011-01-116-2/+89
| | | | | | | Enhanced the examples to show the passing of a DataAddr in an argument. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1057774 13f79535-47bb-0310-9956-ffa450edef68
* Remove unnecessary sleeps.Michael Goulish2011-01-111-6/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1057747 13f79535-47bb-0310-9956-ffa450edef68
* QMFv2 API change:Ted Ross2011-01-117-15/+59
| | | | | | | | | 1) Added public constructor for DataAddr(Variant::Map) 2) Fixed Python and Ruby typemaps to support Variant::Map& and Variant::List& with const 3) Added support for building Queries based on object-id maps in both Python and Ruby wrappers git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1057709 13f79535-47bb-0310-9956-ffa450edef68
* Added cluster_test_logs.py to EXTRA_DIST for use by store tests.Alan Conway2011-01-111-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1057687 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2991: added message counts to connection stats; fixed xxxToClient statsGordon Sim2011-01-115-6/+111
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1057578 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2995Rajith Muditha Attapattu2011-01-111-0/+4
| | | | | | | The redelivered flag is now set on messages that are restransmitted after failover. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1057462 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2994Rajith Muditha Attapattu2011-01-112-3/+10
| | | | | | | When the session is marked transactional, message transfers are not replayed. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1057460 13f79535-47bb-0310-9956-ffa450edef68
* Usability changes:Ted Ross2011-01-101-17/+45
| | | | | | | | | 1) Improved exception reporting. 2) Changed query structure to keep query results until 'clear' command is invoked. 3) Use 'list' and 'show' in a more intuitive way. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1057356 13f79535-47bb-0310-9956-ffa450edef68
* .NET Binding for Qpid Messaging, in every .NET object that keeps Charles E. Rolke2011-01-1014-97/+40
| | | | | | | | | | a reference to unmanaged memory: * Function Cleanup() is deleted and cleanup is moved to Finalizer. * Destructor calls Finalizer. * Finalizer takes a lock before deleting unmanaged memory. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1057350 13f79535-47bb-0310-9956-ffa450edef68
* Add --add-missing to automake call in bootstrap.Alan Conway2011-01-101-1/+1
| | | | | | Automatically adds missing automake files to the project. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1057342 13f79535-47bb-0310-9956-ffa450edef68
* fix syntax error in qpid-routeKenneth Anthony Giusti2011-01-101-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1057332 13f79535-47bb-0310-9956-ffa450edef68
* Code cleanup:Ted Ross2011-01-101-216/+30
| | | | | | | | 1) Removed dead code. 2) Cleaned up command completion and handling of incorrect number of arguments. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1057316 13f79535-47bb-0310-9956-ffa450edef68
* Fixed a bug in the type-compatibility checker.Ted Ross2011-01-101-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1057302 13f79535-47bb-0310-9956-ffa450edef68
* Added brokerConnectionFailed() method to DebugConsole.Jonathan Robie2011-01-101-0/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1057263 13f79535-47bb-0310-9956-ffa450edef68
* A new command-line tool, similar to qpid-tool but with the following ↵Ted Ross2011-01-101-0/+830
| | | | | | | | | | | differences: 1) Operation is active and synchronous, rather than passive and async. 2) Operations are per-agent (i.e. work with one agent at a time). 3) Uses the new QMFv2 API (Python wrapper around C++ core). git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1057208 13f79535-47bb-0310-9956-ffa450edef68
* Updated Python and Ruby wrappers to reflect API changes.Ted Ross2011-01-105-11/+14
| | | | | | | Updates to the agent examples. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1057200 13f79535-47bb-0310-9956-ffa450edef68
* Updates to the C++ implementation of QMFv2:Ted Ross2011-01-1021-113/+841
| | | | | | | | | 1) Consolidated string constants for the protocol into a definition file. 2) Added hooks for subscription handling. 3) Added checks to validate properties and arguments against the schema (if there is a schema). git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1057199 13f79535-47bb-0310-9956-ffa450edef68
* Prints connection error information.Jonathan Robie2011-01-102-0/+10
| | | | | | | Previously, connection errors were silently ignored. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1057195 13f79535-47bb-0310-9956-ffa450edef68
* Eliminates duplicate ExchangeBind when x-bindings are present.Jonathan Robie2011-01-071-1/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1056473 13f79535-47bb-0310-9956-ffa450edef68
* Cleaned up the makefiles for the Swig-generated bindings.Ted Ross2011-01-075-6/+12
| | | | | | | | 1) Suppression of some warnings 2) Proper installation of artifacts in "make install" git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1056420 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2982: Improved cluster/management logging and automated test for log ↵Alan Conway2011-01-079-118/+284
| | | | | | | | | | | consistency. The cluster_tests.py test_management test is augmented to compare broker logs after the test completes. Any inconsistency in the logs causes the test to fail. This check is currently disabled as it is failing due to known issues. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1056378 13f79535-47bb-0310-9956-ffa450edef68
* Changes to QMFv2 formats to make the agents and consoles consistent:Ted Ross2011-01-063-33/+39
| | | | | | | | | 1) Events in _data_indication messages are carried as lists of events (consistent with object data) 2) Built-in attributes for agents (in _heartbeaet_indication) all start with '_' to differentiate them from user-defined attributes. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1056112 13f79535-47bb-0310-9956-ffa450edef68
* Suppress spurious warnings from Swig.Ted Ross2011-01-062-2/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1056095 13f79535-47bb-0310-9956-ffa450edef68
* qpid-tool throws Charles E. Rolke2011-01-061-0/+3
| | | | | | | | | | | TypeError(unsupported operand types for /: 'NoneType' and 'int',") when it shows a session.expireTime object with a missing value. Some values are optional and are normally missing. This patch prevents the exception and displays 'absent'. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1056076 13f79535-47bb-0310-9956-ffa450edef68
* Added outline for QMF content in docbook.Ted Ross2011-01-063-0/+151
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1056031 13f79535-47bb-0310-9956-ffa450edef68