summaryrefslogtreecommitdiff
path: root/qpid
Commit message (Collapse)AuthorAgeFilesLines
* FileUtils : Was not correctly handling the case where a File object became ↵Martin Ritchie2009-03-061-7/+8
| | | | | | null, it would previously have thrown a NPE which was erroneously caught this and declared the delete to have failed. If there is nothing to delete (signified by the Null File object) then the delete should pass. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@750946 13f79535-47bb-0310-9956-ffa450edef68
* codec and unicode tests and fixesRafael H. Schloming2009-03-064-22/+56
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@750934 13f79535-47bb-0310-9956-ffa450edef68
* Moved a variable inside an assertion to avoid unused variable error when the ↵Jonathan Robie2009-03-061-2/+1
| | | | | | assertion is undefined. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@750930 13f79535-47bb-0310-9956-ffa450edef68
* AclPlugin: Use --acl-file unmodified if --no-data-dir.Alan Conway2009-03-062-10/+5
| | | | | | | SessionId: print as userid.sessionid rather than sessionid@userid. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@750913 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1719: Ensure management object id remain in sync across cluster.Gordon Sim2009-03-063-7/+37
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@750910 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1634 : FileQueueBackingStore had two issues. Delete wasn't using the ↵Martin Ritchie2009-03-061-7/+9
| | | | | | getFileHandle() method so it was attempting to delete a bin rather than the message data. Our Broker Unit tests don't create the right type of ByteBuffer so whilst they passed the buffer.getData().array() failed as array() is not supported in the ByteBuffer types we actually use at runtime. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@750876 13f79535-47bb-0310-9956-ffa450edef68
* QPID-949, QPID-1633 : Set default Maximum Memory Usage for a queue to ↵Martin Ritchie2009-03-064-14/+100
| | | | | | | | 100Meg. Future work would be to have the broker split Xmx between VirtualHost and for the Vhost then to use its housekeeping thread to spread the memory between the current queues. It could of course be clever and give more memory to queues in high use. Mistype in AMQQueueFactory resulted in it setting the Max Queue Size alert rather than the Max Memory value git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@750875 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1635 : Feed back from review, ensure that getMessage() never returns ↵Martin Ritchie2009-03-062-15/+10
| | | | | | null. Used setDeliveredToConsumers() on QEI to know when it is safe to unload message so SAMQQueue does not need to have anything to do with message un/loading. So the FtD work is fully encapuslated by the QEI which delegates memory accounting to its list. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@750874 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1628 : Ensured all getSize() calls are done on the QueueEntry to ↵Martin Ritchie2009-03-069-25/+26
| | | | | | prevent the inadvertent loading of a flowed message with a call to getMessage() git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@750873 13f79535-47bb-0310-9956-ffa450edef68
* Style ChangesMartin Ritchie2009-03-062-69/+61
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@750871 13f79535-47bb-0310-9956-ffa450edef68
* QPID-949 : Extend the basic QueueBrowser_Test to run on a queue that has ↵Martin Ritchie2009-03-061-0/+69
| | | | | | been flowed to disk git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@750869 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1451 : Added the ability to log first message recevied in Queue Browser.Martin Ritchie2009-03-062-38/+37
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@750868 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1639 : Added test to ensure that properties passed on QueueDeclare are ↵Martin Ritchie2009-03-063-5/+243
| | | | | | applied to queue. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@750867 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1718: Ensure that cancellation caused by e.g. ↵Gordon Sim2009-03-052-2/+19
| | | | | | SubscriptionManager::get() doesn't close dispatch queue. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@750622 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1717: Check that target queue for replication events exists before ↵Gordon Sim2009-03-052-13/+26
| | | | | | attempting to process it. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@750586 13f79535-47bb-0310-9956-ffa450edef68
* Cluster: restore separate event/frame threads.Alan Conway2009-03-054-89/+70
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@750574 13f79535-47bb-0310-9956-ffa450edef68
* qpid/broker/QueuePolicy.cppManuel Teira Paz2009-03-052-3/+3
| | | | | | | | | - Add a missing std namespace qpid/broker/TxAccept.cpp - Add a missing std namespace git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@750497 13f79535-47bb-0310-9956-ffa450edef68
* qpid/log/posix/SinkOptions.cppManuel Teira Paz2009-03-051-1/+5
| | | | | | | | | - Conditionally use LOG_FTP and LOG_AUTHPRIV - Add a missing std namespace git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@750496 13f79535-47bb-0310-9956-ffa450edef68
* configure.ac:Manuel Teira Paz2009-03-051-1/+26
| | | | | | | | | | | | - Check for existence of LOG_FTP and LOG_AUTHPRIV to create proper defines - Define SUNOS properly - Reverse SUNCC detection to make it work properly - Check if libacl is actually needed (in Solaris this functionality is part of libc) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@750494 13f79535-47bb-0310-9956-ffa450edef68
* qpid::log::Selector: Include strings.h for ::strlen Manuel Teira Paz2009-03-051-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@750491 13f79535-47bb-0310-9956-ffa450edef68
* Replace PF_LOCAL with PF_UNIX, since it seems to be equivalent, and the Manuel Teira Paz2009-03-051-1/+1
| | | | | | | former doesn't exist on Solaris (for instance) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@750489 13f79535-47bb-0310-9956-ffa450edef68
* In qpid::client::SessionImplManuel Teira Paz2009-03-051-1/+2
| | | | | | | | | | Force the construction of a sys::ExceptionHolder to avoid the Sun Compiler to throw an ambiguity error, since it things that sys::ExceptionHolder and ClosedException are convertible one to the other. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@750488 13f79535-47bb-0310-9956-ffa450edef68
* Add a pair of missing std:: namespacesManuel Teira Paz2009-03-052-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@750487 13f79535-47bb-0310-9956-ffa450edef68
* Implement a solaris qpid::sys::SystemInfoManuel Teira Paz2009-03-052-2/+111
| | | | | | | Choose implementation based on SUNOS definition git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@750486 13f79535-47bb-0310-9956-ffa450edef68
* Remove the argument type in the boost::function template sinceManuel Teira Paz2009-03-051-1/+1
| | | | | | | it's no needed and hurts the Sun compiler git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@750485 13f79535-47bb-0310-9956-ffa450edef68
* Define the QPID_TSS macro for the Sun Studio CompilersManuel Teira Paz2009-03-051-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@750483 13f79535-47bb-0310-9956-ffa450edef68
* Prepend std namespace to atoi since we are including cstdlibManuel Teira Paz2009-03-051-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@750482 13f79535-47bb-0310-9956-ffa450edef68
* cluster: fix delivery-property.exchange-name set on updated messages.Alan Conway2009-03-0522-89/+144
| | | | | | | | | Logging improvements, useful for debugging: - qpid/SessionState.cpp: show frame bodies with command IDs. - assign cluster-wide id number to each Event. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@750456 13f79535-47bb-0310-9956-ffa450edef68
* Remove socklen_t for Windows; related to QPID-1710Stephen D. Huston2009-03-052-3/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@750253 13f79535-47bb-0310-9956-ffa450edef68
* This is related to QPID-1713Rajith Muditha Attapattu2009-03-041-14/+144
| | | | | | | | The automated test case for this is still being worked out. However this feature has been tested manually. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@750205 13f79535-47bb-0310-9956-ffa450edef68
* Corrected a spelling mistakeRajith Muditha Attapattu2009-03-041-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@750204 13f79535-47bb-0310-9956-ffa450edef68
* This is related QPID-1640Rajith Muditha Attapattu2009-03-042-29/+80
| | | | | | | This includes a the failover test run in a loop. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@750203 13f79535-47bb-0310-9956-ffa450edef68
* Issue a useful message if not generating code from specs; fixes QPID-1709Stephen D. Huston2009-03-041-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@750155 13f79535-47bb-0310-9956-ffa450edef68
* Issue a useful message if not generating code from specs' fixes QPID-1709Stephen D. Huston2009-03-041-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@750154 13f79535-47bb-0310-9956-ffa450edef68
* qpid-1712: changed default value for _cycleRetries to 1Arnaud Simon2009-03-041-4/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@750025 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1711: Ensure the session state between the two peers in an inter-broker ↵Gordon Sim2009-03-049-43/+100
| | | | | | | | | | bridging session are kept in sync. (Also made changes to cancellation to ensure that the commands are only issued on the io thread of the connection) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@750002 13f79535-47bb-0310-9956-ffa450edef68
* Improved log messageGordon Sim2009-03-041-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@749996 13f79535-47bb-0310-9956-ffa450edef68
* Added some extra debug information on failover time.Gordon Sim2009-03-041-1/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@749969 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1710: update test inline with modified method signature.Gordon Sim2009-03-041-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@749951 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1710 Removed unnecessary nonportable internal APIAndrew Stitcher2009-03-046-10/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@749894 13f79535-47bb-0310-9956-ffa450edef68
* reset byte credit after flushing when not prefetching, this is a follow up ↵Rafael H. Schloming2009-03-031-4/+4
| | | | | | fix for QPID-1642/QPID-1643 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@749842 13f79535-47bb-0310-9956-ffa450edef68
* cpp/src/tests/ForkedBroker.cpp: supress misleading exceptions with kill -9.Alan Conway2009-03-032-4/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@749756 13f79535-47bb-0310-9956-ffa450edef68
* Correct Socket error reporting so that it gives a useful messageAndrew Stitcher2009-03-031-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@749752 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1708: go into CLOSED instead of DETACHED state when there is an ↵Rafael H. Schloming2009-03-032-3/+60
| | | | | | execution exception git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@749740 13f79535-47bb-0310-9956-ffa450edef68
* cluster::UpdateClient added missing error handling.Alan Conway2009-03-035-52/+113
| | | | | | | Minor improvements to failover_soak tests. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@749730 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1637 : Update to test to correctly use priority queues in test. Fixed ↵Martin Ritchie2009-03-037-67/+183
| | | | | | big in inhaler/purger to ensure priority data is correctly reloaded. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@749699 13f79535-47bb-0310-9956-ffa450edef68
* Prevent NullPointerException when backing store file is deleted externallyMartin Ritchie2009-03-031-7/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@749697 13f79535-47bb-0310-9956-ffa450edef68
* Complete change started by r749621: "Avoid use of std::vector::data(), not ↵Gordon Sim2009-03-031-1/+1
| | | | | | available on some platforms." git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@749669 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1707 Mick Goulish. Improved failover_soak codeAlan Conway2009-03-031-8/+19
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@749627 13f79535-47bb-0310-9956-ffa450edef68
* Avoid use of std::vector::data(), not available on some platforms.Alan Conway2009-03-031-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@749621 13f79535-47bb-0310-9956-ffa450edef68