Commit Graph

3625 Commits

Author SHA1 Message Date
Hiram R. Chirino 273933378b Opps miss a couple of commits with that last change.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@741329 13f79535-47bb-0310-9956-ffa450edef68
2009-02-05 22:42:42 +00:00
Hiram R. Chirino 180b0ec4ab - Implemented the setBatch API call in KahaDBStore.
- fixed bug: When a async thread was used for writing in KahaDBStore you could run in a Memory leak due to an unbound enqueue buffer type problem.



git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@741327 13f79535-47bb-0310-9956-ffa450edef68
2009-02-05 22:41:01 +00:00
Gary Tully 63709a9a88 test for setBatch with KahaDB AMQ-2020
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@741325 13f79535-47bb-0310-9956-ffa450edef68
2009-02-05 22:38:31 +00:00
Gary Tully f0af62f64d add a little more info to flush
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@741293 13f79535-47bb-0310-9956-ffa450edef68
2009-02-05 21:15:13 +00:00
Hiram R. Chirino 8262ef7903 Changed the cleanup algorithm used in the KahaDB.. It should now be much faster.
Fixed bug in the BTreeNode.visit() which was making us load most of the pages instead of letting us filter down to just a few.



git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@741212 13f79535-47bb-0310-9956-ffa450edef68
2009-02-05 18:07:57 +00:00
Hiram R. Chirino c0594251e2 Bettter property names.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@741169 13f79535-47bb-0310-9956-ffa450edef68
2009-02-05 16:33:23 +00:00
Hiram R. Chirino 19c4316a1c Added the ability to customize thw write batch size in the PageFile.
Added some diagnostic logging to see when store updates take too long and why.



git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@741137 13f79535-47bb-0310-9956-ffa450edef68
2009-02-05 15:29:48 +00:00
Gary Tully 3c543a0cd0 pass asyncWrite flag to page file
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@741136 13f79535-47bb-0310-9956-ffa450edef68
2009-02-05 15:29:00 +00:00
Bosanac Dejan 690b7bcbd1 a couple of Stomp improvements
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@741109 13f79535-47bb-0310-9956-ffa450edef68
2009-02-05 14:33:59 +00:00
Gary Tully c22cd6563b update simple enqueue rate verifier for kaha store
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@741096 13f79535-47bb-0310-9956-ffa450edef68
2009-02-05 13:07:32 +00:00
Gary Tully 9bb46820b2 store specific tests for setBatch http://issues.apache.org/activemq/browse/AMQ-2020
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@741061 13f79535-47bb-0310-9956-ffa450edef68
2009-02-05 10:06:39 +00:00
Gary Tully 37c2a955a2 move setBatch to MessageStore interface to keep cursors store agnostic - http://issues.apache.org/activemq/browse/AMQ-2020 - some store specific tests to follow
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@740765 13f79535-47bb-0310-9956-ffa450edef68
2009-02-04 15:19:56 +00:00
Guillaume Nodet 9a1f9c2fe3 AMQ-2095: Make pooled sessions implement XASession for specific transaction management
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@740476 13f79535-47bb-0310-9956-ffa450edef68
2009-02-03 22:10:59 +00:00
Guillaume Nodet 1ab76f775d AMQ-2091: Add a cache to the jms selector parser for speed improvements
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@740375 13f79535-47bb-0310-9956-ffa450edef68
2009-02-03 19:05:07 +00:00
Hiram R. Chirino 5e2eedcac0 Added a option to be able to test againt the new kahadb store
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@740344 13f79535-47bb-0310-9956-ffa450edef68
2009-02-03 16:36:48 +00:00
Gary Tully 675afd6962 holder test to verify steady enqueue rate of store
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@740339 13f79535-47bb-0310-9956-ffa450edef68
2009-02-03 16:26:51 +00:00
Hiram R. Chirino ba706d134d Added a handy little rotateTo method to be able to quickly rotate to a specific node.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@740329 13f79535-47bb-0310-9956-ffa450edef68
2009-02-03 16:02:01 +00:00
Hiram R. Chirino c01e182cfd Avoid NPE
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@740087 13f79535-47bb-0310-9956-ffa450edef68
2009-02-02 19:38:04 +00:00
Bosanac Dejan 662aee8f21 a bit better error message for https://issues.apache.org/activemq/browse/AMQ-2092
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@739966 13f79535-47bb-0310-9956-ffa450edef68
2009-02-02 11:50:29 +00:00
Gary Tully 40465998ee resolve issue with broken ra tests, allow XA operation on non transacted session, check for transaction now is xa aware
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@739961 13f79535-47bb-0310-9956-ffa450edef68
2009-02-02 11:14:05 +00:00
Bosanac Dejan 59643ef23e fix for https://issues.apache.org/activemq/browse/AMQ-2092
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@739950 13f79535-47bb-0310-9956-ffa450edef68
2009-02-02 09:28:28 +00:00
Gary Tully 564a9c2ca0 fix for https://issues.apache.org/activemq/browse/AMQ-1593
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@739307 13f79535-47bb-0310-9956-ffa450edef68
2009-01-30 15:30:24 +00:00
Bosanac Dejan 519045b7ab additional fix for https://issues.apache.org/activemq/browse/AMQ-2086; reverting changes since turning off persistence fails some tests
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@739293 13f79535-47bb-0310-9956-ffa450edef68
2009-01-30 14:33:04 +00:00
Bosanac Dejan 51f68fb110 additional fix for http://issues.apache.org/activemq/browse/AMQ-2016
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@739292 13f79535-47bb-0310-9956-ffa450edef68
2009-01-30 14:31:08 +00:00
Gary Tully 3804d66f6f resolve https://issues.apache.org/activemq/browse/AMQ-1730 - add some more tests and remove workaround for prefetch=0, relates to https://issues.apache.org/activemq/browse/AMQ-2087
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@739249 13f79535-47bb-0310-9956-ffa450edef68
2009-01-30 11:57:06 +00:00
Gary Tully 3b08860f10 resolve https://issues.apache.org/activemq/browse/AMQ-2087 - add a long attribute to RemoveInfo where the last delivered broker sequence id is passed back to the broker, prefetched messages with ids > than this value now don't get their redelivery count incremented, requires wireformat version increment and Destination api change
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@739008 13f79535-47bb-0310-9956-ffa450edef68
2009-01-29 20:51:09 +00:00
Gary Tully 02ca463bf8 disable a bunch of ra xa tests pending some investigation
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@739001 13f79535-47bb-0310-9956-ffa450edef68
2009-01-29 20:44:21 +00:00
Hiram R. Chirino 42824ffc55 Adding a handy getList() method to the LinkedNode impl
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@738946 13f79535-47bb-0310-9956-ffa450edef68
2009-01-29 18:10:03 +00:00
Bosanac Dejan f6ebeecc2a fix for https://issues.apache.org/activemq/browse/AMQ-1807
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@738904 13f79535-47bb-0310-9956-ffa450edef68
2009-01-29 16:01:35 +00:00
Gary Tully eaafb4c838 variant test case for https://issues.apache.org/activemq/browse/AMQ-2087
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@738577 13f79535-47bb-0310-9956-ffa450edef68
2009-01-28 18:25:01 +00:00
Gary Tully 06da208e16 test case for https://issues.apache.org/activemq/browse/AMQ-2087
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@738566 13f79535-47bb-0310-9956-ffa450edef68
2009-01-28 17:44:14 +00:00
Bosanac Dejan 43982afdfa apache licence headers
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@738423 13f79535-47bb-0310-9956-ffa450edef68
2009-01-28 09:52:59 +00:00
Bosanac Dejan 2bda17a6b0 additional fix for https://issues.apache.org/activemq/browse/AMQ-2086 and a couple of improvements for network tests
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@738421 13f79535-47bb-0310-9956-ffa450edef68
2009-01-28 09:50:31 +00:00
Bosanac Dejan 39dd6b914a fix for https://issues.apache.org/activemq/browse/AMQ-2086
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@738052 13f79535-47bb-0310-9956-ffa450edef68
2009-01-27 10:42:35 +00:00
David Jencks eee37fbdb4 ACTIVEMQ-2085 only create JMXConnectorServer if AMQ has created the mbean server
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@737951 13f79535-47bb-0310-9956-ffa450edef68
2009-01-27 00:55:33 +00:00
Gary Tully 9dec1b18ba test for https://issues.apache.org/activemq/browse/AMQ-2080 that shows use of reconnectDelay
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@737703 13f79535-47bb-0310-9956-ffa450edef68
2009-01-26 14:30:46 +00:00
Bosanac Dejan 26c25ebe6d adding some message group tests
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@737685 13f79535-47bb-0310-9956-ffa450edef68
2009-01-26 13:11:07 +00:00
Bosanac Dejan 977393d9e7 fix for http://issues.apache.org/activemq/browse/AMQ-2082
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@737062 13f79535-47bb-0310-9956-ffa450edef68
2009-01-23 15:56:14 +00:00
Bosanac Dejan a321204079 fix for http://issues.apache.org/activemq/browse/AMQ-2016
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@737017 13f79535-47bb-0310-9956-ffa450edef68
2009-01-23 12:11:00 +00:00
Bosanac Dejan 807f64591d Recovery dispatch refactoring as the part of the solution for the https://issues.apache.org/activemq/browse/AMQ-2016
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@736720 13f79535-47bb-0310-9956-ffa450edef68
2009-01-22 17:22:12 +00:00
David Jencks ab438f68c1 AMQ-2079 improve error messages in AMQConnection.createSession, and make ManagedConnectionProxy only supply consistent parameters
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@735914 13f79535-47bb-0310-9956-ffa450edef68
2009-01-20 02:13:31 +00:00
David Jencks 76b7822cf2 AMQ-2078 extend transaction tests to xa in ra -- missed the pom.xml mod
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@735913 13f79535-47bb-0310-9956-ffa450edef68
2009-01-20 02:07:32 +00:00
David Jencks 1f00a395f8 AMQ-2078 extend transaction tests to xa in ra
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@735912 13f79535-47bb-0310-9956-ffa450edef68
2009-01-20 02:06:37 +00:00
Gary Tully 2deea18cc2 applied patch from https://issues.apache.org/activemq/browse/AMQ-2068 with thanks
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@734981 13f79535-47bb-0310-9956-ffa450edef68
2009-01-16 11:47:02 +00:00
Bosanac Dejan e547cbdf4f fix for https://issues.apache.org/activemq/browse/AMQ-2047
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@734766 13f79535-47bb-0310-9956-ffa450edef68
2009-01-15 17:59:41 +00:00
Gary Tully 2d0fa5e415 resolve https://issues.apache.org/activemq/browse/AMQ-2051 - allow remove after remove failure
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@734524 13f79535-47bb-0310-9956-ffa450edef68
2009-01-14 21:53:02 +00:00
Gary Tully 3a56070500 resolve unit test failures from changes via: https://issues.apache.org/activemq/browse/AMQ-2034 - only use sync for close if in xa tx, this may need some rework for managed tck case
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@734393 13f79535-47bb-0310-9956-ffa450edef68
2009-01-14 13:45:17 +00:00
Bosanac Dejan d89abe0322 additional fix for https://issues.apache.org/activemq/browse/AMQ-2044
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@734364 13f79535-47bb-0310-9956-ffa450edef68
2009-01-14 12:19:15 +00:00
Gary Tully 20006a030d apply patch from https://issues.apache.org/activemq/browse/AMQ-2054
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@734256 13f79535-47bb-0310-9956-ffa450edef68
2009-01-13 22:15:25 +00:00
Gary Tully b5b6a0834d resolve https://issues.apache.org/activemq/browse/AMQ-2064 - persistence Adapter and temp store are now associated with the simple xbean system usage in the default activemq.xml
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@734194 13f79535-47bb-0310-9956-ffa450edef68
2009-01-13 17:41:50 +00:00