summaryrefslogtreecommitdiff
path: root/cpp
Commit message (Collapse)AuthorAgeFilesLines
* QPID-1183: Use the right sizes to insert data inside the message payload ↵Gordon Sim2008-07-231-3/+3
| | | | | | where sizeof(size_t) != sizeof(uint32_t). Patch from Manuel Teira. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@679048 13f79535-47bb-0310-9956-ffa450edef68
* Fixes for transactional perftest (merge of r679038 from qpid.0-10)Gordon Sim2008-07-231-4/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@679045 13f79535-47bb-0310-9956-ffa450edef68
* Enable dequeue for prototype clusterAlan Conway2008-07-178-27/+54
| | | | | | | | | - qpid/broker/SemanticState.cpp: moved doOutput into write idle callback. - qpid/broker/Connection.cpp: make doOutput an intercept point. - qpid/cluster/*: intercept doOutput to serialize output in cluster thread. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@677486 13f79535-47bb-0310-9956-ffa450edef68
* Cluster: shadow connections, fix lifecycle & valgrind issues.Alan Conway2008-07-1729-441/+538
| | | | | | | | | - tests/ForkedBroker: improved broker forking, exec full qpidd. - Plugin::addFinalizer - more flexible way to shutdown plugins. - Reworked cluster extension points using boost::function. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@677471 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1170 - Removed spurious include from exampleTed Ross2008-07-161-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@677412 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1170 - Provide a better factory for creation and deletion of the ↵Ted Ross2008-07-1616-85/+134
| | | | | | management agent git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@677408 13f79535-47bb-0310-9956-ffa450edef68
* Fix "ignoring return value" warning from LockFile.h.Alan Conway2008-07-151-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@676963 13f79535-47bb-0310-9956-ffa450edef68
* Switched from shared_ptr to intrusive_ptr and RefCounted for Broker.Alan Conway2008-07-159-22/+24
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@676932 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1174 Remote Management Agent for management of external componentsTed Ross2008-07-1111-69/+1017
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@676067 13f79535-47bb-0310-9956-ffa450edef68
* Move shutdown of management broker to end of shutdown sequenceTed Ross2008-07-101-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@675674 13f79535-47bb-0310-9956-ffa450edef68
* Honour timeout in BlockingQueue::pop(); added test for ↵Gordon Sim2008-07-102-1/+2
| | | | | | | | | SubscriptionManager::get() where no message exists. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@675477 13f79535-47bb-0310-9956-ffa450edef68
* Some small changes which clean up header file inclusionsAndrew Stitcher2008-07-0910-38/+57
| | | | | | | | and generally start to tidy up the network layer so that it's a bit easier to implement new network transports git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@675338 13f79535-47bb-0310-9956-ffa450edef68
* Allow for pluggable exchange types.Gordon Sim2008-07-092-6/+28
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@675252 13f79535-47bb-0310-9956-ffa450edef68
* Removed dead code.Alan Conway2008-07-092-15/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@675155 13f79535-47bb-0310-9956-ffa450edef68
* Fix signed/unsigned compare errorAlan Conway2008-07-091-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@675146 13f79535-47bb-0310-9956-ffa450edef68
* Fix for older boost versionsAlan Conway2008-07-091-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@675144 13f79535-47bb-0310-9956-ffa450edef68
* HandlerChain: plug-in handler chain extension points. Replaces ↵Alan Conway2008-07-0820-224/+208
| | | | | | | | | Handler<T>::Chain. Updated Sessoin & Connection handler chains and Cluster. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@675017 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1170 - Remove boost dependency from management agent interfaceTed Ross2008-07-0838-282/+353
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@674994 13f79535-47bb-0310-9956-ffa450edef68
* Remove unused Serializer code.Alan Conway2008-07-086-462/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@674955 13f79535-47bb-0310-9956-ffa450edef68
* Fix packaging error.Alan Conway2008-07-081-2/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@674945 13f79535-47bb-0310-9956-ffa450edef68
* Revert un-necessary Plugin complications. Better solution for plugin ↵Alan Conway2008-07-089-173/+116
| | | | | | extension points coming up... git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@674915 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1148 - from Manuel TieraAlan Conway2008-07-088-88/+128
| | | | | | | | | | | | | | | | Lock file abstraction in sys/ with implementation portable to Linux and Solaris. Changes by myself: - Makefile.am - must be updated for any new/renamed/removed source files. - Exception.h, Daemon.h, LockFile.h: Replaced throwIf() with if (...) throw ErrnoException(...) The idiom throwIf(call-system-function(), "msg", errno) is incorret (my fault, not Manuels). It assumes the first argument that makes a system call call will be evaluated before the last one which fetches errno. This may not be true on some compilers/platforms. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@674865 13f79535-47bb-0310-9956-ffa450edef68
* Removed static Cpg::handlers, fixed ForkedBroker shutdown.Alan Conway2008-07-085-59/+53
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@674855 13f79535-47bb-0310-9956-ffa450edef68
* * release message lock when notifying queue listenersGordon Sim2008-07-082-29/+53
| | | | | | | | | * take copy of listeners * remove unused functionality git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@674848 13f79535-47bb-0310-9956-ffa450edef68
* Fix leak in XmlClientSessionTests - was leaking a Session.Alan Conway2008-07-081-6/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@674825 13f79535-47bb-0310-9956-ffa450edef68
* ForkedBroker: child process exits on completion.Alan Conway2008-07-071-1/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@674587 13f79535-47bb-0310-9956-ffa450edef68
* Restore use of SignalHandler in qpidd.cpp, fixed errors in previous commit.Alan Conway2008-07-072-24/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@674504 13f79535-47bb-0310-9956-ffa450edef68
* configure.ac: check for cpg_local_get to exclude older CPG versions.Alan Conway2008-07-071-5/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@674493 13f79535-47bb-0310-9956-ffa450edef68
* Temporarily reverting changes to signal handling; as checked in by r674107 ↵Gordon Sim2008-07-071-2/+18
| | | | | | it prevents the broker being shutdown. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@674482 13f79535-47bb-0310-9956-ffa450edef68
* Disabled cluster_test temporarily, it leaks processes.Alan Conway2008-07-041-2/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@674124 13f79535-47bb-0310-9956-ffa450edef68
* Remove debugging cout accidentally left in.Alan Conway2008-07-041-2/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@674113 13f79535-47bb-0310-9956-ffa450edef68
* Cluster prototype: handles client-initiated commands (not dequeues)Alan Conway2008-07-0437-218/+835
| | | | | | | | | | | | | | | | Details - Cluster.cpp: serializes all frames thru cluster (see below) - broker/ConnectionManager: Added handler chain in front of Connection::received. - sys::Fork and ForkWithMessage - abstractions for forking with posix impl. - tests/ForkedBroker.h: test utility to fork a broker process. - broker/SignalHandler: Encapsulated signal handling from qpidd.cpp - Various minor logging & error message improvements to aid debugging. NB: current impl will not scale. It is functional working starting point so we can start testing & profiling to find the right optimizations. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@674107 13f79535-47bb-0310-9956-ffa450edef68
* Allow default values for packed structs to be overridden (currently used for ↵Gordon Sim2008-07-041-1/+1
| | | | | | message.transfer.accept-mode) git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@674040 13f79535-47bb-0310-9956-ffa450edef68
* Only override default value for accept-mode field in message.transfer (not ↵Gordon Sim2008-07-041-2/+2
| | | | | | message.subscribe) git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@674003 13f79535-47bb-0310-9956-ffa450edef68
* rubygen: Change default for client API accept-mode parameters to 1.Alan Conway2008-07-032-2/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@673725 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1160 - Use array-style delete for allocated arrayTed Ross2008-07-031-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@673718 13f79535-47bb-0310-9956-ffa450edef68
* Improved text and rasied severity of log entry when client sessions are ↵Gordon Sim2008-07-021-1/+1
| | | | | | deleted without first being closed. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@673359 13f79535-47bb-0310-9956-ffa450edef68
* Added timeout to SubscriptionManager::get(), LocalQueue::get() and ↵Alan Conway2008-07-019-317/+118
| | | | | | BlockingQueue::get() git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@673158 13f79535-47bb-0310-9956-ffa450edef68
* Added extra option (fixed time limit in rate mode) to latency test. Patch ↵Gordon Sim2008-07-011-10/+27
| | | | | | from acme@redhat.com. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@673031 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1160 - Per-thread counters in management API to avoid lockingTed Ross2008-06-3019-156/+372
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@672864 13f79535-47bb-0310-9956-ffa450edef68
* Fix exit status when VALIGRIND=Alan Conway2008-06-271-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@672269 13f79535-47bb-0310-9956-ffa450edef68
* Plugin framework change: single PluginFactory creates per-target Plugin ↵Alan Conway2008-06-2611-165/+187
| | | | | | instances. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@672032 13f79535-47bb-0310-9956-ffa450edef68
* Consolidated cluster tests in cluster_test.cppAlan Conway2008-06-2612-301/+272
| | | | | | | Improvements to BrokerFixture for testing. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@671969 13f79535-47bb-0310-9956-ffa450edef68
* Use run_test to run valgrind for start_broker consistently with other tests.Alan Conway2008-06-263-15/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@671916 13f79535-47bb-0310-9956-ffa450edef68
* From Matt Farrellee - https://issues.apache.org/jira/browse/QPID-1151Alan Conway2008-06-262-2/+16
| | | | | | | Remove un-necessary link dependencies from client and common libraries. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@671902 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1137: don't treat connection as opened if the open never succeedsGordon Sim2008-06-263-3/+26
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@671877 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1147: Avoid usage of 'source' builtin in pure sh scriptsGordon Sim2008-06-261-1/+1
| | | | | | | | Patch from Manuel Teira that replaces "source" builtin with a dot inclusion on run_test script git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@671824 13f79535-47bb-0310-9956-ffa450edef68
* Additions to the client API:Alan Conway2008-06-2511-38/+227
| | | | | | | | - SubscriptionManager::get(queue) to get a single message from a queue. - Set FlowControl per-subscription. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@671655 13f79535-47bb-0310-9956-ffa450edef68
* - use flock to lock data dir rather than a lock file.Alan Conway2008-06-257-64/+78
| | | | | | | - removed troublesome global constructor in Mutex initialization. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@671604 13f79535-47bb-0310-9956-ffa450edef68
* * remove generated Makefile from svnGordon Sim2008-06-252-551/+3
| | | | | | | | * add back check for exclsuions where xml exchange support is not available git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@671491 13f79535-47bb-0310-9956-ffa450edef68