summaryrefslogtreecommitdiff
path: root/qpid/cpp
Commit message (Collapse)AuthorAgeFilesLines
* 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
* QPID-4368: Small improvements to setting and checking filter descriptorsGordon Sim2012-11-163-5/+45
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1410576 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3351: Provide ability to specify the network interfacesAndrew Stitcher2012-11-162-27/+55
| | | | | | | | Made this work on windows too: - Caveat is that you can't specify interface name currently only interface address git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1410366 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3351: Provide ability to specify the network interfacesAndrew Stitcher2012-11-161-38/+70
| | | | | | Add listening to specific ports to SSL git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1410365 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3351: Provide ability to specify the network interfacesAndrew Stitcher2012-11-161-34/+59
| | | | | | Added to TCP (without specific port capability) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1410364 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3351: Provide ability to specify the network interfacesAndrew Stitcher2012-11-162-0/+2
| | | | | | Added broker interface option to specify network interfaces for listening git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1410363 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3351: Provide ability to specify the network interfacesAndrew Stitcher2012-11-162-0/+86
| | | | | | Added functions to find machines network interface names and addresses git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1410362 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Removed unused isLocalHost() codeAndrew Stitcher2012-11-163-58/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1410360 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Fix windows builds: missing EXTERNsAlan Conway2012-11-152-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1409869 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4368: Add support for subject, translated to a filter (i.e. at present ↵Gordon Sim2012-11-157-28/+139
| | | | | | a binding key) by receivers and used as default value for senders git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1409813 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4368: Fix 1.0 related client IO inline with changes for QPID-4272Gordon Sim2012-11-157-42/+51
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1409812 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4436: HA fix qpidd crash when mgmt-enable=noAlan Conway2012-11-144-10/+15
| | | | | | | - Don't initialize HaBroker if management is disabled. - Fix use of constants from another compilation unit in QueueReplicator. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1409327 13f79535-47bb-0310-9956-ffa450edef68
* Fix QPID-4434 - Skip language bindings if Swig is too old.Andrew Stitcher2012-11-141-10/+6
| | | | | | So that it works if swig isn't found at all. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1409244 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4401: Revert: HA bindings for QMF exchanges not replicated.Alan Conway2012-11-142-27/+2
| | | | | | | | | | This reverts r1403946: There was a problem with this, for example if I bind a queue Q to receive broker events. On the backup, Q will receive double events: from the replicating subscription to the primary and events generated locally in the backup broker. That can cause the backup to generate "invalid position" errors and shut down. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1409243 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: avoid un-necessary warnings in ha_tests.py test_qmf_replication.Alan Conway2012-11-141-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1409242 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4428: HA add UUID tag to avoid using an out of date queue/exchange.Alan Conway2012-11-1422-90/+238
| | | | | | | | | | | | | | | | | Imagine a cluster with primary A and backups B and C. A queue Q is created on A and replicated to B, C. Now A dies and B takes over as primary. Before C can connect to B, a client destroys Q and creates a new queue with the same name. When B connects it sees Q and incorrectly assumes it is the same Q that it has already replicated. Now C has an inconsistent replica of Q. The fix is to tag queues/exchanges with a UUID so a backup can tell if a queue is not the same as the one it has already replicated, even if the names are the same. This all also applies to exchanges. - Minor imrovements to printing UUIDs in a FieldTable. - Fix comparison of void Variants, added operator != git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1409241 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Suppress warning errors in ha_tests.py test_qmf_replication.Alan Conway2012-11-141-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1409225 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Reverted inadvertent change to example from previous commitGordon Sim2012-11-141-4/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1409163 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Fail on invalid PLAIN requestGordon Sim2012-11-142-4/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1409161 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Fix ambiguity probems in windows buildAlan Conway2012-11-131-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1409004 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4435: Reconnect on connect failure hangs at third address to tryAndrew Stitcher2012-11-131-0/+1
| | | | | | | | - In the case of retrying a connection failure the epoll code mistakenly thinks the connection has just been disconnected and therefore should never be seen again. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1408983 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4434 - Skip language bindings if Swig is too old.Darryl L. Pierce2012-11-131-5/+8
| | | | | | | | Previously the CMake environment would fail if the version of Swig found was too old. Now it will skip the language bindings and notify the user of that choice. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1408867 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4418 - Autotools will fail if no C++ compiler is found.Darryl L. Pierce2012-11-131-0/+4
| | | | | | Submitted by: Jimmy Jones git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1408782 13f79535-47bb-0310-9956-ffa450edef68
* Changed systemd support to requiring Networking start first.Darryl L. Pierce2012-11-121-1/+1
| | | | | | | Before the qpidd service was started in parallel to networking. Now it's started after networking is started. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1408346 13f79535-47bb-0310-9956-ffa450edef68
* Bug 874118 - HA Deadlock in backup broker after disconnecting from primary.Alan Conway2012-11-093-21/+28
| | | | | | | | | | | The backup broker was running ExchangeRegistry::for_each to clean up connections, but this holds the ExchangeRegistry lock and hence the deadlock. Now we copy a list of exchanges with for_each and work on it without the lock. The issue showed up for 0 timeouts only because the queue schedules non-0 timeouts to a separate timer thread. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1407661 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4430: HA QMF queue events do not propagate to backups under load (Jason ↵Alan Conway2012-11-092-2/+12
| | | | | | | | | | | | Dillaman) In a stress tests QMF events were not being propagated to backups. Discovered that the inter-broker link had hundreds of thousands of enqueued OutputTasks -- representing only a few unique consumers. There should only be only a single output task for a given consumer. This appears to have stalled the delivery of QMF messages to the backup broker git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1407543 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3067 moved old examples - repair winsdk script not to reference ↵Charles E. Rolke2012-11-081-6/+0
| | | | | | directories deleted by r1075883 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1407282 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4423 C++ Broker federated bridge creation should not declare named queues.Charles E. Rolke2012-11-071-21/+23
| | | | | | | | Named queues are assumed to exist and should not be declared during bridge creation. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1406809 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4427 C++ Messaging Client .NET Binding failed to wrap receiver.close().Charles E. Rolke2012-11-073-7/+42
| | | | | | Also add exception handler to closing section of map callback receiver example. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1406725 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4426 Add exception callback to sessionreceiver callback server.Charles E. Rolke2012-11-072-13/+35
| | | | | | This patch fixes the server and the csharp.map.callback.receiver.cs client example. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1406713 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Remove unnecessary gcc conditionalsAndrew Stitcher2012-11-062-25/+19
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1406354 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Don't export non API symbols from libqpidmessaging when using gccAndrew Stitcher2012-11-061-13/+23
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1406353 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4417: Add minimum Swig version check to autotools and CmakeDarryl L. Pierce2012-11-062-1/+8
| | | | | | | | Any version of Swig < 1.3.32 results in errors in the Perl language bindings. This change forces both build systems to require at least version 1.3.32 of Swig in order to build those language bindings. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1406195 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4421 Issue with reusing link channel Id number too soon.Charles E. Rolke2012-11-052-6/+23
| | | | | | | | | Cycle through the entire pool of (32K) channel Id numbers to defer problem of references which are held for a little too long. This problem was exposed by QPID-4392 where a channel number wrap problem was repaired. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1405946 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Stop linking libpython with everything when doing autoconf builds forAndrew Stitcher2012-11-051-2/+3
| | | | | | versions of python that do not have a pkg-config file. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1405939 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4403 review 7810 Too many 'task late and overran' messagesCharles E. Rolke2012-11-032-6/+6
| | | | | | | | | | | Demote TimerWarning messages to debug level. Print them only once per minute. To enable only these messages when broker is otherwise at INFO log level: --log-enable debug+:Timer git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1405316 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA Repair r1405147 for correctness.Charles E. Rolke2012-11-021-3/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1405164 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA repair r1404665 under windowsCharles E. Rolke2012-11-021-2/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1405147 13f79535-47bb-0310-9956-ffa450edef68
* Put pkgconfig files in right place. Fixes QPID-4413.Stephen D. Huston2012-11-021-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1405106 13f79535-47bb-0310-9956-ffa450edef68
* Revert "NO-JIRA: Bumped all soversions to match the official Fedora release."Darryl L. Pierce2012-11-021-11/+11
| | | | | | This reverts commit 750b661d428e76ab7b4a006beb799a03e2e9cbb5. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1405012 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Rename generated event PACKAGE_NAME, clashes with #defines.Alan Conway2012-11-013-32/+27
| | | | | | | | PACKAGE_NAME is a common name for #define macros in legacy code. Replaced public PACKAGE_NAME, EVENT_NAME with private camelCase members and added static getFullName() git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1404665 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4394: HA QMF events out of orderAlan Conway2012-11-018-62/+153
| | | | | | | | | | | | | | | | QMF create/delete events for auto-delete queues can be generated out-of-order because they are not regulated by any lock. This creates problems for HA replication. This commit does 2 things: 1. Dispatch QMF events via a pollable queue. Events are encoded in the thread calling raiseEvent then put on a PollableQueue to be dispatched in a separate thread. This allows us to move the raiseEvent calls inside registry locks to ensure they are ordered. 2. Move queue create and delete raiseEvent calls inside the queue registry lock so they are executed in order. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1404590 13f79535-47bb-0310-9956-ffa450edef68
* Refer to sessionreceiver project in correct place. Fixes QPID-4406.Stephen D. Huston2012-10-311-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1404402 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Bumped all soversions to match the official Fedora release.Darryl L. Pierce2012-10-311-11/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1404350 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4401: HA bindings for QMF exchanges not replicated.Alan Conway2012-10-313-27/+28
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1403946 13f79535-47bb-0310-9956-ffa450edef68