summaryrefslogtreecommitdiff
path: root/cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* compatibility with newer (1.46) boost version by explicitly defining which ↵Nuno Santos2011-02-141-0/+2
| | | | | | version of boost_filesystem to use git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1070525 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3053: Enable broadcast via QMFv2 by default; add option to allow ↵Gordon Sim2011-02-142-3/+6
| | | | | | broadcast over QMFv1 to be independently controlled. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1070491 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3040: Prevent race between receipt and release of messages causing ↵Gordon Sim2011-02-141-1/+1
| | | | | | intermittent test failures. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1070481 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3046 - Bug fixed in handling of deleted agents (ConsoleSession).Ted Ross2011-02-141-1/+1
| | | | | | | Bug found by Steve Loranz. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1070478 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3049 - qpid-send --durable does not send durable messages.Alan Conway2011-02-111-6/+13
| | | | | | | The qpid-send test client with argument --durable only sends the first message as durable. Subsequent messages are not durable. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1069916 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3046 - Refactored so that Connection::getAuthenticatedUsername is ↵Ted Ross2011-02-113-8/+10
| | | | | | | | | consulted each time a sent message is annotated with the user-id. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1069673 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3046 - Added an example in C++ for receiving eventsTed Ross2011-02-112-1/+67
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1069672 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3046Ted Ross2011-02-114-27/+66
| | | | | | | | Added missing wrapper functions for AgentSession::raiseEvent in Ruby and Python Added a raised event in the Python agent example git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1069654 13f79535-47bb-0310-9956-ffa450edef68
* Add some generated files to .gitignore.Alan Conway2011-02-101-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1069553 13f79535-47bb-0310-9956-ffa450edef68
* QPID-529: Added missing includeGordon Sim2011-02-101-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1069398 13f79535-47bb-0310-9956-ffa450edef68
* QPID-529: Fixed errors generated by different compiler versionsGordon Sim2011-02-101-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1069349 13f79535-47bb-0310-9956-ffa450edef68
* QPID-529: Priority queue implementationGordon Sim2011-02-1025-259/+1429
| | | | | | | | | | QPID-2104: LVQ enhancement These both required some refactoring of the Queue class to allow cleaner implementation of different types of behaviour. The in-memory storage of messages is now abstracted out behind an interface specified by qpid::broker::Messages which qpid::broker::Queue uses. Different implementations of that are available for the standard FIFO queue, priority queues and LVQ (I have also separated out the 'legacy' implementation of LVQ from the new version driven by QPID-2104). git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1069322 13f79535-47bb-0310-9956-ffa450edef68
* Remove out-dated comment.Alan Conway2011-02-091-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1069102 13f79535-47bb-0310-9956-ffa450edef68
* comments for building ruby bindingCarl C. Trieloff2011-02-091-0/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1069052 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3040: The C++ messaging client library now releases pending messages ↵Jonathan Robie2011-02-094-46/+84
| | | | | | | | when a Receiver is closed. This only releases messages in the client's cache that have not been read. It does not release messages that have been read by the client application, but not acknowledged. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1069030 13f79535-47bb-0310-9956-ffa450edef68
* Added design note comment to qpid/cpp/src/qpid/cluster/ClusterTimer.cppAlan Conway2011-02-091-1/+20
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1069029 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3041 Make dist process does not package the .NET Binding sourceCharles E. Rolke2011-02-094-3/+135
| | | | | | | | | | | | | | | | | | cpp/configure.ac: add tar-ustar to automake init options (name length > 99 fix) create a makefile in bindings/qpid/dotnet cpp/src/Makefile.am add various windows-specific source files that have crept in cpp/binding/qpid/Makefile.am add the dotnet directory to subdirs list cpp/bindings/qpid/dotnet/Makefile.am EXTRA_DIST list of all the dotnet binding files Requires a ./bootstrap and ./configure to take effect. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1068944 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3046 - Improved detail in trace log messages.Ted Ross2011-02-093-16/+17
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1068719 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3045 - sporadic failure of cluster_tests.ShortTests.test_route_updateAlan Conway2011-02-084-11/+26
| | | | | | | | | | | Sporadically the test was failing because the session associated with an inter-broker bridge was created out of order with other objects. This is unlikely to cause a fatal cluster inconsistency in practice but it has been corrected in any case. The fix was to delay creation of the management object for a bridge session till a point which is consistent on all cluster members. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1068554 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3045: Disable failing test cluster_tests.ShortTests.test_route_update ↵Alan Conway2011-02-081-1/+1
| | | | | | until issue is fixed. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1068463 13f79535-47bb-0310-9956-ffa450edef68
* Reverts r1068042.Jonathan Robie2011-02-082-105/+61
| | | | | | We will fix this bug in the C++ client messaging library rather than the broker. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1068417 13f79535-47bb-0310-9956-ffa450edef68
* Ensures that messages acquired, but not acked, are released before a queue ↵Jonathan Robie2011-02-072-61/+105
| | | | | | | | | | | is deleted. Otherwise, these messages are not routed to an alternate exchange, and the queue is not actually deleted. Resolves QPID-3040 / Red Hat BZ 674678. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1068042 13f79535-47bb-0310-9956-ffa450edef68
* Added missing even handling in the console.Ted Ross2011-02-048-2/+59
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1067111 13f79535-47bb-0310-9956-ffa450edef68
* Merged missing functionality from the QMFv1 Ruby and Python interfaces to ↵Ted Ross2011-02-046-25/+744
| | | | | | the QMFv2 interfaces: git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1067095 13f79535-47bb-0310-9956-ffa450edef68
* Fixed typos in the documentation text.Ted Ross2011-02-045-6/+15
| | | | | | | | Fixed bug in the propagation of exceptions in query-processing. Added user-id to messages sent by the console. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1067087 13f79535-47bb-0310-9956-ffa450edef68
* Prevent spurious "schema-updated" notifications when an agent restarts.Ted Ross2011-02-041-5/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1067067 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3035: fix incorrect removal at end of SequenceSetKenneth Anthony Giusti2011-02-032-2/+46
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1066841 13f79535-47bb-0310-9956-ffa450edef68
* Added severity and timestamp fields to raised events.Ted Ross2011-02-033-36/+98
| | | | | | | Enhanced the example agent to illustrate the raising of events. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1066726 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3033 Bug 674183 - Segmentation fault while processing session.attachAlan Conway2011-02-021-1/+4
| | | | | | | | | If a faulty client sent invalid frames to a connection that was not yet in the open state, the broker would core dump. The fix is to close the connection with a 'framing-error' in this case. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1066661 13f79535-47bb-0310-9956-ffa450edef68
* Do one long run in cluster_tests.py test_management.Alan Conway2011-02-021-14/+16
| | | | | | Instead of all short runs, use duration/4 for the first runs, then use 5 secs for remaining runs to get plenty of broker kills. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1066599 13f79535-47bb-0310-9956-ffa450edef68
* Fix missing QPID_COMMON_EXTERN in sys/Socket.h, causing windows build failure.Alan Conway2011-02-021-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1066581 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3032 - Modifications to the QMFv2 implementation:Ted Ross2011-02-028-19/+90
| | | | | | | | | 1) Use the topic exchange as the base for direct and reply-to addresses. 2) Add a strict-security option to the Console and Agent APIs that narrows the messaging patterns used such that they can easily be controlled by broker ACL policy. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1066562 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3032 - Bug-fix: The broker management agent and the remote C++ agent ↵Ted Ross2011-02-024-105/+146
| | | | | | | | | | | | | hard-coded the assumed value of the "exchange" component of reply-to headers to either "amq.direct" or "qmf.default.direct", depending on the circumstance. This commit fixes this such that message replies are sent to the exchange/key pair supplied in the reply-to header. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1066557 13f79535-47bb-0310-9956-ffa450edef68
* Resolves QPID-3031. Allows client connection options to specify an SSL ↵Jonathan Robie2011-02-028-55/+114
| | | | | | cert-name. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1066508 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3007: Unique management identifier for connections.Alan Conway2011-02-018-12/+32
| | | | | | | | | | | | | | | Management was using remote socket address (host:port) to identify connections, but this is not a unique identifier. Both the local and remote addresses are needed to uniquely identify a connection - see http://www.faqs.org/rfcs/rfc793.html. This was causing management errors (multiple objects using same identifier) and cluster failures (invalid-arg exception) due to inconsistencies caused by the incorrect management map. This commit uses "localhost:localport-remotehost:remoteport" as a unique identifier. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1066220 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3007: Ignore expected connection close warning in cluster_test_logs.pyAlan Conway2011-02-011-40/+36
| | | | | | Also moved regex compilation out of the loop to be more efficient. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1066219 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3007: Don't hold on to consumer shared-pointers in ↵Alan Conway2011-02-012-5/+4
| | | | | | | | | | | | UpdateClient::consumerNumbering Holding shared pointers in UpdateClient::consumerNumbering can hold consumers in memory and delete them out of sync with other cluster members. Made it hold plain pointers instead since we don't actually need to ensure object liveness, we're just doing an address/number correspondence. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1066217 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3007: Don't record management statistics in cluster-unsafe contexts.Alan Conway2011-02-011-2/+4
| | | | | | | | | | A few frames are sent in cluster-unsafe contexts, e.g. heartbeat timer callbacks and during initial connection negotiation. Don't update the connection's management counters in these contexts to avoid inconsistent management data in a cluster. There are very few such frames so this does not unduly distort the management data. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1066215 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3030: prevent buffer overflow when writing sequences of bytes.Kenneth Anthony Giusti2011-02-011-0/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1066097 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3009: added perl typemap to distribution listGordon Sim2011-02-011-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1065961 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3009 - Minor cleanupTed Ross2011-02-011-2/+1
| | | | | | | The check for "h2xs" (which was there just to detect perl-devel) is no longer needed and was removed. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1065887 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3009: Improved configure support for perl bindings based on suggestion ↵Gordon Sim2011-01-311-5/+7
| | | | | | by Jose Pedro Oliveira git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1065832 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3009 - Fixed configuration problem found by gsim.Ted Ross2011-01-282-4/+4
| | | | | | | | There's certainly a better way to find the include path for the perl-devel headers but this will prevent builds from being broken. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1064811 13f79535-47bb-0310-9956-ffa450edef68
* Fix for RHBZ656385: "Data store can become corrupt with small store file ↵Kim van der Riet2011-01-281-1/+2
| | | | | | size and large wcache-page-size". The second issue from comments 13-16 in which the queue remains after the store throws the exception is solved. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1064711 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3009 - Perl binding to Qpid messagingTed Ross2011-01-2714-1/+1040
| | | | | | | Applied patch contributed by Hao Chang Yu git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1064199 13f79535-47bb-0310-9956-ffa450edef68
* Change order of Py<type>_check calls in typemap.Ted Ross2011-01-261-2/+2
| | | | | | | | It turns out that PyInt_Check returns 'True' for booleans. The order of the checks is now from most specific to least. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1063862 13f79535-47bb-0310-9956-ffa450edef68
* Move brokertest.py from qpid/python to qpid/cpp.Alan Conway2011-01-215-4/+704
| | | | | | | | | | brokertest.py is a framework for tests using the C++ broker, so it belongs in the cpp tree rather than the python tree. It is installed to libexec/qpid/tests/ so it can be used from an installation of qpid cpp. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1061933 13f79535-47bb-0310-9956-ffa450edef68
* Moved ResizableBuffer.h from include to src. Not part of the public API.Alan Conway2011-01-211-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1061932 13f79535-47bb-0310-9956-ffa450edef68
* Bug 654872, QPID-3007: Batch management messages by count, not size.Alan Conway2011-01-206-18/+95
| | | | | | | | | | | | QMF V1 management messages were being batched by accumulating up to a certain total size of data. Since management messages may have different sizes on brokers in a cluster, this was leading to inconsistencies. This patch batches V1 messages by count rather than by size, similar to V2 messages. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1061308 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3007 Disabled cluster log verification tests, causing sporadic failures.Alan Conway2011-01-192-2/+5
| | | | | | The tests will be re-enabled when QPID-3007 is fixed. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1060879 13f79535-47bb-0310-9956-ffa450edef68