summaryrefslogtreecommitdiff
path: root/cpp/src/qpid
Commit message (Collapse)AuthorAgeFilesLines
* Added AbsTime::epoch()) constant to Time.h to provide a portable reference ↵Alan Conway2010-04-072-0/+6
| | | | | | time point. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@931656 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: removed flush, added option to make sync non-blocking if so desiredGordon Sim2010-04-076-34/+24
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@931651 13f79535-47bb-0310-9956-ffa450edef68
* Be sure not to back off the beginning of rules in loadDecisionData(). ↵Stephen D. Huston2010-04-061-130/+139
| | | | | | | | Resolves QPID-2474. Also replaced tabs with spaces. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@931345 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: added method to release messagesGordon Sim2010-04-064-0/+24
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@931275 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2482: prevent duplication of messages that match multiple binding keys ↵Kenneth Anthony Giusti2010-04-061-2/+9
| | | | | | on a topic exchange git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@931257 13f79535-47bb-0310-9956-ffa450edef68
* verify broker UUID read from config fileKenneth Anthony Giusti2010-04-061-1/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@931182 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: added param to control synchronous send and acknowledgeGordon Sim2010-04-068-8/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@931170 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: minor adjustment to connection option namesGordon Sim2010-04-011-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@930061 13f79535-47bb-0310-9956-ffa450edef68
* Update cluster store status with a single atomic write() operation.Alan Conway2010-04-014-80/+82
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@930055 13f79535-47bb-0310-9956-ffa450edef68
* Merged the changes from the qmf-devel0.7a branch back to the trunk.Ted Ross2010-03-3115-509/+1948
| | | | | | | | | | | | | | | | | This is a checkpoint along the QMFv2 development path. This update introduces portions of QMFv2 into the code: - The C++ agent (qpid/agent) uses QMFv2 for data and method transfer o The APIs no longer use qpid::framing::* o Consequently, boost is no longer referenced from the API headers. o Agents and Objects are now referenced by strings, not numbers. o Schema transfer still uses the QMFv1 format. - The broker-resident agent can use QMFv1 or QMFv2 based on the command line options. It defaults to QMFv1 for compatibility. - The pure-python QMF console (qmf.console) can concurrently interact with both QMFv1 and QMFv2 agents. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@929716 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2477: cleanup from patch by Jan SarenikGordon Sim2010-03-311-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@929617 13f79535-47bb-0310-9956-ffa450edef68
* Cluster: remove un-necessary code for config-seq.Alan Conway2010-03-317-43/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@929616 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: made changes suggested by Alan Conway, also moved 0-10 map/list ↵Gordon Sim2010-03-3118-457/+116
| | | | | | codecs to common lib git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@929606 13f79535-47bb-0310-9956-ffa450edef68
* Joining a cluster: don't push an empty store.Alan Conway2010-03-301-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@929278 13f79535-47bb-0310-9956-ffa450edef68
* Fixed bug that caused a busy-wait if an item was pushed to a stopped queue.Alan Conway2010-03-301-1/+1
| | | | | | | | Was causing cluster brokers to consume a lot of CPU when new brokers joined the group. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@929277 13f79535-47bb-0310-9956-ffa450edef68
* Fix hanging failover_soak test.Alan Conway2010-03-302-4/+3
| | | | | | | | | Explictly turn off PollableQueue bypass mode during initialize. Implicitly turning it off in PollableQueue::start() led to incorrectly turning off bypass in a PRE_INIT client when an offer was processed. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@929276 13f79535-47bb-0310-9956-ffa450edef68
* Cluster logging improvements: log config changes in the deliver thread.Alan Conway2010-03-304-38/+50
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@929274 13f79535-47bb-0310-9956-ffa450edef68
* Remove dead PeriodicTimer code.Alan Conway2010-03-307-416/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@929273 13f79535-47bb-0310-9956-ffa450edef68
* Rename Duration::INFINITE to Duration::FOREVER; resolves QPID-2475.Stephen D. Huston2010-03-301-1/+1
| | | | | | Added missing QPID_CLIENT_EXTERN where needed in Duration class to build on Windows. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@929240 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: renamed headers as properties (to match python); added priorityGordon Sim2010-03-296-9/+20
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@928878 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2406: a more explicit solution for durations in the messaging apiGordon Sim2010-03-296-7/+55
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@928855 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: move Variant and Uuid from messaging to types namespaceGordon Sim2010-03-2925-45/+64
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@928814 13f79535-47bb-0310-9956-ffa450edef68
* Raise ClusterTimer lateness threshold to reduce noisy warnings.Alan Conway2010-03-292-1/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@928779 13f79535-47bb-0310-9956-ffa450edef68
* Move ManagementAgent class statics to be file static to avoid exposing their ↵Andrew Stitcher2010-03-261-4/+7
| | | | | | types in the header file git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@928054 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2454 Messages set with a TTL expire immediately when sent on qpid ↵Carl C. Trieloff2010-03-261-0/+1
| | | | | | queues with LVQ ordering git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@928003 13f79535-47bb-0310-9956-ffa450edef68
* Fix "Ignoring frame while closing connection" warnings in a cluster broker ↵Alan Conway2010-03-251-1/+4
| | | | | | giving an update. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@927385 13f79535-47bb-0310-9956-ffa450edef68
* Fix "Session was not closed cleanly" warnings in a cluster broker giving an ↵Alan Conway2010-03-251-4/+4
| | | | | | update. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@927384 13f79535-47bb-0310-9956-ffa450edef68
* More generous overrun threshold for cluster timer to avoid excessive warnings.Alan Conway2010-03-253-16/+26
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@927383 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: Updates to address options to stay in-line with python client ↵Gordon Sim2010-03-242-273/+320
| | | | | | changes in r926604 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@927144 13f79535-47bb-0310-9956-ffa450edef68
* Defer Poller creation in ConnectionImpl IOThread from creation to first use.Alan Conway2010-03-231-3/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@926650 13f79535-47bb-0310-9956-ffa450edef68
* Make sure the client library Poller is created on library load before ↵Andrew Stitcher2010-03-221-0/+9
| | | | | | | | | anything in the client program can be run. This ensures that it will be destroyed after anything in the client program is destroyed git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@925949 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: Prevent dangling pointers when receiver/sender handles stay in ↵Gordon Sim2010-03-196-27/+30
| | | | | | scope after connection/session handles goes out of scope. This change require connections to be closed explicitly to avoid leaking memory. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@925332 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2452: Fixed control over the encoding used when sending a string valued ↵Gordon Sim2010-03-183-6/+47
| | | | | | variant. The user is currently responsible for correctly setting any encoding (e.g. utf8). If none is specified it will be transfered as an amqp0-10 vbin. Fixed bug preventing correct assignment of encoding in variants. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@924939 13f79535-47bb-0310-9956-ffa450edef68
* Remove un-necessary Version.h.cmakeAlan Conway2010-03-171-44/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@924428 13f79535-47bb-0310-9956-ffa450edef68
* Updated cmake build to pick up version from QPID_VERSION.txt.Alan Conway2010-03-171-0/+44
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@924425 13f79535-47bb-0310-9956-ffa450edef68
* Fixed previous broken change which attempted to get version at configuration ↵Andrew Stitcher2010-03-171-6/+2
| | | | | | time. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@924418 13f79535-47bb-0310-9956-ffa450edef68
* C++ automake build picks up version number from qpid/QPID_VERSION.txt.Alan Conway2010-03-171-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@924359 13f79535-47bb-0310-9956-ffa450edef68
* workaround for BZ 570168 ( see comment in code )Michael Goulish2010-03-171-1/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@924169 13f79535-47bb-0310-9956-ffa450edef68
* Removed dependencies in qpid/messaging on qpid/client.Alan Conway2010-03-1611-53/+110
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@923908 13f79535-47bb-0310-9956-ffa450edef68
* Remove warningAndrew Stitcher2010-03-161-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@923845 13f79535-47bb-0310-9956-ffa450edef68
* QPID 24448: throw if no channels available when adding a session.Alan Conway2010-03-151-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@923415 13f79535-47bb-0310-9956-ffa450edef68
* Work-around for race condition in the IO layer.Alan Conway2010-03-151-0/+6
| | | | | | | | | | | | Added a 100ms sleep in UpdateClient between calling Connection::close() and destroying the Connection object. This appears to work around the race condition described in https://bugzilla.redhat.com/show_bug.cgi?id=568831. which was causing brokers to seg fault sporadically at the end of giving an update. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@923414 13f79535-47bb-0310-9956-ffa450edef68
* New cluster member pushes store when joining an active cluster.Alan Conway2010-03-129-64/+179
| | | | | | | | | | | | | | | | | | | Previously a broker with a clean store would not be able to join an active cluster because the shtudown-id did not match. This commit ensures that when a broker joins an active cluster, it always pushes its store regardless of status. Clean/dirty status is only compared when forming an initial cluster. This change required splitting initialization into two phases: PRE_INIT: occurs in the Cluster ctor during early-initialize. This phase determines whether or not to push the store. INIT: occurs after Cluster::initialize and does the remaining initialization chores. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@922412 13f79535-47bb-0310-9956-ffa450edef68
* Fix for deadlock beween journal timer & connection threads.Alan Conway2010-03-123-6/+29
| | | | | | | See https://bugzilla.redhat.com/show_bug.cgi?id=570154. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@922411 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2382: Checked in missing files from last commitGordon Sim2010-03-123-0/+205
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@922175 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2382: Created separate utility class for handling updates from failover ↵Gordon Sim2010-03-116-91/+120
| | | | | | exchange; cleaned up reconnection options git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@921971 13f79535-47bb-0310-9956-ffa450edef68
* Changed name of XQilla EBV define to XQ_EXTENDED_BOOLEAN_VALUE_HPP.Jonathan Robie2010-03-081-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@920545 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2436: Fix cluster update of remote agents.Alan Conway2010-03-084-19/+36
| | | | | | | | | The v2key of cluster agents was not being passed as part of a cluster update. This meant they were not being associated with the correct shadow connections on the updatee. This caused inconsistencies that shut down the new broker. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@920414 13f79535-47bb-0310-9956-ffa450edef68
* Fixed #ifndef for XQilla 2.1.3Jonathan Robie2010-03-081-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@920304 13f79535-47bb-0310-9956-ffa450edef68
* Added hooks in the broker for QMFv2 management of the broker.Ted Ross2010-03-089-100/+256
| | | | | | | | | Now both DirectExchange and TopicExchange have been subclassed so messages can be redirected to the embedded management agent (in QMFv1, only the topic exchange was subclassed this way). git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@920189 13f79535-47bb-0310-9956-ffa450edef68