summaryrefslogtreecommitdiff
path: root/qpid/cpp/src
Commit message (Collapse)AuthorAgeFilesLines
* Fix windows link errorqpid-3606Charles E. Rolke2012-04-251-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3606@1330350 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3970: Check alternate exchange actually exists before proceeding with ↵Gordon Sim2012-04-231-2/+7
| | | | | | reroute request git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1329438 13f79535-47bb-0310-9956-ffa450edef68
* Added missing externs for Windows builds. NO-JIRAStephen D. Huston2012-04-231-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1329410 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3960: Fix performance regression in priority queue implementation.Alan Conway2012-04-2310-159/+209
| | | | | | | | | | | | Revision r1307582 created a serious degredation in priority queue performance. It replaced a muti-deque implementation with o(1) complexity for consuming with a map implementation with o(log(n)) performance. This revision returns to a mutli-deque algorithm but with the addition of a FIFO index for fast browsing of acquired and unacquired messages. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1329301 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Install HA connection excluder at the beginning of initialization.Alan Conway2012-04-233-53/+53
| | | | | | | Previosly excluder was being installed late allowing connections to a backup and diverting backups from the real primary. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1329300 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3510 - Created a separate option in CommonOptions for the client ↵Ted Ross2012-04-237-17/+18
| | | | | | configuration file. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1329236 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3510 - Allow client configuration-file to be overridden via QPID_CONFIG ↵Ted Ross2012-04-203-4/+10
| | | | | | env variable. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1328494 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3759: added lock to prevent two threads deleting same structureClifford Allan Jansen2012-04-201-24/+36
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1328440 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3964: Enforce 'access' premission rather than 'create' for passive ↵Gordon Sim2012-04-204-35/+36
| | | | | | declares; remove the now redundant 'passive' property from ACL model git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1328384 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Improvements to qpid-cpp-benchmark test.Alan Conway2012-04-191-20/+28
| | | | | | | - Removed un-necessary --group-receivers option to simplify the test. - Added --fill-drain: fil then drain the queues instead of running concurrent send/receive git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1328126 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3606: More consistent logging and error handling for HA code.Alan Conway2012-04-1914-73/+135
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1328124 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3958: Export added function definition to fix linking error on windowsGordon Sim2012-04-181-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1327596 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3352: Fix test for failed session to avoid confusion with as yet ↵Alan Conway2012-04-186-23/+37
| | | | | | | | | | | | | | | | | uninitialised session Previously, Link was using sessionHandler::isReady() to determine if a bridge had failed and needed recovery. However this incorrectcly recovers bridges that are not yet initialized as well as those that have failed. This was causing sporadic core dumps in serveral of the ha_tests.py tests, in particular test_backup_acquired. This patch adds a callback to notify the bridge when the session is detached, and use this as the criteria for recovering a bridge. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1327532 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Fix assertion messages in brokertest.pyAlan Conway2012-04-181-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1327518 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3958: Prevent malformed frameset being set when replicating a message ↵Gordon Sim2012-04-183-1/+6
| | | | | | with an empty content frame git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1327515 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Minor code clean-up in brokertest.py and ha_tests.py.Alan Conway2012-04-172-97/+97
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1327137 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3950: Allow browsing of queues with exclusive subscriptionsAlan Conway2012-04-174-10/+38
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1327135 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Removed useless flow control code from qpid-send.Alan Conway2012-04-163-33/+0
| | | | | | | This code serves no purpose now that qpidd has producer flow control. Removed it to simplify the tests. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1326757 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Control running of cluster tests.Alan Conway2012-04-1624-58/+105
| | | | | | | | | | | Previously cluster tests would run if cluster services were running, even if build was explicitly configured without CPG. Don't run cluster tests unless the build is configured with CPG. If the build is configured *with* CPG, you can still skip the CPG tests by setting QPID_USE_CPG=no in the environment. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1326756 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Minor improvements to HA tests, documentation and examples.Alan Conway2012-04-164-25/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1326755 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Add heartbeat and reconnect options to qpid-cluster-benchmarkAlan Conway2012-04-162-9/+17
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1326754 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: ha_tests.py: Suppress python WARNING messages during failoverAlan Conway2012-04-161-8/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1326753 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3926 - Fixes how unsigned 16 bit ints are assigned in the UUID test.Ted Ross2012-04-161-1/+1
| | | | | | | Applied patch from Darryl Pierce. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1326654 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3947: Bounds checking for str8/str16 on creating AMQP 0-10 structsGordon Sim2012-04-131-0/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1326014 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Fix minor log message bugs.Alan Conway2012-04-121-2/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1325473 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3759: new update for spurious disconnect on close and serializing eventsClifford Allan Jansen2012-04-111-12/+32
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1312058 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Fix race condition - destroying a lock while in use.Alan Conway2012-04-101-22/+25
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1311988 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Fix initialization order of QueueReplicator to be thread safe.Alan Conway2012-04-101-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1311987 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Set HA state to standalone for broker configured with --ha-cluter=noAlan Conway2012-04-101-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1311985 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3942: embed xid struct in more readable form into error messages or log ↵Gordon Sim2012-04-105-31/+43
| | | | | | statements git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1311875 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Update HA documentatiionAlan Conway2012-04-052-8/+8
| | | | | | Also renamed --ha-replicate-default to --ha-replicate git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1310026 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Fix a static-initialization bug in the HaPlugin.Alan Conway2012-04-051-7/+18
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1309913 13f79535-47bb-0310-9956-ffa450edef68
* Avoid POSIX-only broker shutdown handler. Fixes QPID-3932.Stephen D. Huston2012-04-041-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1309600 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3918 qualify namespace better for windows buildCharles E. Rolke2012-04-041-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1309564 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3918 Add management queries to ACL module.Charles E. Rolke2012-04-045-9/+318
| | | | | | | | | * Make queries available to self tests. * Exercise query interface during acl self tests. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1309549 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3931: Remove update exchanges once update is complete.Alan Conway2012-04-041-10/+16
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1309427 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Fix cmake build broken by r1308597Alan Conway2012-04-031-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1308986 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3883: Using application headers in messages causes a very large slowdownAndrew Stitcher2012-04-031-8/+23
| | | | | | | Optimise copying field tables a little more, by encoding them as we copy them instead of copying the value map. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1308933 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Broker option --ha-replicate-default to specify default replication.Alan Conway2012-04-0214-120/+316
| | | | | | | Takes values 'all', 'configuration', 'all'. This is the replication level to use if a queue or exchange is created without an explicit 'qpid.replicate' argument. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1308597 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Allow Cmake builds to carry on working on Fedora (and probably ↵Andrew Stitcher2012-04-021-1/+1
| | | | | | | | | other Unixes): The QPID_LINK_BOOST_DYNAMIC option needs to be created for non MSVC builds too now that we only conditionally link the tests dynamically as Unix bulds are always dynamic. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1308461 13f79535-47bb-0310-9956-ffa450edef68
* Set BOOST_TEST_DYN_LINK only if linking dynamically with Boost. NO-JIRAStephen D. Huston2012-03-301-1/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1307592 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Keep acquired messages on queues for all queue types.Alan Conway2012-03-3013-210/+276
| | | | | | | | Updated priority and lvq queues to keep acquired messages, and supply them to browsers if requested. This is necessary so replicating subscriptions can back-up these queue types without message loss. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1307582 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3799 C++ broker ACL improvements.Charles E. Rolke2012-03-291-6/+8
| | | | | | | In publish lookups add rule text to log output and print routing keys as expected. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1307048 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3921 C++ header files need tidyupCharles E. Rolke2012-03-291-0/+1
| | | | | | | Windows build needs same treatment as rest of the files in r1306595 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1307025 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3759: reworked fix to be compatible with XPClifford Allan Jansen2012-03-291-15/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1306654 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3921: C++ header files need tidyupAndrew Stitcher2012-03-2821-16/+39
| | | | | | | | | | Tidied up header use of FieldValue.h - Removed all unnecessary includes of FieldValue.h from other header files especially Array.h. (This avoids the world recompiling when working on FieldValue!) - Corrected up header guards in Array.h git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1306595 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3920: keep cache data and length atomic with respect to each other.Kenneth Anthony Giusti2012-03-281-5/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1306434 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Substitute installation directories in qpidd init scripts.Alan Conway2012-03-271-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1306007 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Minor updates to doc and example cluster configuration.Alan Conway2012-03-271-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1305890 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3915: Add missing newlinesJustin Ross2012-03-264-0/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1305371 13f79535-47bb-0310-9956-ffa450edef68