summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/broker
Commit message (Collapse)AuthorAgeFilesLines
* This is a fix for QPID-2290 and the proper fix for QPID-2175Rajith Muditha Attapattu2009-12-182-3/+5
| | | | | | | If the client doesn't add a domain to the userID supplied in the message, the broker will add the default realm before performing the userID check. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@892123 13f79535-47bb-0310-9956-ffa450edef68
* Added methods to set the message redelivered flag upon recoveryKim van der Riet2009-12-162-0/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@891362 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2278: Encode alternate exchange information at the end of the buffer ↵Gordon Sim2009-12-161-4/+6
| | | | | | for backward compatibility with stores created from older versions git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@891195 13f79535-47bb-0310-9956-ffa450edef68
* Fix for QPID-2278 - "Store recovery compatibility problem introduced by ↵Kim van der Riet2009-12-151-2/+4
| | | | | | alternate-exchange fix" git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@890965 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1951: Removed need for Windows versions of ssize_t and pid_tAndrew Stitcher2009-12-151-4/+10
| | | | | | | | - Trivially removed Windows uses of ssize_t - Rearchitected how the Windows port finds an existing qpidd to stop it - Split Posix Lockfile functionality using pids into a new PidFile class git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@890929 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2089: Dequeue on acquire for accept mode NONEGordon Sim2009-12-152-2/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@890721 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2266: error sending update: Enqueue capacity threshold exceededAlan Conway2009-12-115-20/+11
| | | | | | | | | Fix for the problem with a test to verify that messages going to the store have the same headers and content-size for an updatee or a broker that receives the publish directly. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@889813 13f79535-47bb-0310-9956-ffa450edef68
* Support for restarting a persistent cluster.Alan Conway2009-11-242-14/+10
| | | | | | | | | | | Option --cluster-size=N: members wait for N members before recovering store. Stores marked as clean/dirty. Automatically recover from clean store on restart. Stores marked with UUID to detect errors. Not yet implemented: consistency checks, manual recovery from all dirty stores. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@883842 13f79535-47bb-0310-9956-ffa450edef68
* Revert "Added getStoreDir() to MessageStore"Alan Conway2009-11-205-8/+0
| | | | | | | | | | | This reverts revision 882218 which broke the Windows. It also assumes that a MessageStore has an associated directory, which is not the case for all stores. We need a portable way to associate extra state with a store. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@882623 13f79535-47bb-0310-9956-ffa450edef68
* In exchange-bound, set queue-not-found correctly even if exchange is not found.Gordon Sim2009-11-191-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@882322 13f79535-47bb-0310-9956-ffa450edef68
* Added getStoreDir() to MessageStoreAlan Conway2009-11-195-0/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@882218 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2188: Fixed typo in log messagesGordon Sim2009-11-182-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@881720 13f79535-47bb-0310-9956-ffa450edef68
* Changes to compile under SunCC 5.10Andrew Stitcher2009-11-181-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@881679 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2188 , support for maxConnections, limit is set to brokerCarl C. Trieloff2009-11-175-1/+40
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@881517 13f79535-47bb-0310-9956-ffa450edef68
* expose less internals and some term clean up thanks to gsim's commentsCarl C. Trieloff2009-11-161-6/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@880755 13f79535-47bb-0310-9956-ffa450edef68
* Add management subscription objectCarl C. Trieloff2009-11-132-4/+57
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@835962 13f79535-47bb-0310-9956-ffa450edef68
* Change from linear to binary search in requeueGordon Sim2009-11-131-5/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@835808 13f79535-47bb-0310-9956-ffa450edef68
* Add missing extern decls. Fixes broken Windows build.Stephen D. Huston2009-11-111-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@835109 13f79535-47bb-0310-9956-ffa450edef68
* Also remove liner search from seek() & add testsCarl C. Trieloff2009-11-101-6/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@834607 13f79535-47bb-0310-9956-ffa450edef68
* remove looping for position search and replace with stl algorithms for ↵Carl C. Trieloff2009-11-093-37/+63
| | | | | | better performance git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@834172 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1899: Applied patch from Ken Giusti to tie in SASL enctryption to the ↵Gordon Sim2009-11-097-19/+51
| | | | | | handling of the --require-encrypted option git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@834108 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2191: Fix browsing behaviour where messages may have been released out ↵Gordon Sim2009-11-091-1/+5
| | | | | | of order git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@834026 13f79535-47bb-0310-9956-ffa450edef68
* Changed default timeout for daemon to 10 min to allow for long store ↵Kim van der Riet2009-11-041-1/+1
| | | | | | recovery times. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@832762 13f79535-47bb-0310-9956-ffa450edef68
* Erasing an iterator invalidates the iterator; changed the code to not ↵Stephen D. Huston2009-11-031-2/+5
| | | | | | dereference an iterator that was just deleted. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@832233 13f79535-47bb-0310-9956-ffa450edef68
* In broker, change RecoverableExchange[Impl]::bind() strings to const; they ↵Stephen D. Huston2009-10-302-3/+7
| | | | | | | | | | are never changed, and are only passed on to other methods that expect const strings. Makes it easier to work with from store. In SQL store, fix the deletion of multiple bindings at once. Also, change the tblBinding table to store queue persistenceIds instead of names. Helps keep referential integrity with the queue table. Restoring bindings then just needs to look up the queue name from its ID before restoring each binding. Fixes QPID-2169, and probably QPID-2170. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@831476 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2181 - Alternate exchange on queue is not visible in management toolsTed Ross2009-10-301-0/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@831351 13f79535-47bb-0310-9956-ffa450edef68
* Fixed problem of queue alternate-exchange property not being persisted on ↵Kim van der Riet2009-10-293-5/+21
| | | | | | persistent queues, and on recovery this property is lost. No tests exist as yet for this. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@831082 13f79535-47bb-0310-9956-ffa450edef68
* Fix for QPID-2171 "No checks made for reserved exchange names "amq.*" and ↵Kim van der Riet2009-10-291-2/+2
| | | | | | "qpid.*". This checkin adds the qpid check, r.830751 added the amq check. Python tests also inlcuded which checks for these prefixes. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@830930 13f79535-47bb-0310-9956-ffa450edef68
* Fixed lack of checking for reserved exchange names that start with "amq." ↵Kim van der Riet2009-10-281-0/+3
| | | | | | according to the AMQP spec. Added a python test for this functionality. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@830751 13f79535-47bb-0310-9956-ffa450edef68
* Fixed problem where broker does not persist the alternate exchange setting ↵Kim van der Riet2009-10-285-4/+28
| | | | | | to the store for durable exchanges, and these settings were being lost upon recovery. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@830687 13f79535-47bb-0310-9956-ffa450edef68
* Added missing resetDequeueCompleteCallback calls to ~IncompleteMessageList.Alan Conway2009-10-271-1/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@830269 13f79535-47bb-0310-9956-ffa450edef68
* Move management-agent earlier in the init-sequence so it is destroyed after theTed Ross2009-10-222-2/+2
| | | | | | | message store is finalized. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@828716 13f79535-47bb-0310-9956-ffa450edef68
* Added immediate-publish for new connections and agents. This solves a race ↵Ted Ross2009-10-221-1/+1
| | | | | | | | | | | | condition where a QMF console may learn about an object before it learns about the agent that controls that object. Changed log category for QMF messages from debug to trace. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@828685 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1732 - When an exchange is deleted, the binding-count for bound queues ↵Ted Ross2009-10-225-9/+6
| | | | | | is not adjusted for deleted bindings. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@828674 13f79535-47bb-0310-9956-ffa450edef68
* Initial checkin of portable message store plugin and MS SQL-specific storage ↵Stephen D. Huston2009-10-212-11/+3
| | | | | | provider. Goes with QPID-2017 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@827870 13f79535-47bb-0310-9956-ffa450edef68
* Fixed memory leak on broker shutdown. Broker's management agent pointer is nowTed Ross2009-10-202-6/+6
| | | | | | | | | a std::auto_ptr rather than a raw pointer. The agent pointer was moved in front of the registries in initialization order to prevent references to deleted management objects when the registries are destroyed. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@827783 13f79535-47bb-0310-9956-ffa450edef68
* Carry over recent AsynchIO-level changes to Windows.Stephen D. Huston2009-10-201-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@827735 13f79535-47bb-0310-9956-ffa450edef68
* r817742 (the fix for QPID-2102) did not cover the case for 2pc transactions ↵Gordon Sim2009-10-184-5/+26
| | | | | | recovered in the prepared state; this fixes that case. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@826460 13f79535-47bb-0310-9956-ffa450edef68
* Pull running acceptor out of Broker run loopAndrew Stitcher2009-10-161-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@826033 13f79535-47bb-0310-9956-ffa450edef68
* Fix race condition in enqueue/dequeue callbacks.Alan Conway2009-10-092-14/+25
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@823669 13f79535-47bb-0310-9956-ffa450edef68
* Cluster shuts down broker via SignalHandler to fix memory errors on exit.Alan Conway2009-10-082-0/+5
| | | | | | | | The SignalHandler holds a global reference to the broker which needs to be reset otherwise there are problems when the broker by a global destructor. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@823258 13f79535-47bb-0310-9956-ffa450edef68
* Add missing extern decls.Stephen D. Huston2009-10-072-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@822964 13f79535-47bb-0310-9956-ffa450edef68
* Fixed: cluster udpate did not presever deliver-properties.exchange on messages.Alan Conway2009-10-054-11/+26
| | | | | | | | Also minor improvements: - Improved debug logging for consumers. - Cluster tests scripts work with latest corosync: don't check/set ais group. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@821830 13f79535-47bb-0310-9956-ffa450edef68
* Applied patches to resolve QPID-2076Stephen D. Huston2009-10-024-9/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@821066 13f79535-47bb-0310-9956-ffa450edef68
* This is related to QPID-2108Rajith Muditha Attapattu2009-09-291-2/+2
| | | | | | | | | I was initially setting the qpid.max_count and qpid.max_size as strings instead of ints as expected by the API. I also incorrectly fetched them as strings on the broker side. This commit fixes acl.py test script to use int values for the above properties and then fetches them appropriately from the broker side. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@820082 13f79535-47bb-0310-9956-ffa450edef68
* I have applied the patch attached to QPID-2108 from Tim Platten with a few ↵Rajith Muditha Attapattu2009-09-292-8/+21
| | | | | | | | | | | modifications. (Please refer to the JIRA for a description of these modifications) I also fixed the formatting and added more debug loggging for the publish acl lookup method in AclData.cpp I also added test cases to cover QPID-2108 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@819948 13f79535-47bb-0310-9956-ffa450edef68
* QMF Engine updates:Ted Ross2009-09-291-1/+1
| | | | | | | | | - Connected console handler callbacks - Added string representations for a number of object classes - Added a feature that completes query requests sent to disconnected agents git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@819819 13f79535-47bb-0310-9956-ffa450edef68
* Transient flow-to-disk messages switched to store from BDB. Only ↵Kim van der Riet2009-09-282-2/+6
| | | | | | single-queue transient messages are handled at this point, multi-queue bindings are blocked under all circumstances to prevent routing order dependencies from making the outcome inconsistent. BZ525813 - "Move Flow to disk from BDB to journal" git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@819600 13f79535-47bb-0310-9956-ffa450edef68
* r817742 (the fix for QPID-2102), introduced a deadlock and a race condition ↵Gordon Sim2009-09-282-26/+30
| | | | | | | | | into flow-to-disk behaviour, fixed by this checkin. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@819524 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2102: Changed QueuePolicy to rely on external locking and require ↵Gordon Sim2009-09-284-34/+18
| | | | | | | | | | dequeues to be handled by policy user rather. (r817742 introduced a deadlock in ring queue policy which this checkin fixes) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@819505 13f79535-47bb-0310-9956-ffa450edef68