summaryrefslogtreecommitdiff
path: root/cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Enable cluster-safe assertions on transition to CATCHUPAlan Conway2010-12-012-4/+6
| | | | | | | | | Delaying until READY was causing multiple clientConnect management events to be raised, because broker::Connection::setUserId relies on sys::isCluster to avoid producing duplicate events with cluster::Connection::announce git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1041179 13f79535-47bb-0310-9956-ffa450edef68
* Add a unit_test fixture for the Brokers internal management agent.Kenneth Anthony Giusti2010-12-017-6/+408
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1041150 13f79535-47bb-0310-9956-ffa450edef68
* Bring QPID .NET Binding examples more in line with cpp examples.Charles E. Rolke2010-12-0112-33/+88
| | | | | | | | 1. Return 0/1 from main to indicate success/failure, where possible. 2. Call sender's session.Sync() after transmitting messages and not waiting for responses. 3. Add third arg connectionOptions as used in cpp examples. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1041141 13f79535-47bb-0310-9956-ffa450edef68
* Added new arg to Saslfactory::createMichael Goulish2010-12-011-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1041071 13f79535-47bb-0310-9956-ffa450edef68
* Ensure spout example waits for all messages to be sent before detaching sessionCharles E. Rolke2010-11-301-0/+1
| | | | | | see c++ spout fix r957513 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1040778 13f79535-47bb-0310-9956-ffa450edef68
* This patch was posted in JIRA QPID-2949.Michael Goulish2010-11-304-12/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It provides a way to tell SaslFactory that console interaction is NOT ok. i.e. if the code is running as part of a broker, or a demonized client of some kind. Just tell it to never do interaction, and any patch attempt to interact will be treated as an error. This script demonstrates that all goes well if you supply enough info : rm -rf /tmp/data_1 /tmp/data_2 mkdir /tmp/data_1 /tmp/data_2 # in window 1: ../qpidd -p 5672 --data-dir /tmp/data_1 --auth=yes --mgmt-enable=yes \ --log-enable info+ ./qpidd_1.log --log-source yes \ --sasl-config=/home/mick/trunk/qpid/cpp/src/tests/sasl_config # in window 2: ../qpidd -p 10000 --data-dir /tmp/data_2 --auth=yes --mgmt-enable=yes \ --log-enable info+ ./qpidd_1.log --log-source yes \ --sasl-config=/home/mick/trunk/qpid/cpp/src/tests/sasl_config # in window 3 ( from qpid dir ) ./tools/src/py/qpid-route dynamic add zig/zig@localhost zig/zig@localhost:10000 qmf.default.direct # and now view the created route ./tools/src/py/qpid-route route list localhost:5672 If you say auth=no, that works fine also. HOWEVER PLEASE NOTE -- if you say auth=yes, but then do not supply enough into to avoid the need for interaction, the attempted interaction will result in the connection being closed. Then the originating broker will re-try the connection, and you will get a two-broker infinite loop until you fix it. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1040689 13f79535-47bb-0310-9956-ffa450edef68
* 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
* QPID-2958 Qpid Cpp Messaging .NET Binding library should use Framework v2.0 ↵Charles E. Rolke2010-11-231-4/+1
| | | | | | and not v3.5 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1038352 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-2939 Qpid .NET Messaging Binding has stray references and using statements.Charles E. Rolke2010-11-232-10/+0
| | | | | | Fix same problems in sessionreceiver. These were missed in the last pass. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1038188 13f79535-47bb-0310-9956-ffa450edef68
* Update versions/names in the release note filesRobert Gemmell2010-11-221-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1037876 13f79535-47bb-0310-9956-ffa450edef68
* Revised release notes for 0.6Robert Gemmell2010-11-221-13/+3
| | | | | | | merged from 0.6-release branch r 904458 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1037875 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
* Pointer to qpid/cpp/examples/README.txt.Jonathan Robie2010-11-221-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1037743 13f79535-47bb-0310-9956-ffa450edef68
* Added pointers to current web site. Some editorial changes.Jonathan Robie2010-11-191-4/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1037058 13f79535-47bb-0310-9956-ffa450edef68
* Changed the name of the declared exchange from 'xml' to 'xml-exchange'.Jonathan Robie2010-11-191-3/+3
| | | | | | | Avoids an error that occurs if the broker also has a queue named 'xml'. Which happens fairly easily if you're testing XML messaging ... git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1036933 13f79535-47bb-0310-9956-ffa450edef68
* Added instructions for Messaging API examples.Jonathan Robie2010-11-191-0/+72
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1036931 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-2953 Qpid Cpp Messaging .NET Binding does not include unit tests.Charles E. Rolke2010-11-186-208/+742
| | | | | | | This checkin converts project test\messaging.test from an EXE to a DLL usable by NUnit. Tests for several managed objects are included in new files. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1036644 13f79535-47bb-0310-9956-ffa450edef68
* Removed tabs and typos.Jonathan Robie2010-11-181-9/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1036632 13f79535-47bb-0310-9956-ffa450edef68
* Modified text so people using the C++ distributions are not expected to have ↵Jonathan Robie2010-11-181-5/+15
| | | | | | autotools. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1036628 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
* QPID-2952 Qpid Cpp Messaging .NET Binding - Address constructor mishandles ↵Charles E. Rolke2010-11-181-1/+1
| | | | | | | | Name and Type fields Setting 'Type' actually set 'Name'. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1036558 13f79535-47bb-0310-9956-ffa450edef68
* Update readme: remove qmf-agent, add qmf-console descriptionKenneth Anthony Giusti2010-11-181-13/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1036512 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
* Added bootstrap to "Quick Start" instructions - now builds properly with ↵Jonathan Robie2010-11-171-4/+5
| | | | | | | | | either the full distribution, C++ only, or C++ client. bootstrap is superfluous for some distributions, but we need instructions that work everywhere. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1036253 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-176-18/+194
| | | | | | | | | | | | 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
* Add README.txt to distribution.Kenneth Anthony Giusti2010-11-171-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1036158 13f79535-47bb-0310-9956-ffa450edef68
* Add README.txt for qmf-console examplesKenneth Anthony Giusti2010-11-171-0/+39
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1036157 13f79535-47bb-0310-9956-ffa450edef68
* Add PREDEFINED items so that QPID_MESSAGING_EXTERN and QMF_EXTERN do not ↵Stephen D. Huston2010-11-162-2/+2
| | | | | | show up in generated class documentation. Resolves QPID-2948. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1035509 13f79535-47bb-0310-9956-ffa450edef68
* Fix double spacing introduced by previous commit.Alan Conway2010-11-151-155/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1035451 13f79535-47bb-0310-9956-ffa450edef68
* Fix inconsistent line terminators.Alan Conway2010-11-151-154/+308
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1035444 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
* Added a blank setAgentFilter (will make this a command option).Ted Ross2010-11-111-2/+8
| | | | | | | Added an indication for the connected broker agent in the list. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1034108 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-105-9/+102
| | | | | | | | | 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
* QPID-2939 Qpid .NET Messaging Binding has stray references and using statementsCharles E. Rolke2010-11-1031-327/+0
| | | | | | Clean them up. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1033679 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-0910-28/+69
| | | | | | handlers for authorization git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1033232 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2933 Messaging .NET binding has several assembly properties misnamedCharles E. Rolke2010-11-087-14/+14
| | | | | | Property files got cut and paste errors when projects were cloned. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1032720 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