Commit Graph

3221 Commits

Author SHA1 Message Date
Robert Davies 5f400b3853 prevent npe
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@978813 13f79535-47bb-0310-9956-ffa450edef68
2010-07-24 06:44:15 +00:00
Gary Tully f206a1bd11 resolve https://issues.apache.org/activemq/browse/AMQ-2580 - patch was good for AMQ store, fix needed for kahaDB and JDBC now done, test case was great, thanks.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@967134 13f79535-47bb-0310-9956-ffa450edef68
2010-07-23 15:31:10 +00:00
Gary Tully 21e641d496 fix issue with size of SimplePriorityMessageDispatchChannel, cause intermittent failure of FailoverConsumerUnconsumedTest
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@967052 13f79535-47bb-0310-9956-ffa450edef68
2010-07-23 11:42:31 +00:00
Bosanac Dejan 2677c6bf0e https://issues.apache.org/activemq/browse/AMQ-2843 - support database schema upgrades
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@967008 13f79535-47bb-0310-9956-ffa450edef68
2010-07-23 09:01:08 +00:00
Bosanac Dejan 4f5e620d1c https://issues.apache.org/activemq/browse/AMQ-2843 - first stab at supporting priority for durable subs
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@966712 13f79535-47bb-0310-9956-ffa450edef68
2010-07-22 15:46:18 +00:00
Gary Tully 383d12ed0e resolve: https://issues.apache.org/activemq/browse/AMQ-2741 - visibility of abort slow consumer policy in via jmx
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@966319 13f79535-47bb-0310-9956-ffa450edef68
2010-07-21 17:09:33 +00:00
Bosanac Dejan 12f0195913 https://issues.apache.org/activemq/browse/AMQ-2843 - first stab at adding priority for queues in JDBC store
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@966291 13f79535-47bb-0310-9956-ffa450edef68
2010-07-21 16:06:39 +00:00
Bosanac Dejan c4425caa2f https://issues.apache.org/activemq/browse/AMQ-2789 and https://issues.apache.org/activemq/browse/AMQ-2843 - adds tests for cursors and stores and fixes a PrioritizedPendingList bug
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@966223 13f79535-47bb-0310-9956-ffa450edef68
2010-07-21 13:38:40 +00:00
Bosanac Dejan 03f38ae402 https://issues.apache.org/activemq/browse/AMQ-2843 - add mechanism for stores to know whether to use prioritized recovery or not
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@966145 13f79535-47bb-0310-9956-ffa450edef68
2010-07-21 08:59:42 +00:00
Bosanac Dejan 8ed8dd41c4 https://issues.apache.org/activemq/browse/AMQ-2841 - log stomp protocol errors
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@965897 13f79535-47bb-0310-9956-ffa450edef68
2010-07-20 16:25:52 +00:00
Bosanac Dejan 11705e70b4 https://issues.apache.org/activemq/browse/AMQ-2702 - remove runtime spring dependency
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@965820 13f79535-47bb-0310-9956-ffa450edef68
2010-07-20 12:07:27 +00:00
Robert Davies c6af867113 Patch applied for https://issues.apache.org/activemq/browse/AMQ-2833
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@965542 13f79535-47bb-0310-9956-ffa450edef68
2010-07-19 16:10:22 +00:00
Gary Tully 607f1ef669 resolve: https://issues.apache.org/activemq/browse/AMQ-2836 - copy message before logging
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@965517 13f79535-47bb-0310-9956-ffa450edef68
2010-07-19 14:59:27 +00:00
Gary Tully d85895666a resolve https://issues.apache.org/activemq/browse/AMQ-2832 - impl for AMQ pa
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@964866 13f79535-47bb-0310-9956-ffa450edef68
2010-07-16 17:30:25 +00:00
Bosanac Dejan 145c80a298 https://issues.apache.org/activemq/browse/AMQ-2574 - removing runtime OSGi dependency
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@964847 13f79535-47bb-0310-9956-ffa450edef68
2010-07-16 16:20:21 +00:00
Gary Tully f2517c01b8 resolve https://issues.apache.org/activemq/browse/AMQ-2832 - track ack file references to prevent cleanup of data files with acks for inuse message files, impl for kahaDB
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@964804 13f79535-47bb-0310-9956-ffa450edef68
2010-07-16 14:19:27 +00:00
Gary Tully a7f9164464 resolve NPE on stop when reconnect fails - resolve https://issues.apache.org/activemq/browse/AMQ-2811
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@964367 13f79535-47bb-0310-9956-ffa450edef68
2010-07-15 10:18:02 +00:00
Bosanac Dejan 3817ed9a97 https://issues.apache.org/activemq/browse/AMQ-2825 - jettison 1.2
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@964087 13f79535-47bb-0310-9956-ffa450edef68
2010-07-14 15:51:37 +00:00
Gary Tully 54a1520393 add test that validates https://issues.apache.org/activemq/browse/AMQ-1893 is resolved on trunk
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@964051 13f79535-47bb-0310-9956-ffa450edef68
2010-07-14 13:56:17 +00:00
Gary Tully 73433372e9 rework fix for https://issues.apache.org/activemq/browse/AMQ-1730 - better support for unordered message consumption when there are multiple short lived consumers, eg with spring mlc and concurrent consumers > 1
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@963894 13f79535-47bb-0310-9956-ffa450edef68
2010-07-13 22:40:58 +00:00
Bosanac Dejan 03349fecda https://issues.apache.org/activemq/browse/AMQ-2817 - prevent test from failing
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@963678 13f79535-47bb-0310-9956-ffa450edef68
2010-07-13 11:08:35 +00:00
Gary Tully b1d7a78c0a further reduction in contention on inflight transacitons in kahaDB store
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@963674 13f79535-47bb-0310-9956-ffa450edef68
2010-07-13 10:54:59 +00:00
Bosanac Dejan 584d52c1f0 https://issues.apache.org/activemq/browse/AMQ-2822 - stomp+nio and content-length
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@963282 13f79535-47bb-0310-9956-ffa450edef68
2010-07-12 13:57:11 +00:00
Robert Davies cee683f84c Fix for https://issues.apache.org/activemq/browse/AMQ-2475
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@963118 13f79535-47bb-0310-9956-ffa450edef68
2010-07-11 17:51:51 +00:00
Robert Davies ea0ceacef0 Fix for https://issues.apache.org/activemq/browse/AMQ-2070
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@963104 13f79535-47bb-0310-9956-ffa450edef68
2010-07-11 16:33:03 +00:00
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