summaryrefslogtreecommitdiff
path: root/cpp/src/qpid
Commit message (Collapse)AuthorAgeFilesLines
* Added necessary #include for memmoveAndrew Stitcher2010-04-271-1/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@938675 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: allow safe closing of session as part of handling a session exceptionGordon Sim2010-04-274-13/+31
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@938460 13f79535-47bb-0310-9956-ffa450edef68
* Reverting the change made in rev937119 as it seems to cause a core dump in ↵Rajith Muditha Attapattu2010-04-275-62/+78
| | | | | | | | | RHEL5. I haven't managed to pin point the issue. Once I do I may introduce the fix again with the required changes. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@938298 13f79535-47bb-0310-9956-ffa450edef68
* Handle incorrect values for worker-threads option more gracefullyGordon Sim2010-04-261-15/+20
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@938060 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2548: applied patch from francesco emmiGordon Sim2010-04-261-0/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@937990 13f79535-47bb-0310-9956-ffa450edef68
* Fixed a logic error in the handling of QMFv2 get-by-class queries. When ↵Ted Ross2010-04-231-4/+3
| | | | | | | | | deleted objects were encountered, spurious updates were sent, appearing as duplicates. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@937526 13f79535-47bb-0310-9956-ffa450edef68
* Code cleanup Ted Ross2010-04-2313-180/+34
| | | | | | | | | | - Removed IdAllocator (it's no longer needed) - Cleaned up the calls to ManagementAgent::addObject to handle durable objects - Removed the deferred call to addObject for durable objects - Removed unneeded calls to self._checkClosed() in qmf.console.Agent git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@937516 13f79535-47bb-0310-9956-ffa450edef68
* Cluster management improvements:Ted Ross2010-04-238-238/+292
| | | | | | | | | | | 1) Enable all management methods via QMFv2 for clusters 2) Disable all management methods via QMFv1 for clusters 3) The broker-resident management agent can handle both v1 and v2 method calls 4) qmf.console (Python) now works with new and old brokers by detecting whether the broker can handle v2 commands git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@937472 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2517 - Broker schema changes to support cluster management.Ted Ross2010-04-231-1/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@937470 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1904: Ensure that all timestamp uses are correctly relative to 1/1/1970 ↵Andrew Stitcher2010-04-237-22/+13
| | | | | | | | | | epoch. - Removed the hacky way to access the internal time value in AbsTime now that there is a defined AbsTime value EPOCH. - Changed all the code to use Duration(EPOCH, abtime) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@937147 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2523Rajith Muditha Attapattu2010-04-232-6/+20
| | | | | | | I added a mutex to protect the boost shared pointer assignments. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@937120 13f79535-47bb-0310-9956-ffa450edef68
* Changed from using arrays to using vectors.Rajith Muditha Attapattu2010-04-235-78/+62
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@937119 13f79535-47bb-0310-9956-ffa450edef68
* QMF: correct the build of exception response messages.Kenneth Anthony Giusti2010-04-221-16/+30
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@937072 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1811: Applied patch from Andrey Kotrekhov with more portableAndrew Stitcher2010-04-221-20/+35
| | | | | | code to enumerate the IP addresses of the local network interfaces git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@936610 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2527: Remove Thread::id member as its uses are better implemented by ↵Andrew Stitcher2010-04-214-15/+39
| | | | | | | | comparison operators. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@936537 13f79535-47bb-0310-9956-ffa450edef68
* - Hold up tearing down client I/O threads until there are no moreAndrew Stitcher2010-04-211-1/+8
| | | | | | | connections active. - Don't create more client I/O threads than connections. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@936309 13f79535-47bb-0310-9956-ffa450edef68
* This is a fix for QPID-2521Rajith Muditha Attapattu2010-04-201-1/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@936028 13f79535-47bb-0310-9956-ffa450edef68
* QMF: fix object name separator, use native bool typeKenneth Anthony Giusti2010-04-201-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@935961 13f79535-47bb-0310-9956-ffa450edef68
* Add store test executions if building the store module. Add trigger on ↵Stephen D. Huston2010-04-191-0/+16
| | | | | | messageMap table deletes to remove orphaned messages from message table; part of QPID-2420. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@935710 13f79535-47bb-0310-9956-ffa450edef68
* QMF: Add timestamps to generated V2 objectsKenneth Anthony Giusti2010-04-193-23/+32
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@935704 13f79535-47bb-0310-9956-ffa450edef68
* Fix g++ compile warning-turned-errorStephen D. Huston2010-04-191-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@935595 13f79535-47bb-0310-9956-ffa450edef68
* Ensure that ConnectionImpl is notified of shutdown even in the case of ↵Gordon Sim2010-04-191-1/+7
| | | | | | disconnect (which needs different handling than eof) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@935473 13f79535-47bb-0310-9956-ffa450edef68
* An alternative attempt at ensuring ConnectionImpl is not deleted before IO ↵Gordon Sim2010-04-173-36/+41
| | | | | | thread is finished with it. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@935275 13f79535-47bb-0310-9956-ffa450edef68
* Fix for QPID-2420 to correctly handle restoring and commit/abort prepared ↵Stephen D. Huston2010-04-1618-262/+899
| | | | | | | | transactions. The basic approach is documented in QPID-2420. This also makes improvements in the way changes are done to the tblMessageMap table which should perform much better, avoiding pulling the whole table into the broker just to add or edit or delete a single record. Also, some of the consistency checks and enforcements are moved into the database itself from the C++ code. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@935068 13f79535-47bb-0310-9956-ffa450edef68
* Fixed problems with the broker's QMFv2 mode:Ted Ross2010-04-166-12/+27
| | | | | | | | | | - app_id is a message property, not an application header - even in v2 mode, the agent must respond to v1 schema requests - missing object_id was added to the periodic data updates - epoch/boot-sequence added to agent information (locate-response, heartbeat) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@935044 13f79535-47bb-0310-9956-ffa450edef68
* Ensure that ConnectionImpl is notified of shutdown even in the case of ↵Gordon Sim2010-04-162-1/+7
| | | | | | disconnect (which needs different handling than eof) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@935017 13f79535-47bb-0310-9956-ffa450edef68
* Fix unreferenced local variable warnings.Stephen D. Huston2010-04-151-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@934650 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2507: drop the userLock before calling exchange->route()Kenneth Anthony Giusti2010-04-152-77/+94
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@934561 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2511: Altered shutdown sequence in connectors; after connect() has ↵Gordon Sim2010-04-155-48/+73
| | | | | | returned there will always now be a shutdown callback made and only at that point is it guaranteed that there will be no further io callbacks. ConnectionImpl consequently waits for this before allowing itself to be deleted. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@934503 13f79535-47bb-0310-9956-ffa450edef68
* Implementation of QPID-2509 (Remove message staging from C++ broker)Kim van der Riet2010-04-158-46/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@934463 13f79535-47bb-0310-9956-ffa450edef68
* Tidy up unnecessary includes in ConnectionSettings and fix consequencesGordon Sim2010-04-144-1/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@933971 13f79535-47bb-0310-9956-ffa450edef68
* Fix url parsing to make hostname requiredGordon Sim2010-04-141-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@933970 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: more specific exception handling (avoids reconnecting for invalid url)Gordon Sim2010-04-141-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@933924 13f79535-47bb-0310-9956-ffa450edef68
* Remove final vestiges of old client API references from messaging and agent ↵Andrew Stitcher2010-04-142-1/+19
| | | | | | header files git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@933842 13f79535-47bb-0310-9956-ffa450edef68
* Fix for QPID-2470 - Broker does not honour flow-to-disk policy on recoveryKim van der Riet2010-04-138-8/+46
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@933711 13f79535-47bb-0310-9956-ffa450edef68
* Simplified the vaidate method using for_each to make it more readable.Rajith Muditha Attapattu2010-04-122-49/+56
| | | | | | | Also renamed AclProperty to PropertyType to avoid any confusion with acl::Property. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@933417 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: changed option verifier to use constants rather than duplicating ↵Gordon Sim2010-04-121-17/+18
| | | | | | string literals; added a test to make sure all valid options are allowed and illegal ones are not git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@933330 13f79535-47bb-0310-9956-ffa450edef68
* Added missing newline at end of the fileTed Ross2010-04-121-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@933217 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: removed explicit throw() clauseGordon Sim2010-04-121-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@933176 13f79535-47bb-0310-9956-ffa450edef68
* Small fixes to get recent management changes to compile under Visual ↵Andrew Stitcher2010-04-091-1/+4
| | | | | | Studio/Windows git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@932641 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2497: added some verification that address options specified are validGordon Sim2010-04-091-3/+51
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@932536 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2489 - Added wrapped version of Mutex to isolate QMF-generated source ↵Ted Ross2010-04-094-49/+78
| | | | | | from boost. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@932517 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: changed pending to unsettled; added available to sender; minor ↵Gordon Sim2010-04-0912-42/+43
| | | | | | update to address doc git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@932490 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: changed connect() back to open(),removed detach(),defined new ↵Gordon Sim2010-04-0916-103/+261
| | | | | | exception hierarchy, added ability to re-use reconnect/replay logic for resource-limit-exceeded errors git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@932451 13f79535-47bb-0310-9956-ffa450edef68
* Adding virtual destructors.Rajith Muditha Attapattu2010-04-091-0/+3
| | | | | | | The virtual dtor warning is not given on fedora 11 but is on rhel5, so I missed it the first time around. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@932416 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2489 - Remove references to boost:: and qpid::framing:: from ↵Ted Ross2010-04-092-0/+117
| | | | | | | | | | | QMF-generated cpp files Added a wrapper class for framing::Buffer in the qpid::management namespace. This wrapper class has no reference to framing or boost and is now used in the generated C++ code to encode QMFv1 content. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@932236 13f79535-47bb-0310-9956-ffa450edef68
* Committing the patch attached to QPID-2488Rajith Muditha Attapattu2010-04-083-0/+227
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@932148 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2487: always save the origin, even if queue is already boundKenneth Anthony Giusti2010-04-084-1/+18
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@932032 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: changed open() to connect(), moved url parameter to constructor, ↵Gordon Sim2010-04-085-18/+28
| | | | | | added detach() and isConnected() git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@931852 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: set content-type on encoded messages, removed some duplication and ↵Gordon Sim2010-04-081-32/+41
| | | | | | added in a typedef to codecs that may be useful git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@931851 13f79535-47bb-0310-9956-ffa450edef68