summaryrefslogtreecommitdiff
path: root/qpid/cpp/src
Commit message (Collapse)AuthorAgeFilesLines
* QPID-4627: Implement most of the remaining selector special identifiersAndrew Stitcher2013-07-0511-41/+136
| | | | | | | | | | | | | | | | | | Implemented: message_id, correlation_id, jms_type, creation_time, absolute_expiry_time There are a couple of caveats: The easily available way to get jms_type doesn't distinguish between an empty string and the property not being sent at all. So we treat this case as property not set as that seems like it will get most cases correct (why bother to send an empty jms_type?). The creation_time property is currently implemented as the time the message was put on the queue (if enabled in the broker) as amqp 0_10 has no standard way to indicate the creation time and we're not currently holding the creation time for amqp 1.0 messages. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1500052 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4944: HA Sporadic failure: test_failover_send_receiveAlan Conway2013-07-046-15/+14
| | | | | | | | | | | | | | | | | Test failing if run as: ha_tests.py -DDURATION=2 AssertionError: Stalled test0 waiting for 248, sent 1228 The problem was a missing call to notify() when a ReplicatingSubscription skipped a message. That resulted in very long (>1s) delays between skipped messages which caused the test to time out. Changes: - ReplicatingSubscription::deliver call notify() to keep consumer active. - Re-enable test_failover_send_receive. - Increase default credit for replicating subscription to match qpid-send. - Rename ReplicatingSubscription::unacked as unready, clearer meaning. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1499789 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4944: HA Sporadic failure - logging improvements used to investigate.Alan Conway2013-07-047-13/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1499788 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4975: Only send correlation id if it isn't empty.Andrew Stitcher2013-07-031-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1499540 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4969: C++ Broker headers exchange allows creation of bindings Charles E. Rolke2013-07-013-6/+8
| | | | | | | | | | | with duplicate keys Patch from Gordon Sim to correct issues in initial fix. Now successive bind requests are accepted when the key, queue, and exchange are identical if and only if all of the binding args are also identical. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1498671 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4971: Uninitialized variables in QueueSettingsCharles E. Rolke2013-07-011-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1498630 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4969: Headers exchange allows bindings with duplicate managementId.Charles E. Rolke2013-06-281-0/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1497926 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Refactor AclData to extract two deeply nested functions. Fix parens.Charles E. Rolke2013-06-282-716/+699
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1497827 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4966: ensure timeout is honoured while waiting of rmessagesGordon Sim2013-06-282-3/+33
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1497749 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4965: check filters on assertGordon Sim2013-06-282-4/+64
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1497748 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4961: Fix make distcheck problems with qpidd-p0 script.Alan Conway2013-06-271-9/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1497549 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4961: Remove obsolete ssl.cmake from EXTRA_DISTJustin Ross2013-06-271-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1497489 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4944: HA skip test test_failover_send_receive till fixed.Alan Conway2013-06-271-1/+3
| | | | | | | This test has been failing sporadically for some time, it is being disabled to cut down on noise in automated builds untill the problem is fixed. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1497477 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: restrict broker to listen only on loopback interface (ensures they ↵Gordon Sim2013-06-273-4/+4
| | | | | | are listening on the right interface when port is 0) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1497339 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4957: ensure bindings created on attaching link are deleted alog with ↵Gordon Sim2013-06-271-1/+1
| | | | | | the subscription queue git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1497282 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4919: repair r1497036 for windows buildsCharles E. Rolke2013-06-261-7/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1497074 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4919: Allow definition of topics in AMQP 1.0, composed of an exchange ↵Gordon Sim2013-06-2629-113/+729
| | | | | | and subscription queue configuration git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1497036 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4950: ensure exchange stats are updated with correct content size for ↵Gordon Sim2013-06-262-2/+1
| | | | | | messages git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1497024 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4953: recognise temp queue shorthand in 0-10 codepathGordon Sim2013-06-262-3/+32
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1496985 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4949: explicitly delete the management agent during the Broker destructorKenneth Anthony Giusti2013-06-251-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1496630 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4712: fixes for windows, rhel5Gordon Sim2013-06-253-10/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1496545 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4712: authorisation for AMQP 1.0 connectionsGordon Sim2013-06-2561-410/+1222
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1496466 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4944: HA Sporadic failure in ha_tests: tes_failover_send_receive and ↵Alan Conway2013-06-219-66/+67
| | | | | | | | | | | | test_expected_backup_timeout Very sporadic failures so difficult to verify the fix. - Simplified Membership, centralized status change, make it atomic. - Fix test bug in test_expected_backup_timeout: not waiting on final status check, race. - Remove out-of-date status info from log prefixes: Guard, ReplicatingSubscription git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1495466 13f79535-47bb-0310-9956-ffa450edef68
* Fix broken Windows configure; QPID-4938 change 19-June-2013 broke it.Stephen D. Huston2013-06-211-1/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1495271 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4931: Remove removed member function from windows SocketAddressAndrew Stitcher2013-06-191-13/+9
| | | | | | | code too. While there bring this code up to date with other recent changes to the POSIX equivalent code. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1494712 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4905: Add needed virtual destructor missed earlierAndrew Stitcher2013-06-191-0/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1494700 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4938: No longer build acl or ssl support as pluginsAndrew Stitcher2013-06-1914-322/+161
| | | | | | (also remove final references to dead watchdog plugin) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1494697 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4931: Only allow broker to listen to a single address if "--port 0" ↵Andrew Stitcher2013-06-1910-23/+21
| | | | | | | | | | | specified - If more than one address is specified or implied by the defaults the broker will log a warning - This is intended to avoid testing problems where the broker fails to connect to the port of subsequent listening addresses git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1494656 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: remove unused codeGordon Sim2013-06-192-40/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1494646 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4854: signal connection establishment for broker initiated connections alsoGordon Sim2013-06-191-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1494645 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4935: handle case where peer to sender settles without setting a ↵Gordon Sim2013-06-192-2/+22
| | | | | | delivery state git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1494644 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4905: Stopped broker::Broker needing to refer to broker::ConnectionAndrew Stitcher2013-06-1920-93/+119
| | | | | | - Also removed ConnectionToken which didn't add anything over OwnershipToken git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1494640 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4905: Tidy up broker::ConnectionAndrew Stitcher2013-06-1924-329/+208
| | | | | | | - Clean up code for accounting for sent frames - merged Connection and ConnectionState into Connection git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1494639 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4745: Remove spurious --port option in qpidd-p0Alan Conway2013-06-191-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1494606 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Remove useless HAVE_CONFIG_H definitionAndrew Stitcher2013-06-186-23/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1494316 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4745: Alternative port allocation for tests, instead of 'qpidd --port=0'Alan Conway2013-06-184-5/+59
| | | | | | | | | | | | | | | | | | qpidd-p0 script binds a new port to a socket using bind(0), and then execs qpidd using the --socket-fd option to pass the socket to qpidd. It is intended to replace /path/to/qpidd --port 0 <args...> with qpidd-p0 /path/to/qpidd <args...> Most tests do not yet use qpidd-p0, they will be updated in a future commit. Changes: - Added qpidd-p0 - Fixed qpidd port printing logic: print port only if --port=0, regardless of --transport. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1494306 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4926: Add path when invoking sasl_test_setup.shAlan Conway2013-06-181-1/+1
| | | | | | Build was failing with "sasl_test_setup.sh not found", added an explict path. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1494305 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Fix compile errors in Windows build.Alan Conway2013-06-181-1/+1
| | | | | | Missing EXTERN declaration in types/Uuid.h. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1494290 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4926: Get Unix sasl/ssl test workingAndrew Stitcher2013-06-171-13/+24
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1493903 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4348: HA Use independent sequence numbers for identifying messagesAlan Conway2013-06-1748-593/+1026
| | | | | | | | | | | | | | | Previously HA code used queue sequence numbers to identify messasges. This assumes that message sequence is identical on primary and backup. Implementing new features (for example transactions) requires that we tolerate ordering differences between primary and backups. This patch introduces a new, queue-scoped HA sequence number managed by the HA plugin. The HA ID is set *before* the message is enqueued and assigned a queue sequence number. This means it is possible to identify messages before they are enqueued, e.g. messages in an open transaction. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1493771 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4926: Add in overlooked cli_testsAndrew Stitcher2013-06-141-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1493267 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4926: Add in tests missing from the cmake buildAndrew Stitcher2013-06-141-5/+15
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1493264 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Windows fixes for previous "simple" changeAndrew Stitcher2013-06-133-1/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1492857 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Remove unnecessary includes for AsynchIOAndrew Stitcher2013-06-132-8/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1492847 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Remove unnecessary codeAndrew Stitcher2013-06-131-45/+9
| | | | | | | | Big realisation here is that you can form pointers to protected members in a superclass you just have to (unintuitively) qualify them with the current class instead of the superclass. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1492846 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4923: Windows C++ broker should use --ssl-port option to select ssl portAndrew Stitcher2013-06-131-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1492845 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: restrict broker to listen only on loopback interface (which is all ↵Gordon Sim2013-06-1313-20/+22
| | | | | | that gets used by clients) in order to avoid port collisions git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1492778 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4921: check pointer before using itGordon Sim2013-06-131-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1492761 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4917: allow shared topic subscriptionsGordon Sim2013-06-123-7/+22
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1492311 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4766: Added generic filter support to address handling in ↵Gordon Sim2013-06-129-150/+548
| | | | | | qpid::messaging. Added support for legacy-headers-binding and newly defined xquery filters. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1492310 13f79535-47bb-0310-9956-ffa450edef68