Gary Tully
4dda0d8353
resolve npe if no mbeans found
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@742443 13f79535-47bb-0310-9956-ffa450edef68
2009-02-09 12:27:07 +00:00
Gary Tully
657e6fa1dd
add extra assert to consumer advisory test
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@742377 13f79535-47bb-0310-9956-ffa450edef68
2009-02-09 10:26:19 +00:00
Hiram R. Chirino
b7c2b678bb
Added a new TempKahaDBStore which is an optimized KahaDB based message for temporary messages.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@741769 13f79535-47bb-0310-9956-ffa450edef68
2009-02-06 22:49:01 +00:00
Hiram R. Chirino
f73b622a60
Change the way journal records are validated on recovery to be consistent. We now use a checksum to provide better consistency.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@741741 13f79535-47bb-0310-9956-ffa450edef68
2009-02-06 21:35:39 +00:00
Hiram R. Chirino
d761e80ae4
- added some handy generic visitors to the BTreeVisitor class.
...
- Updated the recovery process so it now rollsback changes applied to the index which did not get synced to the journal.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@741659 13f79535-47bb-0310-9956-ffa450edef68
2009-02-06 18:19:31 +00:00
Gary Tully
ca80106573
resolve unit test break, check for tx need to be overridden to take care of shared case
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@741646 13f79535-47bb-0310-9956-ffa450edef68
2009-02-06 17:28:13 +00:00
Hiram R. Chirino
789ea7cab9
Making the removeDataFile a little smarter to avoid removing data files that are still being worked on
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@741600 13f79535-47bb-0310-9956-ffa450edef68
2009-02-06 15:54:19 +00:00
Hiram R. Chirino
51e82d59e7
better synchronization of the metadata.lastUpdate var
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@741597 13f79535-47bb-0310-9956-ffa450edef68
2009-02-06 15:42:22 +00:00
Gary Tully
deea2d11a8
expose relevant index attributes for configuration from kahadb
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@741528 13f79535-47bb-0310-9956-ffa450edef68
2009-02-06 10:59:47 +00:00
Hiram R. Chirino
d89a302041
Fixed StoreQueueCursorKahaDBNoDuplicateTest
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@741334 13f79535-47bb-0310-9956-ffa450edef68
2009-02-05 22:46:01 +00:00
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