summaryrefslogtreecommitdiff
path: root/cpp/src/qpid
Commit message (Collapse)AuthorAgeFilesLines
* Fixes to new API impl to support failover.Alan Conway2010-05-123-16/+20
| | | | | | | | | - client/SslConnector.cpp: throw ConnectionException for errors during connection. - client/amqp0_10/ConnectionImpl.cpp: translate unknown exceptions to ConnectionError. - client/amqp0_10/FailoverUpdates.cpp: interrupt receiver by closing session in dtor. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@943489 13f79535-47bb-0310-9956-ffa450edef68
* Delay generating URL in cluster till global constructors to handle ↵Alan Conway2010-05-121-10/+13
| | | | | | multi-protocol URLs. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@943488 13f79535-47bb-0310-9956-ffa450edef68
* This commit contains a fix for QPID-2600Rajith Muditha Attapattu2010-05-122-27/+48
| | | | | | | | | | Added a test case to check if all allowed chars are accepted and the rest is rejected. Added a check for empty continuation lines. Improved error reporting by adding a line number. Removed test_allowed_chars_for_username method from acl.py as the check for group name will flag the "@" char, making this test case redundent. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@943351 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: Fix failover updates to set correct option name; clear list valued ↵Gordon Sim2010-05-112-1/+3
| | | | | | option on setting it rather than merely appending to it. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@943160 13f79535-47bb-0310-9956-ffa450edef68
* Support for multiple protocols in qpid::Url.Alan Conway2010-05-1119-135/+127
| | | | | | | | | | - simplified qpid::Address to hold (protocol,host,port) triples. - protocol plugins call Url:addProtocol to add tags to Url parser. - use Address::protocol when establishing connections. - ssl_test: tests using URL to connect. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@943130 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: Add default constructor for Connection; add option to set url on ↵Gordon Sim2010-05-112-5/+17
| | | | | | existing connection. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@943071 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: Fix bug preventing re-establishment of credit on reconnectGordon Sim2010-05-111-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@943036 13f79535-47bb-0310-9956-ffa450edef68
* qmf: bugfix - remove parse of non-present supertype fieldKenneth Anthony Giusti2010-05-101-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@942861 13f79535-47bb-0310-9956-ffa450edef68
* Keep dispatching the condition until it is cleared; resolves QPID-2587.Stephen D. Huston2010-05-071-5/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@942096 13f79535-47bb-0310-9956-ffa450edef68
* Correct brokertest.retry logic.Alan Conway2010-05-061-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@941852 13f79535-47bb-0310-9956-ffa450edef68
* Use UnauthorizedAccessException for ACL violations rather than ↵Gordon Sim2010-05-063-14/+14
| | | | | | NotAllowedException git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@941636 13f79535-47bb-0310-9956-ffa450edef68
* Allow empty subject for direct- and xml- exchangesGordon Sim2010-05-051-3/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@941306 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2186: Small adjustments to previous fix:Andrew Stitcher2010-04-291-5/+7
| | | | | | | - Turn one of the "if"s into an assert - Fix incorrect scope for unlocking Timer monitor around fire() callback. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@939156 13f79535-47bb-0310-9956-ffa450edef68
* Don't try to get the top() of an empty queue and use it. Resolves (I ↵Stephen D. Huston2010-04-281-8/+16
| | | | | | believe) QPID-2186. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@939117 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2083: Added some error messages for particular codesGordon Sim2010-04-281-19/+16
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@939066 13f79535-47bb-0310-9956-ffa450edef68
* BZ572245: Clustering can force message persistence when one node remains. ↵Kim van der Riet2010-04-281-5/+10
| | | | | | Fix for problem in which forcing persistence on one queue but not another results in an error if a message is sent to both and the message is consumed from the non-forced queue. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@939014 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2083: Some improvements to error handling for NSS based SSL implementation.Gordon Sim2010-04-284-10/+31
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@938992 13f79535-47bb-0310-9956-ffa450edef68
* Load client side plugins just before creating the first Connection.Andrew Stitcher2010-04-273-4/+54
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@938701 13f79535-47bb-0310-9956-ffa450edef68
* Avoid possible initialisation dependency problem by using a "staticAndrew Stitcher2010-04-271-6/+9
| | | | | | singleton" pattern for plugin module file suffix git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@938700 13f79535-47bb-0310-9956-ffa450edef68
* 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