Commit Graph

3196 Commits

Author SHA1 Message Date
Robert Davies 70314ea8a6 Fix for https://issues.apache.org/activemq/browse/AMQ-2821
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@963096 13f79535-47bb-0310-9956-ffa450edef68
2010-07-11 16:09:02 +00:00
Robert Davies 2705e3606f Fix for https://issues.apache.org/activemq/browse/AMQ-2821
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@963095 13f79535-47bb-0310-9956-ffa450edef68
2010-07-11 16:08:15 +00:00
Robert Davies 26430893ae set name of temporary store to tmpDB
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@962620 13f79535-47bb-0310-9956-ffa450edef68
2010-07-09 17:58:54 +00:00
Bosanac Dejan 681cf04da9 https://issues.apache.org/activemq/browse/AMQ-2817 - sanitize stomp headers
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@962512 13f79535-47bb-0310-9956-ffa450edef68
2010-07-09 12:55:21 +00:00
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
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
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
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
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
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
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
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
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
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
Robert Davies c14dc3a06f Fix for https://issues.apache.org/activemq/browse/AMQ-2790
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@956918 13f79535-47bb-0310-9956-ffa450edef68
2010-06-22 15:20:49 +00:00
Bosanac Dejan a8b0d39915 intermittent failures on slow machines
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@956570 13f79535-47bb-0310-9956-ffa450edef68
2010-06-21 13:14:06 +00:00
Robert Davies 69e3b6c8c8 Fix for https://issues.apache.org/activemq/browse/AMQ-2786
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@956481 13f79535-47bb-0310-9956-ffa450edef68
2010-06-21 07:57:32 +00:00
Gary Tully d55404445a give it more time to build up writes
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@955993 13f79535-47bb-0310-9956-ffa450edef68
2010-06-18 13:08:31 +00:00
Gary Tully e85dda9c64 have KahaDB lock work in vm, so master slave tests can work ok. preserver kaha behaiour in this regard as it makes testing simpler. fix npe on shutdown if start fails
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@955973 13f79535-47bb-0310-9956-ffa450edef68
2010-06-18 12:27:51 +00:00
Bosanac Dejan ae5300b190 https://issues.apache.org/activemq/browse/AMQ-2782 - removing temp destinations over the network
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@955621 13f79535-47bb-0310-9956-ffa450edef68
2010-06-17 14:56:23 +00:00
Bosanac Dejan 9703219972 https://issues.apache.org/activemq/browse/AMQ-2782 - test case
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@955505 13f79535-47bb-0310-9956-ffa450edef68
2010-06-17 08:33:37 +00:00
Robert Davies f42c91f43d Fix for https://issues.apache.org/activemq/browse/AMQ-2475
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@955504 13f79535-47bb-0310-9956-ffa450edef68
2010-06-17 08:24:26 +00:00
Robert Davies 1999d948bb handle Future correctly passed back from the store
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@955221 13f79535-47bb-0310-9956-ffa450edef68
2010-06-16 12:49:24 +00:00
Robert Davies ddf228227c Enable XBean property editors
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@955183 13f79535-47bb-0310-9956-ffa450edef68
2010-06-16 10:24:53 +00:00
Robert Davies 47181b7b07 Fix for https://issues.apache.org/activemq/browse/AMQ-2738
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@955179 13f79535-47bb-0310-9956-ffa450edef68
2010-06-16 10:17:06 +00:00
Robert Davies 37b7d9cfbd remove JDK 1.6 specific calls
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@955178 13f79535-47bb-0310-9956-ffa450edef68
2010-06-16 10:12:23 +00:00
Robert Davies 774a9daa4d fixed incorrect broker URL
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@955171 13f79535-47bb-0310-9956-ffa450edef68
2010-06-16 09:42:32 +00:00
Robert Davies e70308804f clear down async tasks on stop
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@955168 13f79535-47bb-0310-9956-ffa450edef68
2010-06-16 09:38:46 +00:00
Robert Davies 7a5abebea8 make concurrent store and dispatch with transactions optional
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@955149 13f79535-47bb-0310-9956-ffa450edef68
2010-06-16 07:40:33 +00:00