Commit Graph

2802 Commits

Author SHA1 Message Date
Gary Tully a27709b086 make test more tolerant to slower machines, replace sleep with timed wait : https://issues.apache.org/activemq/browse/AMQ-1936
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@798859 13f79535-47bb-0310-9956-ffa450edef68
2009-07-29 11:35:41 +00:00
Gary Tully 763e331318 make test more tolerant to slower machines, resolve intermittent failure
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@798852 13f79535-47bb-0310-9956-ffa450edef68
2009-07-29 10:46:38 +00:00
Gary Tully 6f3c99991d resolve https://issues.apache.org/activemq/browse/AMQ-2075 - async dispatch of brokerInfo could end up getting dispatched after messages
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@798842 13f79535-47bb-0310-9956-ffa450edef68
2009-07-29 10:26:19 +00:00
Robert Davies 66dd8cdae3 Fix for https://issues.apache.org/activemq/browse/AMQ-2335
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@798785 13f79535-47bb-0310-9956-ffa450edef68
2009-07-29 05:24:24 +00:00
Gary Tully 8274f09dd4 resolve https://issues.apache.org/activemq/browse/AMQ-1191 by introducing driver specific locker so that impl for sql_server can diverge from those of oracle etc. Thus the patch is applied to a transact sql specific impl - the impls are defined in a resoruce file in the same way as the adapters. The default locker now remains unchanged. Also updated to the latest stable jmock 2.5.1
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@798602 13f79535-47bb-0310-9956-ffa450edef68
2009-07-28 16:44:47 +00:00
Gary Tully a8d3908586 resolve intermittent hang of JDBCQueueMasterSlaveTest - shutdown of the executor used to check the db lock during shutdown may cause the shutdown thread to interrupt and die before shutdown is complete. A wait for shutdown to complete can hang forever. Just cancelling the periodic tasks is sufficient
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@797685 13f79535-47bb-0310-9956-ffa450edef68
2009-07-24 23:00:20 +00:00
Bosanac Dejan 444412f0df fix for https://issues.apache.org/activemq/browse/AMQ-1380 - upgrade to activeio 3.1.2 and remove backport dependencies
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@797359 13f79535-47bb-0310-9956-ffa450edef68
2009-07-24 08:31:56 +00:00
Gary Tully f36aa55c4a improve assert information to help diagnose intermittent failure
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@796983 13f79535-47bb-0310-9956-ffa450edef68
2009-07-23 09:00:40 +00:00
Gary Tully 432dcfeecf reenable test to verify https://issues.apache.org/activemq/browse/AMQ1936
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@796734 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22 14:12:36 +00:00
Gary Tully c94279e12e add some detail to the assertion to help diagnost intermittent failure
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@796733 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22 14:11:45 +00:00
Gary Tully 5a0f76d0f2 make test more tolerant to slow machines
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@796694 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22 13:10:31 +00:00
Gary Tully fb42a11835 resolve potential test hang if jdbc persistence adapter stop results in an exception, it should handle and log any exceptions
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@796681 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22 11:58:14 +00:00
Gary Tully 7f8eb612cd ensure a hang does not block full test run to determine if hang can be isolated
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@796673 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22 11:29:56 +00:00
Gary Tully 32acb34018 test case for https://issues.apache.org/activemq/browse/AMQ-2183
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@796646 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22 09:42:34 +00:00
Gary Tully f998d1b3dc suppress info message on failure to send remove command as this will always fail on shutdown for a vm connection which is ugly for the default config. leave it at debug level
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@795914 13f79535-47bb-0310-9956-ffa450edef68
2009-07-20 16:52:44 +00:00
Gary Tully 3f32e76ac6 apply modified patch and test case to resolve: https://issues.apache.org/activemq/browse/AMQ-2216
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@795848 13f79535-47bb-0310-9956-ffa450edef68
2009-07-20 14:12:48 +00:00
Gary Tully 5e90f00e8d defer task start till cursor is started - https://issues.apache.org/activemq/browse/AMQ-1112
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@795733 13f79535-47bb-0310-9956-ffa450edef68
2009-07-20 09:59:03 +00:00
Gary Tully a1bd85e0bc use non compencating schedualler and ensure DLQ copies message early - ensures accurate processing of expired messages - https://issues.apache.org/activemq/browse/AMQ-1112
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@795270 13f79535-47bb-0310-9956-ffa450edef68
2009-07-17 23:18:29 +00:00
Bosanac Dejan e5584e6e78 fix for https://issues.apache.org/activemq/browse/AMQ-2327 - close proxy consumers
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@795069 13f79535-47bb-0310-9956-ffa450edef68
2009-07-17 12:43:59 +00:00
Gary Tully ed0b08bbd9 resolve intermittent failure resulting from fix for https://issues.apache.org/activemq/browse/AMQ-2283 - match of url needs to take account of absent query parameters in broadcast address
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@794315 13f79535-47bb-0310-9956-ffa450edef68
2009-07-15 16:03:24 +00:00
Bosanac Dejan 11e407ea45 modifying the tests so we can verify that all proxy consumers are closed
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@794240 13f79535-47bb-0310-9956-ffa450edef68
2009-07-15 11:56:39 +00:00
Gary Tully ca242f4a34 resolve some issue with duplicate expiry due to concurrent execution with expiry task and dispatch/acks etc. some more tests for stats included - https://issues.apache.org/activemq/browse/AMQ-1112
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@793892 13f79535-47bb-0310-9956-ffa450edef68
2009-07-14 12:59:19 +00:00
Bosanac Dejan 8c6e5dccea allow stomp test to run nicely on slower boxes
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@792911 13f79535-47bb-0310-9956-ffa450edef68
2009-07-10 12:20:51 +00:00
Bosanac Dejan d3649fc709 fix for https://issues.apache.org/activemq/browse/AMQ-1804 - connection factory xbean
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@792884 13f79535-47bb-0310-9956-ffa450edef68
2009-07-10 11:10:30 +00:00
Gary Tully dbe847e0da resolve https://issues.apache.org/activemq/browse/AMQ-2322 - test and correction
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@792598 13f79535-47bb-0310-9956-ffa450edef68
2009-07-09 16:26:42 +00:00
Gary Tully a72f26f0df resolve https://issues.apache.org/activemq/browse/AMQ-2321
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@792591 13f79535-47bb-0310-9956-ffa450edef68
2009-07-09 16:00:29 +00:00
Gary Tully 5c15b52e51 give reconnect randomness some more time to kick in
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@792538 13f79535-47bb-0310-9956-ffa450edef68
2009-07-09 13:00:40 +00:00
Gary Tully c19e93976c wait for broker start and jmx rmi endpoint for slow machines
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@792533 13f79535-47bb-0310-9956-ffa450edef68
2009-07-09 12:48:48 +00:00
Gary Tully 63f14732c7 patched test from: https://issues.apache.org/activemq/browse/AMQ-1763 - still cannot reproduce
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@792220 13f79535-47bb-0310-9956-ffa450edef68
2009-07-08 16:40:54 +00:00
Gary Tully bd1b10c207 resolve https://issues.apache.org/activemq/browse/AMQ-2283. In suppressing asyncColos I found the need to suppress brodcast of query parameters by the multicast discovery agent as server side and client side options are not compatible. Added support to the DiscoveryTransport to apply query parameters to each uri that it discovers.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@792127 13f79535-47bb-0310-9956-ffa450edef68
2009-07-08 13:00:44 +00:00
Gary Tully 2a6c87259c disable ProxyConnectorTest pending resolution of https://issues.apache.org/activemq/browse/AMQ-2050
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@792078 13f79535-47bb-0310-9956-ffa450edef68
2009-07-08 09:25:28 +00:00
Gary Tully 7a59d284dc resolve https://issues.apache.org/activemq/browse/AMQ-1112 - fix issues with inflight count when messages expire on the consumer/client and on consumer close
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@791881 13f79535-47bb-0310-9956-ffa450edef68
2009-07-07 15:54:32 +00:00
Robert Davies 8c70e4a780 Added fix for https://issues.apache.org/activemq/browse/AMQ-1282
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@791708 13f79535-47bb-0310-9956-ffa450edef68
2009-07-07 05:34:00 +00:00
Gary Tully c688b78617 remove broker topic version of this test
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@791593 13f79535-47bb-0310-9956-ffa450edef68
2009-07-06 19:58:24 +00:00
Robert Davies 5a0da57be8 Fix for https://issues.apache.org/activemq/browse/AMQ-2318
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@791549 13f79535-47bb-0310-9956-ffa450edef68
2009-07-06 17:31:48 +00:00
Bosanac Dejan 5807370a24 swithcing to commons logging
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@791466 13f79535-47bb-0310-9956-ffa450edef68
2009-07-06 12:43:29 +00:00
Gary Tully 7ac1bb8baa enable a few more expiry tests - https://issues.apache.org/activemq/browse/AMQ-1112
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@790957 13f79535-47bb-0310-9956-ffa450edef68
2009-07-03 16:07:04 +00:00
Gary Tully 00bb52bcde validate shared file system master/slave with single shared brokerurl
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@790929 13f79535-47bb-0310-9956-ffa450edef68
2009-07-03 14:34:46 +00:00
Gary Tully 6a121b33ed test for no consumer and expiry - https://issues.apache.org/activemq/browse/AMQ-1112
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@790928 13f79535-47bb-0310-9956-ffa450edef68
2009-07-03 14:33:44 +00:00
Gary Tully c6a485f90b first cut of resolution to deterministic expiry https://issues.apache.org/activemq/browse/AMQ-1112 - default period is 30 seconds, destination policy entry allows it to be specified or turned off (0)
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@790880 13f79535-47bb-0310-9956-ffa450edef68
2009-07-03 12:02:07 +00:00
Bosanac Dejan e583839810 excluding the test for https://issues.apache.org/activemq/browse/AMQ-1112 until it's fixed, so we can have successful builds
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@790526 13f79535-47bb-0310-9956-ffa450edef68
2009-07-02 09:54:36 +00:00
Bosanac Dejan 5a8d59d107 fixing test for https://issues.apache.org/activemq/browse/AMQ-2303 - 200 consumers is too much for some linux machines, too many open files
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@790521 13f79535-47bb-0310-9956-ffa450edef68
2009-07-02 09:38:49 +00:00
Bruce Snyder 7da1e6eb80 Adding a test for AMQ-1112
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@790199 13f79535-47bb-0310-9956-ffa450edef68
2009-07-01 14:52:21 +00:00
Bosanac Dejan 101c35b8e8 final fix for https://issues.apache.org/activemq/browse/AMQ-2303 - durable subsciber recovery
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@790113 13f79535-47bb-0310-9956-ffa450edef68
2009-07-01 10:58:44 +00:00
Gary Tully b97dbff52a basic test case for https://issues.apache.org/activemq/browse/AMQ-1763 - but does not show the problem atm
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@790087 13f79535-47bb-0310-9956-ffa450edef68
2009-07-01 09:28:56 +00:00
Bruce Snyder 0f1907138b Added a better exception and error message for exceeding the maximumConnections - AMQ-1928
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@789851 13f79535-47bb-0310-9956-ffa450edef68
2009-06-30 17:52:12 +00:00
Gary Tully 22422ac5de have the test wait for advisories for slower machines, resolve intermittent failure
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@789810 13f79535-47bb-0310-9956-ffa450edef68
2009-06-30 15:58:08 +00:00
Gary Tully a740183da2 remove check in inflight as it is not totally deterministic so this test randomly fails on some machines
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@789691 13f79535-47bb-0310-9956-ffa450edef68
2009-06-30 12:23:01 +00:00
Bosanac Dejan d20da4460d temporary fix for durable consumer test
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@789626 13f79535-47bb-0310-9956-ffa450edef68
2009-06-30 08:56:03 +00:00
Bruce Snyder 7cf47287b8 Slight enhancements in logging for AMQ-2158
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@789378 13f79535-47bb-0310-9956-ffa450edef68
2009-06-29 16:29:37 +00:00
Gary Tully 753b21047a apply patch for: https://issues.apache.org/activemq/browse/AMQ-2308 with thanks; apply fix for https://issues.apache.org/activemq/browse/AMQ-1993 to the client side
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@789291 13f79535-47bb-0310-9956-ffa450edef68
2009-06-29 11:32:06 +00:00
Bosanac Dejan 2e7d2195cc fix for https://issues.apache.org/activemq/browse/AMQ-2303 - durable subsciber recovery
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@789283 13f79535-47bb-0310-9956-ffa450edef68
2009-06-29 10:41:30 +00:00
Gary Tully 3d6034b7eb resolve: https://issues.apache.org/activemq/browse/AMQ-2305 - think the correct fix is to have the masterBroker stop but not propagate the stop through the filter chain. if it does not stop then it will have a bunch of failures on sync with the slave. the issues is visible when a plugin is the next brokerfilter in the chain
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@788757 13f79535-47bb-0310-9956-ffa450edef68
2009-06-26 16:38:01 +00:00
Gary Tully 5313490304 fix sync of getTx in transaction Store, could result in extra uncommited tx hanging about under high load
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@788646 13f79535-47bb-0310-9956-ffa450edef68
2009-06-26 10:09:24 +00:00
Gary Tully a0b9aec6e9 test case for https://issues.apache.org/activemq/browse/AMQ-2305 - seems to work fine
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@788429 13f79535-47bb-0310-9956-ffa450edef68
2009-06-25 16:57:14 +00:00
Gary Tully 3d77a2f90c add reduced version of patch from: https://issues.apache.org/activemq/browse/AMQ-2158 - warn on exceeding 80% - leave rest at debug level
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@788316 13f79535-47bb-0310-9956-ffa450edef68
2009-06-25 10:50:34 +00:00
Bosanac Dejan 29e3702cfd test case for https://issues.apache.org/activemq/browse/AMQ-2303 - durable consumers recovery
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@788068 13f79535-47bb-0310-9956-ffa450edef68
2009-06-24 16:09:17 +00:00
Gary Tully e2778fbf7d apply modified suggstion from https://issues.apache.org/activemq/browse/AMQ-1191 - executeQuery conditional on statement metadata which works when statement does not return a result set like with derby which is used in the unit tests
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@787990 13f79535-47bb-0310-9956-ffa450edef68
2009-06-24 12:04:50 +00:00
Gary Tully 9670af1e0d resolve https://issues.apache.org/activemq/browse/AMQ-2298 - respect priority when suppressing duplicate network subscriptions
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@787855 13f79535-47bb-0310-9956-ffa450edef68
2009-06-23 22:29:47 +00:00
Gary Tully 1ebc6eeb04 https://issues.apache.org/activemq/browse/AMQ-2290 - patch applied with thanks
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@786451 13f79535-47bb-0310-9956-ffa450edef68
2009-06-19 11:00:22 +00:00
Bosanac Dejan 2cdb51bb74 fix for https://issues.apache.org/activemq/browse/AMQ-2292 - ReadOnlyAsyncDataManager NPE
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@785525 13f79535-47bb-0310-9956-ffa450edef68
2009-06-17 09:31:54 +00:00
Bosanac Dejan 78e7221d3e fix for https://issues.apache.org/activemq/browse/AMQ-2291 - jdbc sequence changed to long
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@784862 13f79535-47bb-0310-9956-ffa450edef68
2009-06-15 16:58:14 +00:00
Gary Tully 07822041b4 capture exception in log on slave start failure
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@784711 13f79535-47bb-0310-9956-ffa450edef68
2009-06-15 10:11:24 +00:00
Robert Davies 1e821c5d41 updates xsd for KahaDB
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@784348 13f79535-47bb-0310-9956-ffa450edef68
2009-06-13 08:10:08 +00:00
Robert Davies f82530d93b Added perf test for KahaDB and update XBeans for KahaDB Persistence Adapter
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@784062 13f79535-47bb-0310-9956-ffa450edef68
2009-06-12 10:44:50 +00:00
Gary Tully 38b840a61f resolve https://issues.apache.org/activemq/browse/AMQ-2285 - pull file locking outside setting opened state so that an open does not ocurr unless the lock is available, sorts out Npe on shutdown
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@783384 13f79535-47bb-0310-9956-ffa450edef68
2009-06-10 14:59:02 +00:00
Gary Tully a88a513e3c fix file lock usage in kahadb store, so shared file system master slave can work
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@783364 13f79535-47bb-0310-9956-ffa450edef68
2009-06-10 14:06:59 +00:00
Gary Tully fbddf4f868 resolve https://issues.apache.org/activemq/browse/AMQ-2274 - add simple Boolean PropertyEditor implementation
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@783281 13f79535-47bb-0310-9956-ffa450edef68
2009-06-10 10:27:26 +00:00
Gary Tully 34f00a6a03 remove camel dependencies from core, now all in activemq-camel
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@782984 13f79535-47bb-0310-9956-ffa450edef68
2009-06-09 12:54:56 +00:00
Bosanac Dejan fee7f6a710 fix for https://issues.apache.org/activemq/browse/AMQ-2282 - ibm jdk test failures
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@782037 13f79535-47bb-0310-9956-ffa450edef68
2009-06-05 15:08:24 +00:00
Gary Tully 7b78c36485 improve error message reporting
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@782030 13f79535-47bb-0310-9956-ffa450edef68
2009-06-05 14:25:35 +00:00
Gary Tully 32ff105a20 remove deprecated camel-swing dependency
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@782029 13f79535-47bb-0310-9956-ffa450edef68
2009-06-05 14:24:34 +00:00
Gary Tully 63baaf038a resolve: https://issues.apache.org/activemq/browse/AMQ-2277 - patch applied with thanks
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@781312 13f79535-47bb-0310-9956-ffa450edef68
2009-06-03 09:24:05 +00:00
Bosanac Dejan c43eda363b fix for https://issues.apache.org/activemq/browse/AMQ-2232 - jmx operations on secured broker
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@781022 13f79535-47bb-0310-9956-ffa450edef68
2009-06-02 12:48:47 +00:00
Bosanac Dejan 1d5440a1cd reopen https://issues.apache.org/activemq/browse/AMQ-1936 - excluded test case as it hangs on some linux machines ... needs to be ivestigated further
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@779556 13f79535-47bb-0310-9956-ffa450edef68
2009-05-28 10:45:47 +00:00
Gary Tully 684c901016 have failover transport use shared random generator so random can loadbalance in the same jvm
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@778777 13f79535-47bb-0310-9956-ffa450edef68
2009-05-26 15:55:49 +00:00
Robert Davies c2922ad1fc Added test case from Richard Yager for https://issues.apache.org/activemq/browse/AMQ-1918
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@778622 13f79535-47bb-0310-9956-ffa450edef68
2009-05-26 08:49:11 +00:00
Gary Tully 7135a68559 disable nio test pending investigation
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@778124 13f79535-47bb-0310-9956-ffa450edef68
2009-05-24 12:07:36 +00:00
Robert Davies 25b216548d Fix for https://issues.apache.org/activemq/browse/AMQ-1629
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@777821 13f79535-47bb-0310-9956-ffa450edef68
2009-05-23 07:49:39 +00:00
Robert Davies a77e964b92 Fix for https://issues.apache.org/activemq/browse/AMQ-2134
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@777806 13f79535-47bb-0310-9956-ffa450edef68
2009-05-23 06:32:35 +00:00
Robert Davies c02d2462b5 INcrease Consumer Count
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@777804 13f79535-47bb-0310-9956-ffa450edef68
2009-05-23 06:11:47 +00:00
Robert Davies 2b28443a05 Added test case for https://issues.apache.org/activemq/browse/AMQ-1936
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@777803 13f79535-47bb-0310-9956-ffa450edef68
2009-05-23 06:11:28 +00:00
Gary Tully a707594a8d https://issues.apache.org/activemq/browse/AMQ-2262 and https://issues.apache.org/activemq/browse/AMQ-2265
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@777716 13f79535-47bb-0310-9956-ffa450edef68
2009-05-22 21:23:48 +00:00
Hiram R. Chirino 2a1ec7c99e rolling back change committed in rev 777209
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@777666 13f79535-47bb-0310-9956-ffa450edef68
2009-05-22 19:24:46 +00:00
Gary Tully 9b801d19d0 help with https://issues.apache.org/activemq/browse/AMQ-2262 when messages are discarded broker side
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@777527 13f79535-47bb-0310-9956-ffa450edef68
2009-05-22 14:00:04 +00:00
Gary Tully b997d257d5 resolve https://issues.apache.org/activemq/browse/AMQ-2265, revert https://issues.apache.org/activemq/browse/AMQ-2262, inflight count stil needs work
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@777463 13f79535-47bb-0310-9956-ffa450edef68
2009-05-22 10:46:20 +00:00
Bosanac Dejan 461af7c9e1 fix for https://issues.apache.org/activemq/browse/AMQ-2262 - inflight message count
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@777225 13f79535-47bb-0310-9956-ffa450edef68
2009-05-21 19:19:57 +00:00
Hiram R. Chirino e22a37a70e Extended the Marshaller interface so that users can determin if uses fixed size records. Kahadb should be able to make some optimizations
on fixed sized objects.



git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@777209 13f79535-47bb-0310-9956-ffa450edef68
2009-05-21 18:34:45 +00:00
Gary Tully f7cba2a28e allow configuring the wireformat maxInactivityDurationInitalDelay
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@776743 13f79535-47bb-0310-9956-ffa450edef68
2009-05-20 15:49:47 +00:00
Gary Tully bb153aeb12 reduce message to info when iteration takes > 100ms from warn
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@775990 13f79535-47bb-0310-9956-ffa450edef68
2009-05-18 15:33:56 +00:00
Gary Tully 634a52a4a2 resolve https://issues.apache.org/activemq/browse/AMQ-2253
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@775094 13f79535-47bb-0310-9956-ffa450edef68
2009-05-15 12:02:22 +00:00
Gary Tully 558ff7802d additional test for https://issues.apache.org/activemq/browse/AMQ-2233, broker in 5.2, works on trunk
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@775064 13f79535-47bb-0310-9956-ffa450edef68
2009-05-15 09:27:46 +00:00
Gary Tully 5414e76a85 allow access to selector manager instance so that number of nio channels per thread can be configured
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@775058 13f79535-47bb-0310-9956-ffa450edef68
2009-05-15 09:02:04 +00:00
Gary Tully 1421317bd2 resolve https://issues.apache.org/activemq/browse/AMQ-2252 - deadlock with nio and optimizeDispatch and test case
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@774829 13f79535-47bb-0310-9956-ffa450edef68
2009-05-14 15:46:52 +00:00
Bosanac Dejan 34ee8cc7dd rmoveing log4j surefire configuration as it clashes with CI tools. Should be uncommented manually
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@774738 13f79535-47bb-0310-9956-ffa450edef68
2009-05-14 12:03:15 +00:00
Gary Tully 9124460797 fix intermittent failure of test, depended on two distinct calls to currentTimeMillis matching, needs a range check rather than equals
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@774731 13f79535-47bb-0310-9956-ffa450edef68
2009-05-14 11:21:12 +00:00
Gary Tully 9383c6d697 resolve alternative path to https://issues.apache.org/activemq/browse/AMQ-2241 via ra where connection is reused. state tracker was not notified when remove command is suppressed and simulated during transport outage
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@774712 13f79535-47bb-0310-9956-ffa450edef68
2009-05-14 09:57:24 +00:00
Gary Tully 2407a7b4ec improve failure reporting in assert
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@774431 13f79535-47bb-0310-9956-ffa450edef68
2009-05-13 16:57:42 +00:00
Bosanac Dejan 09bae42a83 partial fix for https://issues.apache.org/activemq/browse/AMQ-2238 - http transport improvements
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@774421 13f79535-47bb-0310-9956-ffa450edef68
2009-05-13 16:43:31 +00:00
Gary Tully dd1b847ad7 improve error reporting from classcast
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@773986 13f79535-47bb-0310-9956-ffa450edef68
2009-05-12 17:14:24 +00:00
Gary Tully 4b4ce4aaf2 resolve https://issues.apache.org/activemq/browse/AMQ-2246
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@773985 13f79535-47bb-0310-9956-ffa450edef68
2009-05-12 17:13:10 +00:00
Gary Tully 245771a14d test case for https://issues.apache.org/activemq/browse/AMQ-2233 with prefetch workaround
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@773862 13f79535-47bb-0310-9956-ffa450edef68
2009-05-12 11:31:04 +00:00
Bosanac Dejan 62e1abfb90 fix for https://issues.apache.org/activemq/browse/AMQ-2245 - broker restart
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@773569 13f79535-47bb-0310-9956-ffa450edef68
2009-05-11 14:15:58 +00:00
Bosanac Dejan 206df1bd57 test case for https://issues.apache.org/activemq/browse/AMQ-2195
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@772931 13f79535-47bb-0310-9956-ffa450edef68
2009-05-08 10:39:03 +00:00
Gary Tully 01e2aec7b5 resolve https://issues.apache.org/activemq/browse/AMQ-2241 - ensure default session is created for a duplicate connection request
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@771718 13f79535-47bb-0310-9956-ffa450edef68
2009-05-05 13:28:59 +00:00
Bosanac Dejan a49ba6c040 fix for https://issues.apache.org/activemq/browse/AMQ-2224 and additional fix for https://issues.apache.org/activemq/browse/AMQ-2221
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@768300 13f79535-47bb-0310-9956-ffa450edef68
2009-04-24 13:17:25 +00:00
Bosanac Dejan 82d7182939 fix for https://issues.apache.org/activemq/browse/AMQ-2221 - improvments for timestamp plugin
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@768219 13f79535-47bb-0310-9956-ffa450edef68
2009-04-24 08:27:10 +00:00
Bosanac Dejan 6fc95f5ce8 specifically add log4j.properties location, since surefire will ignore it if pertest fork mode is used
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@767849 13f79535-47bb-0310-9956-ffa450edef68
2009-04-23 08:27:55 +00:00
Gary Tully 047030447d give test some more time for slower machines
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@766639 13f79535-47bb-0310-9956-ffa450edef68
2009-04-20 10:18:31 +00:00
Gary Tully 4e0609f5cb resolve AMQ-2210|https://issues.apache.org/activemq/browse/AMQ-2210, in hindsight, it does not make sense to wait for dispatch in anycase as the message will always get replayed at some stage. an un dispatched ack is expected in this case so it is correct to ignore it. Revert wait from AMQ-2149|https://issues.apache.org/activemq/browse/AMQ-2149
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@765921 13f79535-47bb-0310-9956-ffa450edef68
2009-04-17 09:36:51 +00:00
Bosanac Dejan 4441fa7442 name unnamed timers
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@765212 13f79535-47bb-0310-9956-ffa450edef68
2009-04-15 14:25:07 +00:00
Bosanac Dejan e6790674dc fix for https://issues.apache.org/activemq/browse/AMQ-2209 - deleting queue does not remove messages
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@765141 13f79535-47bb-0310-9956-ffa450edef68
2009-04-15 11:37:45 +00:00
Gary Tully 0c89959c59 remove duplicate log info, AMQ-2198|https://issues.apache.org/activemq/browse/AMQ-2198
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@765133 13f79535-47bb-0310-9956-ffa450edef68
2009-04-15 11:01:29 +00:00
Bosanac Dejan ff59a598cc removing commons lang import statement
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@764403 13f79535-47bb-0310-9956-ffa450edef68
2009-04-13 10:57:44 +00:00
Bosanac Dejan 8f80e34292 additional fix for https://issues.apache.org/activemq/browse/AMQ-2086 - remove commons-lang dependency
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@764377 13f79535-47bb-0310-9956-ffa450edef68
2009-04-13 08:51:03 +00:00
Bosanac Dejan d185430ffe Fix for https://issues.apache.org/activemq/browse/AMQ-2086 - duplex connector and excluded destinations
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@763993 13f79535-47bb-0310-9956-ffa450edef68
2009-04-10 17:58:32 +00:00
Gary Tully 3da13732ec some additional tests for AMQ-2198|https://issues.apache.org/activemq/browse/AMQ-2198, also additional logging
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@763983 13f79535-47bb-0310-9956-ffa450edef68
2009-04-10 17:31:40 +00:00
Gary Tully 966658fdad resolve AMQ-2199|https://issues.apache.org/activemq/browse/AMQ-2199 add a latch for the event that initialises the localbrokerid and path
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@763565 13f79535-47bb-0310-9956-ffa450edef68
2009-04-09 09:05:17 +00:00
Gary Tully 5b8a886891 tidy up logging for network connectors, make debug level usefull
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@762996 13f79535-47bb-0310-9956-ffa450edef68
2009-04-07 22:16:53 +00:00
Gary Tully 5511217fb1 implement AMQ-2198|https://issues.apache.org/activemq/browse/AMQ-2198 add setSuppressDuplicateQueueSubscriptions option to Network configuration, when true, duplicate subs for the same consumer will be suppressed, relevant when networkTTL > 1
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@762925 13f79535-47bb-0310-9956-ffa450edef68
2009-04-07 19:48:29 +00:00
Gary Tully 9f548bb74a ensure duplicate acks are send immediatly and supppress outstanding delivery acks on transport resumption, AMQ-2149|https://issues.apache.org/activemq/browse/AMQ-2149
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@762464 13f79535-47bb-0310-9956-ffa450edef68
2009-04-06 19:20:12 +00:00
Gary Tully 21cd3e69c6 tidy up logging
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@762287 13f79535-47bb-0310-9956-ffa450edef68
2009-04-06 11:32:33 +00:00
Gary Tully 1f4757b9d1 revert prefetch and maxPageSize to defaults to transaction tests, issue was negative inflight count due to duplicate acks, prefetch and max page size was a just a workaround that is not now needed AMQ-2149|https://issues.apache.org/activemq/browse/AMQ-2149
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@761610 13f79535-47bb-0310-9956-ffa450edef68
2009-04-03 10:57:40 +00:00
Gary Tully e45bb06907 further tests and fixes related to failover, this time transactions and topics. prefetch and maxPageSize are relevant in the transacted. With redeliveries the prefetch needs to be less than half the transaction size and the maxPageSize needs to exceed the transaction span. more tests in AMQ-2149|https://issues.apache.org/activemq/browse/AMQ-2149 and some amendments to the fixes for that issue
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@761597 13f79535-47bb-0310-9956-ffa450edef68
2009-04-03 10:16:28 +00:00
Bosanac Dejan f8ef7ff31f https://issues.apache.org/activemq/browse/AMQ-2195 - receive should throw an exception if the connection is lost
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@761301 13f79535-47bb-0310-9956-ffa450edef68
2009-04-02 14:03:54 +00:00
Gary Tully eab5a3a2e2 topic version of test case for AMQ-2149|https://issues.apache.org/activemq/browse/AMQ-2149 with associated fixes to suppress duplicates and out of order messages
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@760721 13f79535-47bb-0310-9956-ffa450edef68
2009-03-31 23:10:04 +00:00
Gary Tully c8e518b2dc fix duplicate detection of messages recovered when space limit is reached and fix cursor cache reenablement when free space becomes available, AMQ-2149
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@760075 13f79535-47bb-0310-9956-ffa450edef68
2009-03-30 18:04:20 +00:00
Gary Tully b896467146 make single ack id visible
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@759125 13f79535-47bb-0310-9956-ffa450edef68
2009-03-27 13:02:36 +00:00
Gary Tully 24dced675c add some redirection to the deprecated method
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@758908 13f79535-47bb-0310-9956-ffa450edef68
2009-03-26 22:49:46 +00:00
Gary Tully 9a0de1ccaf exercise the features of AMQ-2168|https://issues.apache.org/activemq/browse/AMQ-2168 enhanced LoggingBrokerPlugin
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@758779 13f79535-47bb-0310-9956-ffa450edef68
2009-03-26 18:08:01 +00:00
Gary Tully 681d149ffd apply patch from AMQ-2168|https://issues.apache.org/activemq/browse/AMQ-2168 enhanced LoggingBrokerPlugin
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@758777 13f79535-47bb-0310-9956-ffa450edef68
2009-03-26 18:00:43 +00:00
Gary Tully 84dbbc758b patch applied with thanks: AMQ-2178|https://issues.apache.org/activemq/browse/AMQ-2178
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@758721 13f79535-47bb-0310-9956-ffa450edef68
2009-03-26 16:27:35 +00:00
Gary Tully 132f662209 resolve AMQ-2149|https://issues.apache.org/activemq/browse/AMQ-2149 - isses with kaha reference store and duplicate messages, recovery of duplicaes and recovery with memory limits and session duplicate acks resulting in out of order message dispatch, more detail in the jira and test case
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@758678 13f79535-47bb-0310-9956-ffa450edef68
2009-03-26 15:22:57 +00:00
Gary Tully 31c7e620c2 add waitUntilStarted to broker service so it is possible to wait till recovery is complete
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@758268 13f79535-47bb-0310-9956-ffa450edef68
2009-03-25 14:30:50 +00:00
Gary Tully fb9a292be1 share the test
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@758200 13f79535-47bb-0310-9956-ffa450edef68
2009-03-25 10:17:45 +00:00
Bosanac Dejan 42d91a3b79 fix for https://issues.apache.org/activemq/browse/AMQ-2179; xpath selectors and boolean expressions
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@758184 13f79535-47bb-0310-9956-ffa450edef68
2009-03-25 09:12:52 +00:00
Gary Tully 86ec0553c5 further tests for AMQ-2149
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@756469 13f79535-47bb-0310-9956-ffa450edef68
2009-03-20 14:06:45 +00:00
Gary Tully 08aecbee6e partial fix for AMQ2149|http://issues.apache.org/activemq/browse/AMQ-2149 , contention when usage limit reached can lead to out or order mesage dispatch
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@755715 13f79535-47bb-0310-9956-ffa450edef68
2009-03-18 19:49:39 +00:00
Gary Tully 7b16aec2c0 apply patch from https://issues.apache.org/activemq/browse/AMQ-2154, with thanks
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@754973 13f79535-47bb-0310-9956-ffa450edef68
2009-03-16 18:22:41 +00:00
Hiram R. Chirino 6e989edaa1 The useInactivityMonitor option can now be used to disable configuring a inactivity montior on the transport.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@754963 13f79535-47bb-0310-9956-ffa450edef68
2009-03-16 17:22:40 +00:00
Hiram R. Chirino b41e1a7579 Making handly CONSTANT public
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@754962 13f79535-47bb-0310-9956-ffa450edef68
2009-03-16 17:21:45 +00:00
Hiram R. Chirino 95ff01053a Allow the negociation protocol to be used when not inserted as a transport filter.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@754959 13f79535-47bb-0310-9956-ffa450edef68
2009-03-16 17:13:20 +00:00
Gary Tully 3b06e128f9 resolve: AMQ-2144|https://issues.apache.org/activemq/browse/AMQ-2144 - patch applied with thanks
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@753297 13f79535-47bb-0310-9956-ffa450edef68
2009-03-13 15:18:27 +00:00
Bosanac Dejan 2a58f4c3a2 fix for https://issues.apache.org/activemq/browse/AMQ-2160
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@753222 13f79535-47bb-0310-9956-ffa450edef68
2009-03-13 12:33:18 +00:00
Gary Tully a91f59a201 resolve AMQ-2153|https://issues.apache.org/activemq/browse/AMQ-2153
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@753221 13f79535-47bb-0310-9956-ffa450edef68
2009-03-13 12:29:23 +00:00
Gary Tully f9d5449f47 resolve AMQ-2102|https://issues.apache.org/activemq/browse/AMQ-2102 - refactor message dispatch on slave to take account of subscription choice on the master, this ensures slave is in sync w.r.t outstanding acks. processDispatchNotification imoplemented by Queue type destinations which delegates to subscription after doing a dispatch, test demonstrates slve out of sync errors
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@753214 13f79535-47bb-0310-9956-ffa450edef68
2009-03-13 11:59:08 +00:00
Gary Tully 6d9163af39 seems to hang on slow HP box, ensure it does not stop rest of the tests using autoFailSupport
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@750885 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 13:20:50 +00:00
Gary Tully c7b48c4757 little more info in exception
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@750537 13f79535-47bb-0310-9956-ffa450edef68
2009-03-05 18:25:59 +00:00
Gary Tully b56cb8f3e2 AMQ-2094. fix break of org.apache.activemq.transport.tcp.SslContextNBrokerServiceTest where localhost and host name resolve to different interfaces as now the broker just listens on one interface unless ip:0.0.0.0 is used. The connectorUri did nore reflect the socket
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@750532 13f79535-47bb-0310-9956-ffa450edef68
2009-03-05 18:16:13 +00:00
Gary Tully 212a7904a9 fix AMQ-2102, apply patch from ying with test from dan, the test shows stack traces on console re slave out of sync, patch resolved this
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@750455 13f79535-47bb-0310-9956-ffa450edef68
2009-03-05 13:25:44 +00:00
David Jencks 563ec4433a AMQ-2094 Apply patch to allow binding to specific IP address
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@749464 13f79535-47bb-0310-9956-ffa450edef68
2009-03-02 23:07:22 +00:00
Gary Tully d98ea376ba resolve mem leak in kahadb - AMQ-2143
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@748218 13f79535-47bb-0310-9956-ffa450edef68
2009-02-26 17:32:37 +00:00
Bosanac Dejan 337962273d typo fix for https://issues.apache.org/activemq/browse/AMQ-1859
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@748205 13f79535-47bb-0310-9956-ffa450edef68
2009-02-26 16:42:22 +00:00
Bosanac Dejan f54713a7b3 fix for https://issues.apache.org/activemq/browse/AMQ-1859
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@748204 13f79535-47bb-0310-9956-ffa450edef68
2009-02-26 16:39:40 +00:00
Gary Tully 8e6446ffcd resolve AMQ-2123, deal with the topic dispatch case where a subscription arrives between store of message and dispatch of message
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@747951 13f79535-47bb-0310-9956-ffa450edef68
2009-02-25 23:03:10 +00:00
Bosanac Dejan 0a5ae2b68e additional fix for https://issues.apache.org/activemq/browse/AMQ-2074
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@747391 13f79535-47bb-0310-9956-ffa450edef68
2009-02-24 14:18:29 +00:00
Gary Tully 9d9d4cd69d apply patch from AMQ-2109, with thanks
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@747384 13f79535-47bb-0310-9956-ffa450edef68
2009-02-24 14:05:28 +00:00
Bosanac Dejan 2de531cb52 fix for https://issues.apache.org/activemq/browse/AMQ-2074
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@747030 13f79535-47bb-0310-9956-ffa450edef68
2009-02-23 14:36:03 +00:00
James Strachan e24a791f6e Fix for AMQ-2130 to upgrade to Camel 2.0
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@746263 13f79535-47bb-0310-9956-ffa450edef68
2009-02-20 14:52:36 +00:00
Gary Tully ae2a3e2182 a little more time for slow networks
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@746191 13f79535-47bb-0310-9956-ffa450edef68
2009-02-20 10:09:23 +00:00
Gary Tully 184761a119 tidy up redispatch logic a little more, resolve: AMQ-2128, deliver acks on dispose in auto_ack mode. also get some closure on: MQ-2075
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@745953 13f79535-47bb-0310-9956-ffa450edef68
2009-02-19 18:15:59 +00:00
Bosanac Dejan 76d9fccb2d additional fix for https://issues.apache.org/activemq/browse/AMQ-2085
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@745833 13f79535-47bb-0310-9956-ffa450edef68
2009-02-19 12:09:21 +00:00
Bosanac Dejan 8b0bb3373a additional fix for https://issues.apache.org/activemq/browse/AMQ-2104 and https://issues.apache.org/activemq/browse/AMQ-1509
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@745558 13f79535-47bb-0310-9956-ffa450edef68
2009-02-18 16:24:56 +00:00
Gary Tully 9e3e5ad4cc re AMQ-2076, see if a little more time will help
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@745490 13f79535-47bb-0310-9956-ffa450edef68
2009-02-18 12:15:58 +00:00
Gary Tully 7f5e6667f4 partial fix for AMQ-2075
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@745480 13f79535-47bb-0310-9956-ffa450edef68
2009-02-18 11:43:29 +00:00
Gary Tully 9216c18c73 little refactor of recovery dispatch as now only used for browser dispatch
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@745456 13f79535-47bb-0310-9956-ffa450edef68
2009-02-18 09:44:31 +00:00
Bosanac Dejan 9ad6c089fa fix for https://issues.apache.org/activemq/browse/AMQ-2120
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@745031 13f79535-47bb-0310-9956-ffa450edef68
2009-02-17 12:56:24 +00:00
Gary Tully e48ff70d4b resolve AMQ-2111, only the network subscription that causes the initial subscription needs to be tracked as this is the one that will be propagated via an advisory to the rest of the network. The existing update was making a mod to a possibly inflight advisory message
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@744983 13f79535-47bb-0310-9956-ffa450edef68
2009-02-17 12:04:57 +00:00
Gary Tully 9f8777d3a0 resolve AMQ-2121, shared lock needs to be less contentious
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@744975 13f79535-47bb-0310-9956-ffa450edef68
2009-02-17 11:57:23 +00:00
Gary Tully b4aa979d90 fix intermittent failure when sync close beats async ack
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@744972 13f79535-47bb-0310-9956-ffa450edef68
2009-02-17 11:55:53 +00:00
Bosanac Dejan b0eb9731c0 two consumers test for zero prefetch
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@744947 13f79535-47bb-0310-9956-ffa450edef68
2009-02-16 15:54:04 +00:00
Bosanac Dejan 32d6841a13 A few more failover transport uri test combinations
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@744870 13f79535-47bb-0310-9956-ffa450edef68
2009-02-16 09:50:51 +00:00
Bosanac Dejan 049b43cd17 refactored failover uri test to support testing multiple values
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@744112 13f79535-47bb-0310-9956-ffa450edef68
2009-02-13 13:48:51 +00:00
Bosanac Dejan 479acad417 fix for https://issues.apache.org/activemq/browse/AMQ-2096
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@744082 13f79535-47bb-0310-9956-ffa450edef68
2009-02-13 11:29:01 +00:00
Bosanac Dejan 34b125e18f changing names of excluded kaha tests
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@744042 13f79535-47bb-0310-9956-ffa450edef68
2009-02-13 09:05:10 +00:00
Hiram R. Chirino e16a63815f The wireFormat option needs to get removed otherwise you'll get an error saying that it's unrecognized
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@743870 13f79535-47bb-0310-9956-ffa450edef68
2009-02-12 20:29:31 +00:00
Bosanac Dejan a18a55f75c excluding kaha tests as they are failing occasionally
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@743743 13f79535-47bb-0310-9956-ffa450edef68
2009-02-12 13:58:32 +00:00
Bosanac Dejan 610d5272ec additional fix for https://issues.apache.org/activemq/browse/AMQ-2103; some tests were failing because of this change
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@743741 13f79535-47bb-0310-9956-ffa450edef68
2009-02-12 13:57:22 +00:00
Bosanac Dejan b2148c5e7a fix for https://issues.apache.org/activemq/browse/AMQ-2104
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@743320 13f79535-47bb-0310-9956-ffa450edef68
2009-02-11 13:07:04 +00:00
Robert Davies 69e5f769b2 Fix for https://issues.apache.org/activemq/browse/AMQ-2103
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@743258 13f79535-47bb-0310-9956-ffa450edef68
2009-02-11 07:34:26 +00:00
Gary Tully 9a60743876 test for AMQ-2100
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@743027 13f79535-47bb-0310-9956-ffa450edef68
2009-02-10 17:38:28 +00:00
Gary Tully cfb4234cee fix up org.apache.activemq.network.MulticastNetworkTest
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@742941 13f79535-47bb-0310-9956-ffa450edef68
2009-02-10 11:51:43 +00:00
Robert Davies 586ea12d1e Fix for https://issues.apache.org/activemq/browse/AMQ-2100
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@742876 13f79535-47bb-0310-9956-ffa450edef68
2009-02-10 08:07:16 +00:00
Gary Tully 504bcf0596 demote log error or async exception to warn, with sendFailIfNoSpace, logs gets spammed with expected error messages
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@742603 13f79535-47bb-0310-9956-ffa450edef68
2009-02-09 16:33:50 +00:00
Bosanac Dejan 15065b71c7 fix for https://issues.apache.org/activemq/browse/AMQ-2088
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@742458 13f79535-47bb-0310-9956-ffa450edef68
2009-02-09 12:49:42 +00:00
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
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
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