summaryrefslogtreecommitdiff
path: root/cpp/src
Commit message (Collapse)AuthorAgeFilesLines
* Binds integer, floating point, or string-typed headers using appropriate ↵Jonathan Robie2010-11-262-6/+87
| | | | | | datatypes. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1039478 13f79535-47bb-0310-9956-ffa450edef68
* Increase the broker start timeout to 90 seconds; sometimes the SQL db create ↵Stephen D. Huston2010-11-261-1/+1
| | | | | | takes a minute or more. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1039421 13f79535-47bb-0310-9956-ffa450edef68
* Revert test change causing failures.Alan Conway2010-11-231-2/+2
| | | | | | Will restore the change once the failure is addressed. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1038341 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2957 - Management methods on the broker don't work on newly created objectsTed Ross2010-11-231-0/+4
| | | | | | | A test and a fix are included. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1038231 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2956: cluster broker exits with "error deliveryRecord no update message."Alan Conway2010-11-223-11/+35
| | | | | | | | | The following sequence of events was causing a broker joining the cluster to shutdown: - a client acquires or browses a message with TTL set. - the message expires. - a new broker joins before the client has acknowledged the message. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1037763 13f79535-47bb-0310-9956-ffa450edef68
* Bump the store-startup timeout from 10 to 20 seconds; creating a SQL db ↵Stephen D. Huston2010-11-191-1/+1
| | | | | | often causes a timeout failure running a few seconds long. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1036871 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2874 Clustered broker crashes in assertion in cluster/ExpiryPolicy.cppAlan Conway2010-11-183-13/+75
| | | | | | | | | | | | | | - Added missing lock to ExpiryPolicy - 1-N mapping for expiry ID to mapping when receiving an update. - Regression test. A fan-out message (sent to multiple queues e.g. by fanout or topic exchange) is a single message on multiple queues with a single expiry ID. During an update however each instance is sent as a separate message so we need to allow 1-N mapping of expiry ID to message during update. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1036589 13f79535-47bb-0310-9956-ffa450edef68
* Added missing TimerWarnings.cpp to CMakeLists.txt.Alan Conway2010-11-181-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1036482 13f79535-47bb-0310-9956-ffa450edef68
* cluster/Numbering.h: Removed unused and incorrect function contains()Alan Conway2010-11-171-2/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1036214 13f79535-47bb-0310-9956-ffa450edef68
* Aggregate Timer warnings.Alan Conway2010-11-175-18/+176
| | | | | | | | | | | | The Timer code logs a warning if a timer callback is started late or overruns the start time for the next callback. In cases where there are a lot of these warnings, the time taken to do the logging itself severly worsens the situation. This commit aggregates timer warnings and give a statistical report every 5 seconds at most. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1036169 13f79535-47bb-0310-9956-ffa450edef68
* Handle iterator properly when removing entries from list; resolves QPID-2941.Stephen D. Huston2010-11-121-3/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1034586 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2674: prevent callbacks after doDelete has been calledGordon Sim2010-11-121-0/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1034523 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2940: always request completions from broker on Session::acknowledge(), ↵Gordon Sim2010-11-122-2/+4
| | | | | | and always clean up any pending accept records at that time git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1034393 13f79535-47bb-0310-9956-ffa450edef68
* Include cluster scripts unconditionally in distribution.Alan Conway2010-11-111-27/+32
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1034008 13f79535-47bb-0310-9956-ffa450edef68
* Fixed segfault when setting the agent filter on a closed session.Ted Ross2010-11-102-2/+17
| | | | | | | | | Fixed notification for the connected-broker agent. Added an example console program in c++ to monitor the set of agents. Fixed the Python agent example to more elegantly handle connection failure. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1033763 13f79535-47bb-0310-9956-ffa450edef68
* test_env.sh.in: Remove un-necessary absdir for @prefix@, prefix is always ↵Alan Conway2010-11-101-1/+1
| | | | | | absolute. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1033740 13f79535-47bb-0310-9956-ffa450edef68
* qpid-recieve --receive-rate: fixed calculation for duplicate messages.Alan Conway2010-11-101-4/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1033739 13f79535-47bb-0310-9956-ffa450edef68
* Fix to r1028346: no point in throwing exception after queue has already been ↵Gordon Sim2010-11-102-5/+29
| | | | | | created, so just log error and revert to default (do this for floating point values also) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1033585 13f79535-47bb-0310-9956-ffa450edef68
* Added --receive-rate to qpid-recieve to allow simulation of a slow receiver.Alan Conway2010-11-092-3/+22
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1033264 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2934 Feature to pass the authenticated userId to QMF agent method ↵Ted Ross2010-11-094-15/+25
| | | | | | handlers for authorization git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1033232 13f79535-47bb-0310-9956-ffa450edef68
* Increment version numbers from 0.7 to 0.8(docs) and 0.9(code)Robert Gemmell2010-11-071-8/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1032374 13f79535-47bb-0310-9956-ffa450edef68
* Manage CLFS containers using policies to both create the initial containers ↵Stephen D. Huston2010-11-053-23/+46
| | | | | | and to automatically grow and shrink the log as needed. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1031842 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2926 Simple example code does not link under WindowsCharles E. Rolke2010-11-052-0/+72
| | | | | | This commit provides a windows-only Handle instantiator for the currently known Handle consumers. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1031711 13f79535-47bb-0310-9956-ffa450edef68
* Fix typo in help message.Stephen D. Huston2010-11-041-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1031345 13f79535-47bb-0310-9956-ffa450edef68
* Revised Messages to keep track of queues each message is on to enable ↵Stephen D. Huston2010-11-043-207/+255
| | | | | | finding all messages on a deleted queue. Removed this type of tracking from MSSqlClfsProvider.cpp. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1031325 13f79535-47bb-0310-9956-ffa450edef68
* When running store tests, pass the store type to the script. Also added test ↵Stephen D. Huston2010-11-041-1/+4
| | | | | | runs for the CLFS store. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1031323 13f79535-47bb-0310-9956-ffa450edef68
* 1. Enable the second set of tests, now that brokertest.py is checked in and ↵Stephen D. Huston2010-11-041-17/+47
| | | | | | | | running. This allows the tests that require a broker restart to be executed. 2. Make the script accept a command line argument to say which store to run the tests against. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1031319 13f79535-47bb-0310-9956-ffa450edef68
* qpid-cpp-benchmark: allow extra arguments to qpid-send/receive, fix ↵Alan Conway2010-11-041-2/+8
| | | | | | exception error. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1031162 13f79535-47bb-0310-9956-ffa450edef68
* Catch com exceptions during db recovery and rethrow as ADOExceptions which ↵Stephen D. Huston2010-11-031-65/+105
| | | | | | the broker can deal with. Resolves QPID-2925. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1030752 13f79535-47bb-0310-9956-ffa450edef68
* Remove spurious comment.Michael Goulish2010-11-021-3/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1030180 13f79535-47bb-0310-9956-ffa450edef68
* Changed Variant::fromString() to Variant::parse(). Also changed implementation.Jonathan Robie2010-11-012-35/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1029673 13f79535-47bb-0310-9956-ffa450edef68
* Moved new cluster design docs into cpp/design.Alan Conway2010-11-013-932/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1029671 13f79535-47bb-0310-9956-ffa450edef68
* Updates to new cluster design docs.Alan Conway2010-11-012-108/+113
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1029670 13f79535-47bb-0310-9956-ffa450edef68
* add ASF licence to various files in the cpp treeRobert Gemmell2010-10-312-3/+22
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1029521 13f79535-47bb-0310-9956-ffa450edef68
* Prevent sasl_fed from blowing up in a distro, or "make distcheck",Michael Goulish2010-10-291-8/+15
| | | | | | | by bailing out if the python tools that it needs are absent. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1028878 13f79535-47bb-0310-9956-ffa450edef68
* Corrects AddressParser to use typed simple values.Jonathan Robie2010-10-293-11/+56
| | | | | | | | | | Adds Variant::fromString(). Resolves QPID-2896 and QPID-2908. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1028860 13f79535-47bb-0310-9956-ffa450edef68
* Since LSNs are used as persistence IDs and ID 0 usually means "not ↵Stephen D. Huston2010-10-299-30/+131
| | | | | | | | | persisted", ensure that no log record that's used gets written at LSN 0. Add stub for loadContent(). Correct transaction references in enqueue/dequeue. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1028840 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2916: throw an exception when a data value cannot be encoded correctly ↵Kenneth Anthony Giusti2010-10-286-24/+88
| | | | | | as its type. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1028501 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2906 Charles E. Rolke2010-10-282-821/+0
| | | | | | Delete vendor-specific licenses. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1028391 13f79535-47bb-0310-9956-ffa450edef68
* Fixes broker issues when max_count or max_size are invalid.Jonathan Robie2010-10-282-7/+20
| | | | | | | Accepts non-negative integer values, or strings containing the lexical representation of such values. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1028346 13f79535-47bb-0310-9956-ffa450edef68
* Clarify this output comment a little.Michael Goulish2010-10-281-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1028250 13f79535-47bb-0310-9956-ffa450edef68
* Add a small executable that prints out the sasl version number in integer form.Michael Goulish2010-10-283-3/+65
| | | | | | | Use it in the sasl_fed test to determine whether that test can run. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1028180 13f79535-47bb-0310-9956-ffa450edef68
* Updates to new cluster design.Alan Conway2010-10-271-3/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1028082 13f79535-47bb-0310-9956-ffa450edef68
* 1) Fix a bug where AGENT_RESTART is repeatedly reported when detected once.Ted Ross2010-10-273-11/+28
| | | | | | | | | 2) ConsoleSession::getAgents now lists only agents in the agent-filter. If the connected broker agent does not match the filter, it is removed from the list though it is still accessible using ConsoleSession::getConnectedBrokerAgent. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1028066 13f79535-47bb-0310-9956-ffa450edef68
* Fix make distcheck error: added sasl_fed to EXTRA_DIST.Alan Conway2010-10-272-5/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1028056 13f79535-47bb-0310-9956-ffa450edef68
* Revert experimental cluster code, too close to 0.8 release.Alan Conway2010-10-2732-1752/+63
| | | | | | | | | Reverts revisions: r1023966 "Introduce broker::Cluster interface." r1024275 "Fix compile error: outline set/getCluster fucntions on Broker." r1027210 "New cluster: core framework and initial implementation of enqueue logic." git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1028055 13f79535-47bb-0310-9956-ffa450edef68
* Updates to new cluster design.Alan Conway2010-10-273-1/+19
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1028006 13f79535-47bb-0310-9956-ffa450edef68
* Added another missing licenseGordon Sim2010-10-271-0/+19
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1027880 13f79535-47bb-0310-9956-ffa450edef68
* Added some missing licenses; added FedOps.h to distribution listGordon Sim2010-10-271-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1027879 13f79535-47bb-0310-9956-ffa450edef68
* Add missing Apache licences to cluster files.Alan Conway2010-10-266-1/+108
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1027749 13f79535-47bb-0310-9956-ffa450edef68