summaryrefslogtreecommitdiff
path: root/qpid
Commit message (Collapse)AuthorAgeFilesLines
* This commit contains the followingRajith Muditha Attapattu2009-09-116-164/+327
| | | | | | | | | | 1. Applying patches from Tim Platten attched to QPID-2062 and QPID-2063 2. Fixed QPID-2098 3. Added test cases for QPID-2062 and QPID-2063 4. Added more user friendly logging for ACL rule processing and lookup methods. In debug mode the logging should now provide more visibility into how rules are evaluated. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@813850 13f79535-47bb-0310-9956-ffa450edef68
* Joint checkin with cctrieloff. Refactor of exchange routing so that ↵Kim van der Riet2009-09-1123-412/+537
| | | | | | multi-queue policy differences may be resolved and allow for correct multi-queue flow-to-disk behavior. Different queues may have differing policies and persistence properties - these were previously being neglected. New c++ test added. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@813825 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2093: Updated AMQBRokerManagerMBean to check if the queue is durable ↵Martin Ritchie2009-09-116-348/+701
| | | | | | | | | | | before performing store.deleteQueue(). Created ModelTest to validate the change, (testDeletionDurableViaJMX). To facility the testing, extracted JMX Operations from ManagementActorLoggingTest to a new JMXTestUtils and updated both ModelTest and MALT to use this interface. Updated 010(cpp) and 08(Java-InVM) excludes as the CPP does not have JMX and the InVM JMX is unreliable (see QPID-2097) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@813801 13f79535-47bb-0310-9956-ffa450edef68
* Add test customisation configuration to derby and acl configsMartin Ritchie2009-09-112-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@813799 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2094 : Check if _output is null, if so write test configuration to ↵Martin Ritchie2009-09-111-1/+2
| | | | | | java.io.tmpdir. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@813798 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2095 : Update QTC to set the management.jmxport configuration property ↵Martin Ritchie2009-09-111-0/+2
| | | | | | on InVM test cases git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@813797 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2096 : Add a work around which stops durable exchanges being written to ↵Martin Ritchie2009-09-111-0/+12
| | | | | | the message store. This will allow current DerbyStores to start up but will mean that the existence of the exchange in the configuration is its durability. Remove it from the config and it is gone. This differs from the way queues work. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@813796 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2092 : Corrected misspelling of SimpleMartin Ritchie2009-09-101-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@813476 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2092 Move test configuration to systest package and update to provide ↵Martin Ritchie2009-09-1023-709/+375
| | | | | | | | | | | | | | | an more reliable way of adjusting the configuration form the test. In doing this it made sense to udpate the configurations such that they all inherit from the cannonical config.xml from the broker package. Each test now gets its own configuration file that is used to override the defaut values in config.xml. So the config is now a hierarchy of: - Test Specific - Systest adjustments - stock broker config.xml I have disabled the DerbyMessageStoreLoggingTest as after making this change it is more reliably throwing a Derby exception on broker startup. The other changes to the tests were to ensure they correctly save the Test Specific config file before loading. As for some reason, Commons Configuration is not abiding by the optional flag. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@813461 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2091 : Updated ServerConfiguration and added test to ↵Martin Ritchie2009-09-104-175/+170
| | | | | | ServerConfigurationTest. Merged virtualhost.xml with config.xml git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@813459 13f79535-47bb-0310-9956-ffa450edef68
* Fixed wrong namespace placement in previous check inAndrew Stitcher2009-09-091-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@813123 13f79535-47bb-0310-9956-ffa450edef68
* Fix QPID-2086, hang of federated_cluster_test_with_node_failure.Alan Conway2009-09-091-1/+9
| | | | | | | cluster::Connection did not give read credit if there was an exception processing a frame. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@813100 13f79535-47bb-0310-9956-ffa450edef68
* Tidied up namespace usageAndrew Stitcher2009-09-0993-971/+1423
| | | | | | Miscelleneous whitespace fixes git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@813094 13f79535-47bb-0310-9956-ffa450edef68
* Adjust to new location of state_saver in Boost 1.40; fixes QPID-2090Stephen D. Huston2009-09-091-2/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@813092 13f79535-47bb-0310-9956-ffa450edef68
* Replace write lock with read lock in QueueRegistry::eachQueue.Alan Conway2009-09-091-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@813079 13f79535-47bb-0310-9956-ffa450edef68
* ( mgoulish checking in changes for gsim )Michael Goulish2009-09-091-6/+10
| | | | | | | add ttl option for messages. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@812995 13f79535-47bb-0310-9956-ffa450edef68
* Remove some more unused code.Aidan Skinner2009-09-092-19/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@812825 13f79535-47bb-0310-9956-ffa450edef68
* Remove unusued FirewallFactory classAidan Skinner2009-09-091-45/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@812821 13f79535-47bb-0310-9956-ffa450edef68
* Remove extra ::Variant from translate() signatureStephen D. Huston2009-09-081-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@812691 13f79535-47bb-0310-9956-ffa450edef68
* Fixed code that pushes a buffer into the read queue if closed for writeAndrew Stitcher2009-09-081-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@812590 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: Added automatic message replay on reconnection.Gordon Sim2009-09-0716-31/+233
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@812243 13f79535-47bb-0310-9956-ffa450edef68
* QPID-155 : added java doc to testMartin Ritchie2009-09-071-0/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@812156 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1809, QPID-2081 : Corrected ChannelClose logic. Removed an unnecessary ↵Martin Ritchie2009-09-073-72/+111
| | | | | | sync on the failoverMutex in AMQSession that was causing the notification of the close to be blocked until a TimeOutException occured. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@812153 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2085 : Set append to true by default. Added QPID_LOG_APPEND variable to ↵Martin Ritchie2009-09-072-3/+8
| | | | | | control setting from the environment git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@812103 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2084,QPID-155 : Update excludes as 0-10 code path does not have same ↵Martin Ritchie2009-09-071-0/+6
| | | | | | error response git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@812083 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: Added automatic reconnection logic.Gordon Sim2009-09-0713-159/+875
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@812049 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1809 : There is still a race condition between the notification and ↵Martin Ritchie2009-09-071-0/+17
| | | | | | main threads closing. The issue is ok as the main thread will not perform a syncWait, however, the set exception will be rethrown. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@812043 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2081, QPID-155 : Updated AMQSession to allow queue/exchange decare to ↵Martin Ritchie2009-09-063-10/+11
| | | | | | be set on a per session basis git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@811748 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2081, QPID-155 : Corrected error in package name in excludeMartin Ritchie2009-09-051-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@811725 13f79535-47bb-0310-9956-ffa450edef68
* Pick up correct CMake-set macro (qmfcommon_EXPORTS) to flip import/export ↵Stephen D. Huston2009-09-041-1/+1
| | | | | | for qmfcommon lib git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@811553 13f79535-47bb-0310-9956-ffa450edef68
* Unify namespace usage, avoid using qpid::client because it confuses arg in ↵Stephen D. Huston2009-09-041-18/+18
| | | | | | boost, at least on Windows git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@811525 13f79535-47bb-0310-9956-ffa450edef68
* removed duplicate methodRafael H. Schloming2009-09-041-3/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@811508 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2081, QPID-155 : Provide a test for Dynamic Queue/Exchange toggling and ↵Martin Ritchie2009-09-043-2/+96
| | | | | | fixed the issue with ChannelCloseExceptions by closing the channel and not sending the ChannelClose when the Channel has already been closed by the broker. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@811472 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1809 - The incorrect expcetions were due to a race condition between ↵Martin Ritchie2009-09-0411-59/+133
| | | | | | | | the mina exception notification thread and the clients main thread blocking for a frame. Occasionally, the client will start blocking just after the notification and so will Timeout. This update ensures that blocking does not occur if the connection has been marked closing or is closed. The lastException set on the StateManager is thrown instead. The connection close also needed to take into consideration this fact. The syncWrite on for ChannelClose and ConnectionClose are now only down if we are not in a closing situation. As the 0-10 code path does not use the StateManager the changes were applied to the 0-8 Session. Further testing may be needed to validate that the 0-10 client code path does not also have this race condition. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@811471 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2002 : Add MNG-1003 messagesMartin Ritchie2009-09-041-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@811470 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1992 : Ensure StartupRootMessageLogger always logs messagesMartin Ritchie2009-09-041-0/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@811469 13f79535-47bb-0310-9956-ffa450edef68
* Apply patches from QPID-2079Stephen D. Huston2009-09-042-4/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@811441 13f79535-47bb-0310-9956-ffa450edef68
* Add a number of Visual Studio projects/solutions that I missed on the ↵Stephen D. Huston2009-09-046-0/+786
| | | | | | initial check-in; related to QPID-2065, QPID-2066, QPID-2067. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@811421 13f79535-47bb-0310-9956-ffa450edef68
* fixed the wait logic for session closeRafael H. Schloming2009-09-042-2/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@811350 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2080 - crash when attempting to modify an exchange's alternateTed Ross2009-09-042-3/+59
| | | | | | | Committed patch from Ken Giusti git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@811188 13f79535-47bb-0310-9956-ffa450edef68
* removed final use of catchupRafael H. Schloming2009-09-031-16/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@811088 13f79535-47bb-0310-9956-ffa450edef68
* added timeout option to sendRafael H. Schloming2009-09-032-3/+27
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@811066 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2045 - crash when destroying a federation link with a dynamic bridgeTed Ross2009-09-032-3/+10
| | | | | | | Committed patch from Ken Guisti git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@811046 13f79535-47bb-0310-9956-ffa450edef68
* Improved automake for the qmf bindings.Ted Ross2009-09-034-25/+43
| | | | | | | | | - Added conditionals for HAVE_PYTHON_DEVEL - Added conditionals in the run_interop_tests script to skip tests of unbuilt components - Removed from distribution the code generated by swig for Python git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@810998 13f79535-47bb-0310-9956-ffa450edef68
* Add WCF channel code: patches from QPID-2065, QPID-2066, QPID-2067Stephen D. Huston2009-09-0287-0/+10044
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@810734 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2050 - leak of bridge objectsTed Ross2009-09-022-1/+14
| | | | | | | Committed patch from Ken Giusti. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@810693 13f79535-47bb-0310-9956-ffa450edef68
* Change Async buffer returning logic to only watch reads when necessaryAndrew Stitcher2009-09-021-3/+21
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@810591 13f79535-47bb-0310-9956-ffa450edef68
* Add diagram of priority queue implementationAidan Skinner2009-09-021-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@810584 13f79535-47bb-0310-9956-ffa450edef68
* changed Lockable -> Waiter and switched its usage from has-a to is-a; also ↵Rafael H. Schloming2009-09-023-35/+35
| | | | | | fixed some more imports git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@810573 13f79535-47bb-0310-9956-ffa450edef68
* Add diagram of the broker queue and subscription model.Aidan Skinner2009-09-021-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@810538 13f79535-47bb-0310-9956-ffa450edef68