Commit Graph

4920 Commits

Author SHA1 Message Date
Gary Tully 5763561d60 resolve PerDestinationStoreLimitTest - have store size reflect stored messages rather than disk usage (so now it reports used rather than allocated disk soace excluding the index) such that 100MB messages gives store size ~100MB while disk utilisation may be bigger. getDiskSize still exsits to get totall allocated space on disk. This allows configured limits to be more accuratly enforced and fixes this test regression. Also calculation is accumulative rather than on demand so it much faster
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@962468 13f79535-47bb-0310-9956-ffa450edef68
2010-07-09 09:52:43 +00:00
Bosanac Dejan 40ae8b1d4c https://issues.apache.org/activemq/browse/AMQ-2815 - enabling creating blueprint configuration
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@962432 13f79535-47bb-0310-9956-ffa450edef68
2010-07-09 07:32:44 +00:00
Gary Tully a6a6a708ff resolve https://issues.apache.org/activemq/browse/AMQ-2800, https://issues.apache.org/activemq/browse/AMQ-2542, https://issues.apache.org/activemq/browse/AMQ-2803 - implement duplicate checker in transport for a failover: reconnect, uses last seqid from store. iimplemented for kahaDB and JDBC
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@961783 13f79535-47bb-0310-9956-ffa450edef68
2010-07-08 14:23:21 +00:00
Bosanac Dejan 7a7a876045 https://issues.apache.org/activemq/browse/AMQ-2815 - updating default broker config
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@961752 13f79535-47bb-0310-9956-ffa450edef68
2010-07-08 13:08:23 +00:00
Guillaume Nodet aac39acbb2 AMQ-2570: make sure the log is delegated to the framework if possible when the web console is deployed in osgi
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@961717 13f79535-47bb-0310-9956-ffa450edef68
2010-07-08 11:24:10 +00:00
Bosanac Dejan d1fa2baf40 https://issues.apache.org/activemq/browse/AMQ-2815 - first stab at moving karaf commands to activemq
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@961712 13f79535-47bb-0310-9956-ffa450edef68
2010-07-08 11:11:22 +00:00
Bosanac Dejan e0f1872e69 https://issues.apache.org/activemq/browse/AMQ-2570 - karaf feature improvements
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@961622 13f79535-47bb-0310-9956-ffa450edef68
2010-07-08 08:17:05 +00:00
Robert Davies 89e538db7c Only start Producer Flow Control thread when needed
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@961500 13f79535-47bb-0310-9956-ffa450edef68
2010-07-07 20:31:40 +00:00
Robert Davies b47da808d7 Improve concurrency
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@961484 13f79535-47bb-0310-9956-ffa450edef68
2010-07-07 19:34:09 +00:00
Bosanac Dejan 06b41bb759 https://issues.apache.org/activemq/browse/AMQ-2570 - more web console pom improvements
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@961470 13f79535-47bb-0310-9956-ffa450edef68
2010-07-07 18:30:14 +00:00
Bosanac Dejan 52a91db740 https://issues.apache.org/activemq/browse/AMQ-2570 - more web console pom improvements
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@961381 13f79535-47bb-0310-9956-ffa450edef68
2010-07-07 14:07:43 +00:00
Robert Davies 720ff40ac0 fixed a potential hole around lock usage
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@961272 13f79535-47bb-0310-9956-ffa450edef68
2010-07-07 07:35:31 +00:00
Robert Davies 28180b35bd Improve concurrency by using read/write locks
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@961245 13f79535-47bb-0310-9956-ffa450edef68
2010-07-07 05:10:17 +00:00
Gary Tully cc700dd841 reinstate this test case
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@960869 13f79535-47bb-0310-9956-ffa450edef68
2010-07-06 10:58:06 +00:00
Gary Tully 4160249750 resolve https://issues.apache.org/activemq/browse/AMQ-2603 - update to org.apache.geronimo.specs:geronimo-j2ee-management_1.1_spec:1.0.1
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@960857 13f79535-47bb-0310-9956-ffa450edef68
2010-07-06 09:55:17 +00:00
Robert Davies 179bd54e22 synchronization around creation of preparedTransactions
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@960645 13f79535-47bb-0310-9956-ffa450edef68
2010-07-05 17:18:10 +00:00
Robert Davies 95ba6efceb updated doc
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@960632 13f79535-47bb-0310-9956-ffa450edef68
2010-07-05 16:27:57 +00:00
Bosanac Dejan 8d9ff0d25f https://issues.apache.org/activemq/browse/AMQ-2570 - osgifying web console
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@960631 13f79535-47bb-0310-9956-ffa450edef68
2010-07-05 16:04:29 +00:00
Robert Davies caea2f22f0 remove unnecessary started flag
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@960590 13f79535-47bb-0310-9956-ffa450edef68
2010-07-05 13:16:36 +00:00
Bosanac Dejan 412730b899 https://issues.apache.org/activemq/browse/AMQ-2570 - use spring 3.0.x
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@960485 13f79535-47bb-0310-9956-ffa450edef68
2010-07-05 08:33:53 +00:00
Robert Davies 6a5030b9f5 removed unnecessary synchronization around dispatch list
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@960444 13f79535-47bb-0310-9956-ffa450edef68
2010-07-05 05:06:18 +00:00
Robert Davies 42ee51fe9a Applied patch for https://issues.apache.org/activemq/browse/AMQ-2795
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@960298 13f79535-47bb-0310-9956-ffa450edef68
2010-07-04 06:28:36 +00:00
Robert Davies c14c7e791d Fix for https://issues.apache.org/activemq/browse/AMQ-2807
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@960296 13f79535-47bb-0310-9956-ffa450edef68
2010-07-04 05:49:20 +00:00
Bosanac Dejan 2c9cbbdff3 https://issues.apache.org/activemq/browse/AMQ-2570 - osgifying web console war
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@960095 13f79535-47bb-0310-9956-ffa450edef68
2010-07-02 20:08:44 +00:00
Gary Tully 76f842d371 improve async task concurrency, contention over indexMutex for transactions and taskMap, not per destination. Added some metrics enabled by system properties to help further diagnosis of journal usage
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@960060 13f79535-47bb-0310-9956-ffa450edef68
2010-07-02 17:11:00 +00:00
Bosanac Dejan 554a01a420 https://issues.apache.org/activemq/browse/AMQ-2728 - fix getDestination() problem
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@959942 13f79535-47bb-0310-9956-ffa450edef68
2010-07-02 10:32:47 +00:00
Bosanac Dejan f7c3c11cc4 https://issues.apache.org/activemq/browse/AMQ-2570 - first stab at updating karaf features
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@959687 13f79535-47bb-0310-9956-ffa450edef68
2010-07-01 14:54:08 +00:00
Bosanac Dejan 0785e76eef improving features
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@959349 13f79535-47bb-0310-9956-ffa450edef68
2010-06-30 15:27:01 +00:00
Gary Tully d1e35e6c3a add trivial boolean selector test
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@959298 13f79535-47bb-0310-9956-ffa450edef68
2010-06-30 13:12:19 +00:00
Bosanac Dejan a891182114 https://issues.apache.org/activemq/browse/AMQ-2453 - improve stop procedure
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@959227 13f79535-47bb-0310-9956-ffa450edef68
2010-06-30 08:28:16 +00:00
Robert Davies 452ceae26e Name the BrokerService TaskRunner
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@959200 13f79535-47bb-0310-9956-ffa450edef68
2010-06-30 05:57:45 +00:00
Bosanac Dejan 149d4772df https://issues.apache.org/activemq/browse/AMQ-2453 - some improvements to unix start script
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@959043 13f79535-47bb-0310-9956-ffa450edef68
2010-06-29 17:19:27 +00:00
Gary Tully 4a23f0d1c1 even more input to doc comment re pooling: https://issues.apache.org/activemq/browse/AMQ-2806
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@958962 13f79535-47bb-0310-9956-ffa450edef68
2010-06-29 13:23:30 +00:00
Gary Tully 8f3e831fcf more input to doc comment re pooling: https://issues.apache.org/activemq/browse/AMQ-2806
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@958961 13f79535-47bb-0310-9956-ffa450edef68
2010-06-29 13:17:11 +00:00
Bosanac Dejan b73b8bc5b7 https://issues.apache.org/activemq/browse/AMQ-2728 - first stab at refactoring Ajax API to conform Jetty 7 continuations
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@958932 13f79535-47bb-0310-9956-ffa450edef68
2010-06-29 11:34:35 +00:00
Gary Tully ff43b7a9aa tidy up doc comment re pooling: resolve https://issues.apache.org/activemq/browse/AMQ-2806
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@958921 13f79535-47bb-0310-9956-ffa450edef68
2010-06-29 10:45:06 +00:00
Robert Davies d1b5029dc6 Remove the need to check if the store is empty when checking to enable cache
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@958330 13f79535-47bb-0310-9956-ffa450edef68
2010-06-27 06:07:02 +00:00
Robert Davies dd48ebea00 Use KahaDB (as now the default store)
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@958329 13f79535-47bb-0310-9956-ffa450edef68
2010-06-27 06:05:46 +00:00
Timothy A. Bish 9807ee3253 fix for: https://issues.apache.org/activemq/browse/AMQ-2098
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@958103 13f79535-47bb-0310-9956-ffa450edef68
2010-06-25 20:23:56 +00:00
Robert Davies ddb2c91c20 transaction performance enhancements
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@958009 13f79535-47bb-0310-9956-ffa450edef68
2010-06-25 15:45:47 +00:00
Gary Tully 39c536395a work around: javax.net.ssl.SSLHandshakeException: renegotiation is not allowed - http://java.sun.com/javase/javaseforbusiness/docs/TLSReadme.html for SslBrokerServiceTest with latest jdk security fixes
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@957916 13f79535-47bb-0310-9956-ffa450edef68
2010-06-25 12:23:07 +00:00
Gary Tully fb591e7b89 fix intermittent failure in JDBCNegativeQueueTest, sync store add and cursor add such that cursor is always in order w.r.t the store. Hense, when the cursor cache is exhausted, resuming from the store is just fine. Without the sync, moving from cache to store can result in duplicate messages, out of order messages and on occasion missing messages. disabling the cache resolved all of the above but kills performance. Syncing the sore add and cursor add is the correct solution, but it has an impact on concurrent transaction completion for a destination, paralell completion across destinations can still continue, so there is still some batching potential
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@957899 13f79535-47bb-0310-9956-ffa450edef68
2010-06-25 11:49:01 +00:00
Robert Davies 00879cf683 changes for https://issues.apache.org/activemq/browse/AMQ-2791
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@957881 13f79535-47bb-0310-9956-ffa450edef68
2010-06-25 10:28:17 +00:00
Bosanac Dejan eeacd65a2b https://issues.apache.org/activemq/browse/AMQ-2081 - anonymous access
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@957509 13f79535-47bb-0310-9956-ffa450edef68
2010-06-24 11:16:09 +00:00
Bosanac Dejan 1f063e8557 https://issues.apache.org/activemq/browse/AMQ-2790 - check connection to prevent NPEs
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@957213 13f79535-47bb-0310-9956-ffa450edef68
2010-06-23 14:23:51 +00:00
Bosanac Dejan ac77a047c0 https://issues.apache.org/activemq/browse/AMQ-2695 - counter fix
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@957210 13f79535-47bb-0310-9956-ffa450edef68
2010-06-23 14:11:19 +00:00
Bosanac Dejan d53609ff08 https://issues.apache.org/activemq/browse/AMQ-2695 - kahadb store directory location
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@957194 13f79535-47bb-0310-9956-ffa450edef68
2010-06-23 13:39:14 +00:00
Bosanac Dejan 9f417a2e5a https://issues.apache.org/activemq/browse/AMQ-2695 - additional fix for amq store
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@957181 13f79535-47bb-0310-9956-ffa450edef68
2010-06-23 13:06:19 +00:00
Bosanac Dejan 2aa2278fc2 https://issues.apache.org/activemq/browse/AMQ-2793 - KahaDB default dir
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@957154 13f79535-47bb-0310-9956-ffa450edef68
2010-06-23 11:00:43 +00:00
Robert Davies 7ad152bac8 Ensure executor constructed correctly
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@957005 13f79535-47bb-0310-9956-ffa450edef68
2010-06-22 20:08:12 +00:00