summaryrefslogtreecommitdiff
path: root/qpid/cpp
Commit message (Collapse)AuthorAgeFilesLines
* QPID-4905: Tidy upAndrew Stitcher2013-06-0413-46/+17
| | | | | | | | - Remove unused function getBuffered() of ConnectionOutputHandler - Stop SessionContext and AggregateOutput from needlessly implementing the OutputControl interface git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1489457 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4893: prevent uninitialised buffered messages being transferedGordon Sim2013-05-302-8/+16
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1487960 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4886: fix autoconf distcheckGordon Sim2013-05-301-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1487816 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4886: Pass non-const reference to Message in QueueObserver functions.Alan Conway2013-05-293-1/+60
| | | | | | | Instead of modifying QueueObserver, a new class MessageInterceptor was introduced to allow messages to be modified. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1487579 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Added connection timeout to python client, used in brokertests.Alan Conway2013-05-291-2/+2
| | | | | | | Added an optional timeout parameter to Connection.establish. Set a timeout of 5 seconds in brokertest.py to prevent hanging tests. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1487578 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: CMake: Added missing test_wrap around stop_broker test.Alan Conway2013-05-291-1/+1
| | | | | | | | The stop_broker test was being run without the test_wrap wrapper. That meant it was loading the default /etc/qpidd.conf, so the test would fail if that config had any options defined by a module (since the tests dont load default modules.) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1487501 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4892: Re-add the examples to the gemfile.Darryl L. Pierce2013-05-281-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1487065 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4713: fix handling of reply to when converting from 1.0 to 0-10 formatGordon Sim2013-05-286-17/+116
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1486989 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: match the frequency of rate failure warnings to stats report frequencyGordon Sim2013-05-271-5/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1486666 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4887: retrieve username and password from url if specifiedGordon Sim2013-05-271-2/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1486657 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4890: added workaround to test to handle issues with closing stdin of ↵Gordon Sim2013-05-271-0/+1
| | | | | | subprocesses under older python interpreters git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1486625 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4650: C++ Broker method to redirect messages between two queues.Charles E. Rolke2013-05-251-2/+2
| | | | | | | | | Self test on RHEL 6 hangs frequently. Fall out of test and leave a dangling session. This appears to avoid the hang. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1486327 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4889: Only installs the Swig descriptors in /usr/includeDarryl L. Pierce2013-05-241-5/+0
| | | | | | | Previously the files were being installed under both /usr/include and also /usr/share/doc/qpid. Files are now installed only once. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1486148 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4888: correct handling of link namingGordon Sim2013-05-2417-24/+144
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1486115 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4884: prevent segfault when translating x-declare into 1.0 node propertiesGordon Sim2013-05-241-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1486113 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4650: C++ Broker method to redirect messages between two queues.Charles E. Rolke2013-05-242-376/+0
| | | | | | | | Previous commit had file content for these two files twice. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1486089 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4885: C++ examples install to qpid/examplesDarryl L. Pierce2013-05-241-2/+2
| | | | | | | Previously they installed to /usr/local/share/examples. This changes that to /usr/local/share/qpid/examples instead. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1486084 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4650: C++ Broker method to redirect messages between two queues.Charles E. Rolke2013-05-242-0/+750
| | | | | | | | Commit new files. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1486081 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4859: prevent circular reference on queues still holding durable messagesGordon Sim2013-05-242-2/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1485995 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4859: ensure flush is called on journalsGordon Sim2013-05-248-30/+113
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1485909 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4883: check for null pointer when parsing certificate CommonNameKenneth Anthony Giusti2013-05-231-10/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1485860 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4650: C++ Broker method to redirect messages between two queues.Charles E. Rolke2013-05-235-5/+182
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1485836 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: HA Add missing FailoverExchange.h/cpp to distribution rules.Alan Conway2013-05-231-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1485759 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4880: Qualify the name passed back to the client for dynamically ↵Gordon Sim2013-05-232-7/+20
| | | | | | created nodes with the brokers domain git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1485658 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4866: Add export directives for broker method now used by HA pluginGordon Sim2013-05-231-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1485641 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4866: HA support for failover exchangeAlan Conway2013-05-2212-42/+358
| | | | | | | Add support for the "amq.failover" exchange with new HA, to support migration of clients that used this facility with the old cluster. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1485511 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Added missing const qualifiers to Buffer get functions.Alan Conway2013-05-221-3/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1485510 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4878: fix SASL for connections established by the brokerGordon Sim2013-05-224-6/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1485467 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4591: patch from Ernie Allen to add queue sequence number to messagesGordon Sim2013-05-213-1/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1485001 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Fixed requiring Perl to do a buildDarryl L. Pierce2013-05-201-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1484505 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: cleanup temp files to fix the distcheck buildKenneth Anthony Giusti2013-05-201-7/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1484491 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: remove unnecessary includes from test scriptGordon Sim2013-05-201-2/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1484391 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: HA updated queue replication section of qpid C++ book.Alan Conway2013-05-171-6/+14
| | | | | | | | - Added information needed to use HA queue replication as a replacement for old async queue state replication. - Updated links in README-HA.txt to point to (as yet non-existent) 0.22 documentation. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1483957 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4857: Fixed passing Perl Message to C++ codeDarryl L. Pierce2013-05-171-3/+3
| | | | | | | The Perl code mistakenly passed the Perl Message object, rather than the wrapped C+ Message object, to the release and reject methods. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1483771 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4856: Fix reference to qpid.pm in Makefile.amDarryl L. Pierce2013-05-161-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1483541 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Add motivation for change to README-HA.txt.Alan Conway2013-05-161-7/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1483515 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: HA clean up ha_tests.py to use HaCluster more consistently.Alan Conway2013-05-161-29/+27
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1483455 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4855: fix compilation error with some compilersGordon Sim2013-05-162-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1483436 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: HA Use qpid::Address in ha::BrokerInfo rather than host/port.Alan Conway2013-05-165-20/+20
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1483138 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4850: HA Sporadic stall in ha_tests.test_failover_send_receiveAlan Conway2013-05-153-9/+4
| | | | | | | | Fixed a deadlock in the test: test was killing a backup broker then waiting to pass a checkpoint: however if the backup was expected by the primary, the primary holds queues till it connects, so we deadlock. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1483107 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4745: Clean up test_backup_acquired to use HaCluster.Alan Conway2013-05-151-15/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1482882 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4745: HA safe port allocation for brokers in HA tests.Alan Conway2013-05-155-87/+128
| | | | | | | | | | | | | | | | | | Many HA tests use --port=0 to start a broker on an available port, but then need to shutdown and restart the broker on the same port. This is not safe, on a busy system it is possible for another process to take the port between the time the broker is shut down and the time it is restarted. The solution is to do bind(0) and listen in the python test framework (class HaPort) and let the broker use the socket using qpidd --socket-fd. When the broker is shut down the port remains bound by the python process. When the broker is re-started it again is given access to the socket via --socket-fd. Other changes - move ha_store_tests into ha_tests. - add heartbeats to avoid stalling. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1482881 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4846: prevent assertion when translating empty 0-10 message content ↵Gordon Sim2013-05-152-1/+32
| | | | | | into 1.0 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1482795 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4843: Fixed the Perl spout.pl example.Darryl L. Pierce2013-05-141-1/+1
| | | | | | | It still called the old setProperty method on Message rather than set_property. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1482598 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4842: Ruby spout.rb calls wrong API to set message properties.Darryl L. Pierce2013-05-141-1/+1
| | | | | | | | Previously it was calling the read-only API (the one that returns an array created from the underlying C++ code) rather than the method to actually set values in the underlying C++. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1482597 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4839: HA Sporadic failure of ha_tests.test_join_ready_clusterAlan Conway2013-05-142-5/+10
| | | | | | | Bug in StatusCheck, was setting fetch timeout to uninitialized value which was sometimes 0, causing an immediate timeout of fetch. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1482481 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4781: Fix the Perl bindings for CMake < 2.8Darryl L. Pierce2013-05-131-2/+16
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1482038 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: HA moved ha_store_tests.py into ha_tests.py test suite.Alan Conway2013-05-134-129/+88
| | | | | | It was too easy to forget the store tests in a separate file. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1482023 13f79535-47bb-0310-9956-ffa450edef68
* NO_JIRA: Minor fix for error on some compilers "no newline at end of file"Kim van der Riet2013-05-101-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1481198 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4826: Patch Perl bindings memory leakDarryl L. Pierce2013-05-102-37/+32
| | | | | | | | | | | Marked the VariantToPerl() method in swig_perl_typemaps.i as returning a new object, which indicates to the Perl bindings that it needs to keep track of the return value for garbage collection. Also removed the Swig 1.3.32 minimum restriction to enable building on RHEL5 systems. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1481021 13f79535-47bb-0310-9956-ffa450edef68