Commit Graph

5922 Commits

Author SHA1 Message Date
Bosanac Dejan 7df5c3bdcc ClientRebalanceTest - fix the test to avoid occasional hang
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1324799 13f79535-47bb-0310-9956-ffa450edef68
2012-04-11 15:03:03 +00:00
Timothy A. Bish 0c2144c357 prevent hanging test stalling the build.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1324779 13f79535-47bb-0310-9956-ffa450edef68
2012-04-11 14:23:27 +00:00
Timothy A. Bish 76537741fc Fix for: https://issues.apache.org/jira/browse/AMQ-3788
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1324765 13f79535-47bb-0310-9956-ffa450edef68
2012-04-11 13:54:11 +00:00
Robert Davies 4c3843809e added NIO support to the MQTT protocol for https://issues.apache.org/jira/browse/AMQ-3786
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1324714 13f79535-47bb-0310-9956-ffa450edef68
2012-04-11 11:52:06 +00:00
Timothy A. Bish ff5e7e7626 Remove unneeded tracing that was used for: https://issues.apache.org/jira/browse/AMQ-3775
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1311780 13f79535-47bb-0310-9956-ffa450edef68
2012-04-10 15:12:56 +00:00
Timothy A. Bish 34af42f444 additional fix for: https://issues.apache.org/jira/browse/AMQ-3775
ensure that the messageReferences are calculated correctly when loading a stored destination. 

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1311513 13f79535-47bb-0310-9956-ffa450edef68
2012-04-09 22:56:15 +00:00
Timothy A. Bish ccaf0839da additional test for: https://issues.apache.org/jira/browse/AMQ-3775
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1311511 13f79535-47bb-0310-9956-ffa450edef68
2012-04-09 22:50:59 +00:00
Timothy A. Bish 934eaf9923 Test can hang if the async event isn't received, add a timeout in the test loop's wait call to prevent this.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1311402 13f79535-47bb-0310-9956-ffa450edef68
2012-04-09 19:58:13 +00:00
Timothy A. Bish 681c1abf37 add a test for: https://issues.apache.org/jira/browse/AMQ-3802
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1311239 13f79535-47bb-0310-9956-ffa450edef68
2012-04-09 14:11:50 +00:00
Bosanac Dejan 2280719835 https://issues.apache.org/jira/browse/AMQ-3706 - use round-robin instead of rnd for cluster rebalancing
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1311237 13f79535-47bb-0310-9956-ffa450edef68
2012-04-09 14:07:03 +00:00
Hiram R. Chirino 392d017c6e Add a gitignore file to ignore generated files.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1311236 13f79535-47bb-0310-9956-ffa450edef68
2012-04-09 13:50:50 +00:00
Timothy A. Bish d112ad5af7 additional test and fix for: https://issues.apache.org/jira/browse/AMQ-3780
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1310559 13f79535-47bb-0310-9956-ffa450edef68
2012-04-06 19:24:33 +00:00
Gary Tully a3f85e271a https://issues.apache.org/jira/browse/AMQ-3775 - ensure no concurrent kahadb transaction in topic store
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1310410 13f79535-47bb-0310-9956-ffa450edef68
2012-04-06 15:50:03 +00:00
Timothy A. Bish 148455413e Add some additional checks and assertions to this test.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1310374 13f79535-47bb-0310-9956-ffa450edef68
2012-04-06 15:00:51 +00:00
Timothy A. Bish fa5a18b280 apply patch for: https://issues.apache.org/jira/browse/AMQ-3799
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1310350 13f79535-47bb-0310-9956-ffa450edef68
2012-04-06 14:34:43 +00:00
Bosanac Dejan 1c0dbd1a1e https://issues.apache.org/jira/browse/AMQ-3801 - job scheduler index corruption
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1309780 13f79535-47bb-0310-9956-ffa450edef68
2012-04-05 11:35:57 +00:00
Robert Davies 0f5b406b43 more functionality for MQTT for https://issues.apache.org/jira/browse/AMQ-3786
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1309566 13f79535-47bb-0310-9956-ffa450edef68
2012-04-04 19:46:26 +00:00
Bosanac Dejan 401f768414 include eclipse jdt to make activemq-web-console jetty:run work again
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1307487 13f79535-47bb-0310-9956-ffa450edef68
2012-03-30 15:49:31 +00:00
Gary Tully 6110e16f28 fix intermittent ci failure, remove dependency on free jmx rmi port
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1307340 13f79535-47bb-0310-9956-ffa450edef68
2012-03-30 10:02:26 +00:00
Gary Tully 33cdefaf2e https://issues.apache.org/jira/browse/AMQ-3792: use of the failover transport incorrectly suppresses javax.jms.InvalidClientIDException when clientId is already in use. fixup with test and fix to test dependent on wrong behaviour
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1307142 13f79535-47bb-0310-9956-ffa450edef68
2012-03-29 22:05:18 +00:00
Timothy A. Bish c6ec76e6f6 small cleanup: https://issues.apache.org/jira/browse/AMQ-3775
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1306886 13f79535-47bb-0310-9956-ffa450edef68
2012-03-29 14:49:31 +00:00
Gary Tully 81e1de95f8 https://issues.apache.org/jira/browse/AMQ-3473: add defensive null check for brokerservice and region broker in case of dup detection during initalisation or partially initialised test, pa is always eagerly created
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1306865 13f79535-47bb-0310-9956-ffa450edef68
2012-03-29 13:43:18 +00:00
Gary Tully b137af4f8a https://issues.apache.org/jira/browse/AMQ-3786 - disable tests pending commit of activemq-core/src/test/resources/org/apache/activemq/transport/mqtt dependency
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1306785 13f79535-47bb-0310-9956-ffa450edef68
2012-03-29 11:20:00 +00:00
Timothy A. Bish d2610faff4 additional fix for: https://issues.apache.org/jira/browse/AMQ-3775
The ListIndex was not properly configured after a split occurred during put operations, the
page Ids weren't set correctly on split and the tail page Id was never set. 

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1306780 13f79535-47bb-0310-9956-ffa450edef68
2012-03-29 10:33:11 +00:00
Timothy A. Bish 6d58dbef32 Adding new test to show an issue in the list lindex on removes.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1306515 13f79535-47bb-0310-9956-ffa450edef68
2012-03-28 17:55:32 +00:00
Bosanac Dejan 6236c144da https://issues.apache.org/jira/browse/AMQ-3789 - set java.io.tmpdir for console use as well
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1306441 13f79535-47bb-0310-9956-ffa450edef68
2012-03-28 15:49:50 +00:00
Bosanac Dejan d5134dec3d https://issues.apache.org/jira/browse/AMQ-3790 - bstat improvements
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1306320 13f79535-47bb-0310-9956-ffa450edef68
2012-03-28 13:39:19 +00:00
Gary Tully fb0b63e379 https://issues.apache.org/jira/browse/AMQ-3473 - Messages (possibly) stuck and pending messages count showing high number of pending message which do not get sent to a consumer. resolve the error in queue stats, message count and enqueue count when index suppressed a duplicate message add attempt
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1306228 13f79535-47bb-0310-9956-ffa450edef68
2012-03-28 09:41:50 +00:00
Bosanac Dejan aee81279cb https://issues.apache.org/jira/browse/AMQ-3789 - set java.io.tmpdir only when we start a broker
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1306224 13f79535-47bb-0310-9956-ffa450edef68
2012-03-28 09:13:39 +00:00
Gary Tully 1575f45897 ensure test starts with a clean slate, fix intermittent failure in hudson
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1305288 13f79535-47bb-0310-9956-ffa450edef68
2012-03-26 10:05:36 +00:00
Robert Davies cfc6917a79 intial files to support MQTT -see https://issues.apache.org/jira/browse/AMQ-3786
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1304984 13f79535-47bb-0310-9956-ffa450edef68
2012-03-25 06:33:49 +00:00
Robert Davies 555d8890ac dependency for MQTT support - see https://issues.apache.org/jira/browse/AMQ-3786
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1304983 13f79535-47bb-0310-9956-ffa450edef68
2012-03-25 06:30:59 +00:00
Gary Tully c3e57ec9fd resolve persistent hudson failure of org.apache.activemq.network.SimpleNetworkTest.testConduitBridge - individual cases were interfering with each other. A secondary failure, org.apache.activemq.network.SimpleNetworkTest#testDurableStoreAndForwardReconnect shows a problem with consuming an existing sub across a network, it won't work. It is not trivial to fix either, so virtual topics are a better bet in a network environment atm
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1304559 13f79535-47bb-0310-9956-ffa450edef68
2012-03-23 18:53:18 +00:00
Timothy A. Bish d92d3a8a06 fix for: https://issues.apache.org/jira/browse/AMQ-3782
avoid any potential NPE and try again.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1304057 13f79535-47bb-0310-9956-ffa450edef68
2012-03-22 21:00:17 +00:00
Gary Tully 1463bec066 https://issues.apache.org/jira/browse/AMQ-3768: ClassCastException when running some Durable Consumer test cases. root cause of the classcast was the reuse of a freed node that was still referenced as the head page id of a listindex. The fix is to not modify the head page id of a listindex when removing and coalescing linked pages, the head page remains valid for the duration of a subscription. Eventually got a test case that could easlily reproduce
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1304020 13f79535-47bb-0310-9956-ffa450edef68
2012-03-22 20:01:40 +00:00
Timothy A. Bish 5cd9ebaeb7 fis for: https://issues.apache.org/jira/browse/AMQ-3718
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1303544 13f79535-47bb-0310-9956-ffa450edef68
2012-03-21 19:55:30 +00:00
Hiram R. Chirino b96bb1ff4b Add the fusesource snapshot repo so that the leveldb snapshot can be downloaded.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1303502 13f79535-47bb-0310-9956-ffa450edef68
2012-03-21 18:59:21 +00:00
Timothy A. Bish 3cea40d889 https://issues.apache.org/jira/browse/AMQ-3775
Ensure that the orderIndex is reset to a good state. 

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1303128 13f79535-47bb-0310-9956-ffa450edef68
2012-03-20 20:10:59 +00:00
Timothy A. Bish 1419103c18 https://issues.apache.org/jira/browse/AMQ-3775
Update test to not use a static port for the broker Uri.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1303113 13f79535-47bb-0310-9956-ffa450edef68
2012-03-20 19:26:54 +00:00
Timothy A. Bish 926fdd7e92 fix and test for: https://issues.apache.org/jira/browse/AMQ-3780
ensure that non-persistent messages are cleaned up from temp storage when the Queue is deleted.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1302977 13f79535-47bb-0310-9956-ffa450edef68
2012-03-20 16:26:07 +00:00
Robert Davies 1d7b69d55c Added package.html for levelDB stub - for https://issues.apache.org/jira/browse/AMQ-3772
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1302912 13f79535-47bb-0310-9956-ffa450edef68
2012-03-20 14:24:04 +00:00
Hiram R. Chirino 21a9a6596b Use the snapshot version of the leveldb store..
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1302911 13f79535-47bb-0310-9956-ffa450edef68
2012-03-20 14:20:26 +00:00
Timothy A. Bish cdacf82428 fix bad logger define.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1302910 13f79535-47bb-0310-9956-ffa450edef68
2012-03-20 14:19:56 +00:00
Robert Davies bd5124cf94 Added config test for LevelDB - for https://issues.apache.org/jira/browse/AMQ-3772
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1302904 13f79535-47bb-0310-9956-ffa450edef68
2012-03-20 14:06:37 +00:00
Robert Davies ca83305faa add property optimizeMessageStoreInFlightLimit on destinations so can set the inflight limit above which optimize store dispatch is no longer applied - for https://issues.apache.org/jira/browse/AMQ-3750
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1302887 13f79535-47bb-0310-9956-ffa450edef68
2012-03-20 13:40:03 +00:00
Timothy A. Bish f32792a9fc fix for: https://issues.apache.org/jira/browse/AMQ-3776
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1302883 13f79535-47bb-0310-9956-ffa450edef68
2012-03-20 13:36:10 +00:00
Timothy A. Bish f2867cffcb fix for: https://issues.apache.org/jira/browse/AMQ-3777
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1302879 13f79535-47bb-0310-9956-ffa450edef68
2012-03-20 13:28:04 +00:00
Timothy A. Bish 13e5777efb additional test for: https://issues.apache.org/jira/browse/AMQ-3775
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1302641 13f79535-47bb-0310-9956-ffa450edef68
2012-03-19 20:23:51 +00:00
Timothy A. Bish 0af0021d0b fix and test for: https://issues.apache.org/jira/browse/AMQ-3775
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1302607 13f79535-47bb-0310-9956-ffa450edef68
2012-03-19 19:23:12 +00:00
Jonathan Anstey d6917ea4bc AMQ-3774 - update jdom bundle version to match Camel and ServiceMix
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1302596 13f79535-47bb-0310-9956-ffa450edef68
2012-03-19 18:56:16 +00:00