summaryrefslogtreecommitdiff
path: root/qpid/cpp
Commit message (Collapse)AuthorAgeFilesLines
* QPID-4481: HA replication of propagated bindings can lead to incorrect ↵Alan Conway2012-12-1114-23/+257
| | | | | | | | | | | | | | | | | | | | | | | | | | | | configuration When using dynamic federation between two independent HA broker clusters, it is possible under certain failover scenarios for the propagated bindings on the source broker to become out-of-sync with the true state of bindings on the destination broker. How reproducible: Often -- race condition between re-establishment of federated link and the deletion of a binding on the destination broker Steps to Reproduce: 1. Start a stand-alone broker (route destination) and an HA broker (route source w/ primary and backup) 2. Configure a dynamic federated route between a destination broker and a source broker. The dynamic federation needs to utilize an existing, non-auto-delete queue on the source broker. 3. Subscribe to an auto-delete queue on the destination broker and bind the auto-delete queue to the exchange configured for the dynamic federation 4. Kill the primary source broker 5. Kill the subscription to the auto-delete queue on the destination broker 6. Promote the backup source broker to primary Actual results: With the loss of the client subscription to the auto-delete queue, the binding will be removed. If the binding is removed prior to the re-establishment of the federated link to the source broker, the unbind command will not propagate. Since the backup source broker had previously replicated the propagated binding, the binding will incorrectly remain on the source broker. Expected results: Propagated bindings should not be replicated from the primary to backups since they are transient and will be recreated when the route is re-established.))) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1420438 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4499: Installs qpid.i, qmfengine.i and qmf2.i into include directory.Darryl L. Pierce2012-12-111-1/+5
| | | | | | | The three files are needed by the language bindings and so should be delivered as a part of the installation of Qpid. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1420320 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: remove empty files from treeGordon Sim2012-12-116-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1420258 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4498: HA module should only initialize if requested Alan Conway2012-12-103-6/+14
| | | | | | | | | | This commit provides better control over loading the HA module. In particular it is not loaded if no ha options are set. This will prevent clashes with the old cluster plugin in configurations where the HA module is not explicitly used. HA documentation has been updated to state that HA and old cluster cannot be used together. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1419850 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4495: RVM fails to use C++ compiler for the Ruby gem.Darryl L. Pierce2012-12-071-1/+2
| | | | | | | | | | mkmf tries to find a basic working compiler and linker first, and when it finds gcc it stops. But since Qpid is written in C++ this causes the gem to fail to install when the C++ libraries checked. This fix forces mkmf from the outset to use a C++ compiler instead. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1418488 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Fix race condition in brokertest.py test harness.Alan Conway2012-12-071-1/+3
| | | | | | | Fixed a race conndition that was causing false failures of the form "expected an error". git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1418417 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Small typo fix in the drain..pl example.Darryl L. Pierce2012-12-071-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1418350 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3723: further refinement to the change to link against the .la files, ↵Gordon Sim2012-12-0612-37/+43
| | | | | | rather than use the unqualified lib names git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1418000 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4490 clean up after commit r1417511 for windows buildsCharles E. Rolke2012-12-061-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1417963 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4490: Durable mesages with TTL do not expire after broker recovery (c++ ↵Kim van der Riet2012-12-053-0/+8
| | | | | | store) - fix git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1417511 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4449 Repair some windows settings damaged during this jira.Charles E. Rolke2012-12-033-7/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1416692 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4487: Remove systemd support and qpidd.service.Darryl L. Pierce2012-12-033-21/+1
| | | | | | | The configuration files will instead be provided by the various distrubitons as needed. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1416607 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4449 - Added missing update to xml.mkTed Ross2012-12-031-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1416604 13f79535-47bb-0310-9956-ffa450edef68
* QPID_4449 - Further fixes to the build files for both automake and cmake.Ted Ross2012-12-0310-19/+23
| | | | | | | Fixed some build issues affecting Windows. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1416594 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4485: hold agentLock and check for dups when adding new mgmt objectsKenneth Anthony Giusti2012-12-012-9/+35
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1416037 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4449 - Reverted much of the original change and re-implemented the fix ↵Ted Ross2012-11-3047-109/+122
| | | | | | | | | | in a simpler way. The build-define _IN_QPID_BROKER is now used for modules built in the broker. The shared-pointer changes are conditionally compiled only for in-broker cases. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1415796 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Repair build for Windows VS2010Charles E. Rolke2012-11-301-1/+8
| | | | | | | vector::push_back now has two signatures that confuse boost. Use an explicit callback and do the push_back there. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1415709 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4484 Add -Wno-attributes to gcc 4.1.2 command lineStephen D. Huston2012-11-301-1/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1415470 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4480: Fix handling in Perl of strings with embedded nulls.Darryl L. Pierce2012-11-292-1/+62
| | | | | | Contributed by Jimmy Jones <jimmyjones2@gmx.co.uk> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1415313 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3723: Applied patch from Fraser Adams for explicit linkingGordon Sim2012-11-2913-43/+44
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1415137 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA only try to install qpidd.service on UNIX.Stephen D. Huston2012-11-281-3/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1414918 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4388: Fixed accidental deletion of qpidd.service file by autotools.Darryl L. Pierce2012-11-281-1/+1
| | | | | | | When moving the file from being processed to just included, the delete code was missed. Removed the file from the list of cleaned targets. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1414818 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Fix bindings breakage from previous checkinsAndrew Stitcher2012-11-287-7/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1414741 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Made the Systemd install directory macro consistent with others.Darryl L. Pierce2012-11-282-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1414666 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4388: Systemd support not being installed with CmakeDarryl L. Pierce2012-11-274-4/+8
| | | | | | | | | | Previously systemd support was only in the automake system, and the qpidd.service file was processed via sed. But, since there are no substitutions needed in the file, it's now renamed to qpidd.service. And both Makefile.am and CMakeLists.txt will simply install it to /usr/lib/systemd/system. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1414392 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Fixed a small typo in Makefile.amDarryl L. Pierce2012-11-271-1/+1
| | | | | | Forgot to include a trailing \ which caused autotools to break. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1414355 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4214 : Adds a LICENSE and Makefile.PL to the Qpid Perl bindings.Darryl L. Pierce2012-11-273-0/+221
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1414297 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4214 : Updated all Perl examples to work with the new Perl APIs.Darryl L. Pierce2012-11-279-124/+100
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1414296 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4124 : New Perl language bindings for Qpid.Darryl L. Pierce2012-11-271-0/+840
| | | | | | | This newer language binding sits on top of those generated by Swig and provide a set of classes that live in the qpid namespace. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1414295 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4207 : Relocated all swig .i files to the include directory.Darryl L. Pierce2012-11-2725-29/+52
| | | | | | | Updated the build systems to use the new locations. Updated all other .i files to not use relative paths when referencing them. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1414294 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4478: wakeup driver after setting creditGordon Sim2012-11-271-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1414291 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4477: make sasl logic a bit smarter, to handle case where we transition ↵Gordon Sim2012-11-2710-37/+96
| | | | | | input to tunnelled layer while output still has work for sasl git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1414227 13f79535-47bb-0310-9956-ffa450edef68
* BZ878940 - Fixes and improvements to spout.pl and drain.plDarryl L. Pierce2012-11-272-19/+64
| | | | | | | Initial changes from Petr Matousek with additions from Darryl Pierce for show usage information. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1414221 13f79535-47bb-0310-9956-ffa450edef68
* Prevent multiple threads from dispatching the condition handling at once. ↵Stephen D. Huston2012-11-261-1/+7
| | | | | | Fixes QPID-4424. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1413889 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4415: Fixes Perl bindings install locationDarryl L. Pierce2012-11-261-2/+2
| | | | | | | | | | Removed the DESTDIR option in the Makefile.am file for the Qpid language bindings for Perl. Also includes a fix from Jimmy Jones to remove the LIB argument to Makefile.PL to ensure the install location is correct. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1413693 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4465: check subject before setting filterGordon Sim2012-11-231-12/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1412963 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4464: set container name when sending openGordon Sim2012-11-231-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1412962 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4460: Replenish credit to cover specified prefetch if it is drainedGordon Sim2012-11-232-4/+18
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1412961 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4459: settle sent messages once they have been accepted by peerGordon Sim2012-11-232-1/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1412960 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4452: fix credit for producersGordon Sim2012-11-212-21/+31
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1412242 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4451: wait for outgoing messages to settle when closingGordon Sim2012-11-215-1/+25
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1412241 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4448: fix credit checking on 0-10 path when message is of 1.0 formatGordon Sim2012-11-214-9/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1412239 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4450 - Don't generate QPID_BROKER_[CLASS_]EXTERN when the generated ↵Ted Ross2012-11-205-25/+45
| | | | | | | | | code is for a standalone (not in-broker) agent. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1411780 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4449 - Fixed the API in qpid::management::Manageable to remain backward ↵Ted Ross2012-11-2037-92/+109
| | | | | | compatible. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1411761 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4447: C++ Client can hang during connect if heartbeat disconnect firesAndrew Stitcher2012-11-205-2/+31
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1411750 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4377: Update trunk versions to 0.21Justin Ross2012-11-191-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1411381 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4442: make spout example send properties as utf8 stringsGordon Sim2012-11-191-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1411154 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4368: Added support for subject filtering on queuesGordon Sim2012-11-175-2/+66
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1410750 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4368: Added support for some specific AMQP 0-10 derived node optionsGordon Sim2012-11-173-8/+38
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1410748 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4368: Cleaned up filtering, added ability to process ↵Gordon Sim2012-11-1619-121/+1407
| | | | | | dynamic-node-properties git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1410578 13f79535-47bb-0310-9956-ffa450edef68