Commit Graph

3210 Commits

Author SHA1 Message Date
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
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