4472 Commits

Author SHA1 Message Date
Timothy A. Bish
d16a6fc883 Move test to client and remove an empty folder.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1409856 13f79535-47bb-0310-9956-ffa450edef68
2012-11-15 16:01:18 +00:00
Timothy A. Bish
a6ebc8d116 move more tests specific to activemq-client to that module from activemq-core
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1409624 13f79535-47bb-0310-9956-ffa450edef68
2012-11-15 00:50:01 +00:00
Timothy A. Bish
54a11b96de move the Kaha store tests into the activemq-amq-store module
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1409621 13f79535-47bb-0310-9956-ffa450edef68
2012-11-15 00:36:53 +00:00
Timothy A. Bish
6010bd3d97 Move some of the KahaDB tests from core into the KahaDB store module
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1409554 13f79535-47bb-0310-9956-ffa450edef68
2012-11-14 23:31:34 +00:00
Timothy A. Bish
21b2f84399 fix for breakage caused by earlier fix to: https://issues.apache.org/jira/browse/AMQ-4062
Only reconfigure when keepDurableSubsActive=false

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1409489 13f79535-47bb-0310-9956-ffa450edef68
2012-11-14 22:43:15 +00:00
Timothy A. Bish
dd0b16d38b apply patch: https://issues.apache.org/jira/browse/AMQ-4160
Additional fixes and test updates.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1409045 13f79535-47bb-0310-9956-ffa450edef68
2012-11-14 00:46:27 +00:00
Hiram R. Chirino
8387295ade Take the activemq-amqp module out of the ustable profile, include it in the default assembly.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1408918 13f79535-47bb-0310-9956-ffa450edef68
2012-11-13 19:49:39 +00:00
Hiram R. Chirino
11e0df8e04 Fixing up activemq-amqp build a bit.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1408917 13f79535-47bb-0310-9956-ffa450edef68
2012-11-13 19:49:23 +00:00
Timothy A. Bish
478927e6b8 https://issues.apache.org/jira/browse/AMQ-4165
Remove tests associated with the now removed Pure Master Slave functionality. 

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1408881 13f79535-47bb-0310-9956-ffa450edef68
2012-11-13 18:39:06 +00:00
Timothy A. Bish
7f346a8b79 fixes for: https://issues.apache.org/jira/browse/AMQ-4160
Fixed the code to properly handle the active events adds and remove. 
Disable one of the test cases because the fixed code now invalidates that test case. 

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1408415 13f79535-47bb-0310-9956-ffa450edef68
2012-11-12 19:39:14 +00:00
Timothy A. Bish
1236bbf6f4 Move STOMP unit tests into the STOMP module and clean them up:
All tests now use a common StompTestSupport base class to remove cut and paste test code.
All tests are now using JUnit 4 tests.
All tests are run with AutoFailSupport on so they won't hang.
All tests use dynamic port assignment so they shouldn't clash with others.

Cleaned up the pom file

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1408161 13f79535-47bb-0310-9956-ffa450edef68
2012-11-12 00:15:50 +00:00
Gary Tully
fdd0534fcb https://issues.apache.org/jira/browse/AMQ-4166 - fix processing of expired - stack-trace-1.txt was in error, expiry check should not have used the oneshot broker check, just checing the messages state is required
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1407640 13f79535-47bb-0310-9956-ffa450edef68
2012-11-09 21:13:57 +00:00
Gary Tully
aac50fc57c https://issues.apache.org/jira/browse/AMQ-4103 - fix default jdbc locker impl - same problem as lease after refactor from https://issues.apache.org/jira/browse/AMQ-4005
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1407621 13f79535-47bb-0310-9956-ffa450edef68
2012-11-09 20:36:27 +00:00
Hiram R. Chirino
0729dd88d6 Revert the last change.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1407544 13f79535-47bb-0310-9956-ffa450edef68
2012-11-09 17:04:57 +00:00
Hiram R. Chirino
9a00637622 Clear out the failing tests in the exclude-broken profile, lets rebuild the list of actual failing tests.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1407524 13f79535-47bb-0310-9956-ffa450edef68
2012-11-09 16:25:13 +00:00
Hiram R. Chirino
aa36bba9a0 Support being able to test against the LevelDB store too.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1407523 13f79535-47bb-0310-9956-ffa450edef68
2012-11-09 16:25:08 +00:00
Hiram R. Chirino
4702739db2 Restoring data files which got messed up during my refactors.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1407519 13f79535-47bb-0310-9956-ffa450edef68
2012-11-09 16:09:02 +00:00
Hiram R. Chirino
e6bfc94fe2 Update test to use full paths to data files so that it can work from an IDE too
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1407512 13f79535-47bb-0310-9956-ffa450edef68
2012-11-09 15:58:19 +00:00
Hiram R. Chirino
a68916dcc5 Fixes AMQ-4167 and AMQ-4168, also changes the MQTT tests to use dynamic ports to avoid port conflicts. Fixes SSL tests.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1407497 13f79535-47bb-0310-9956-ffa450edef68
2012-11-09 15:42:41 +00:00
Hiram R. Chirino
ecaae53fe8 Moved the remaining bits to the activemq-optional module to a trash dir that we won't build anymore. We can clean it out once we are sure we don't need anything from it.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1407199 13f79535-47bb-0310-9956-ffa450edef68
2012-11-08 18:13:11 +00:00
Hiram R. Chirino
60646c955b Moved the amp-store related command to the activemq-amqp-store module. Hand to introduce dynamic Command discovery to get this working and remove the compile time dependency on activemq-spring from the activemq-console module.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1407178 13f79535-47bb-0310-9956-ffa450edef68
2012-11-08 17:35:58 +00:00
Hiram R. Chirino
0dd8f2c4d0 Don't run perf tests.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1407067 13f79535-47bb-0310-9956-ffa450edef68
2012-11-08 13:20:10 +00:00
Hiram R. Chirino
2fa95b3326 This perf test took way too long.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1407066 13f79535-47bb-0310-9956-ffa450edef68
2012-11-08 13:20:04 +00:00
Hiram R. Chirino
e16295c561 Fixes failing test.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1407019 13f79535-47bb-0310-9956-ffa450edef68
2012-11-08 11:31:04 +00:00
Hiram R. Chirino
1a2cbe7641 Fixup failing LevelDB XA test.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1407018 13f79535-47bb-0310-9956-ffa450edef68
2012-11-08 11:25:49 +00:00
Hiram R. Chirino
7c9fec6e25 Removed all un-needed dependencies from the activemq-broker pom. Moved the remaining spring support classes into activemq-spring.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1406852 13f79535-47bb-0310-9956-ffa450edef68
2012-11-07 22:53:41 +00:00
Hiram R. Chirino
bfbe90b399 rename the activemq-leveldb module to activemq-leveldb-store to be consistent with other store modules. Move more spring/xbean support bits into the activemq-spring module.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1406726 13f79535-47bb-0310-9956-ffa450edef68
2012-11-07 17:26:31 +00:00
Hiram R. Chirino
c5cf03806d Refactored out the remaining plugins in the activemq-core module into their own modules.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1406686 13f79535-47bb-0310-9956-ffa450edef68
2012-11-07 16:00:07 +00:00
Timothy A. Bish
4f0810acbf update: https://issues.apache.org/jira/browse/AMQ-4159
Don't wait forever for test to complete. 

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1406661 13f79535-47bb-0310-9956-ffa450edef68
2012-11-07 14:57:02 +00:00
Hiram R. Chirino
58aca86981 Refactor all the core broker classes from the activemq-core module into the activemq-broker module.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1406629 13f79535-47bb-0310-9956-ffa450edef68
2012-11-07 13:37:50 +00:00
Hiram R. Chirino
9a8f6e415d Refactored the classes needed to run an ActiveMQ JMS client out from the activemq-core module to the activemq-client module.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1406466 13f79535-47bb-0310-9956-ffa450edef68
2012-11-07 05:00:17 +00:00
Hiram R. Chirino
803c42d4da Add missing lic headers for extracted interfaces.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1406374 13f79535-47bb-0310-9956-ffa450edef68
2012-11-06 22:10:28 +00:00
Hiram R. Chirino
0484af1c61 Keep the broker.scheduler package free of kahadb impl specifics.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1406371 13f79535-47bb-0310-9956-ffa450edef68
2012-11-06 22:05:06 +00:00
Hiram R. Chirino
d5dd937b81 Extract out a PListStore interface so that the broker can be decoupled from the KahaDB store implementation.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1406370 13f79535-47bb-0310-9956-ffa450edef68
2012-11-06 22:04:50 +00:00
Hiram R. Chirino
1aab71b2a7 Move the kahadb disk IO classes under org.apache.activemq.store.kahadb. Drop redundant util classes.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1406369 13f79535-47bb-0310-9956-ffa450edef68
2012-11-06 22:04:26 +00:00
Hiram R. Chirino
715010a1ea Merged the kahadb module into activemq-core since it's the only known user of the module. Will allow us to eliminate dup util classes.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1406368 13f79535-47bb-0310-9956-ffa450edef68
2012-11-06 22:03:14 +00:00
Timothy A. Bish
5c20b8ed72 fix for: https://issues.apache.org/jira/browse/AMQ-3016
Don't count-down the shutdown latch early. 

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1406355 13f79535-47bb-0310-9956-ffa450edef68
2012-11-06 21:49:48 +00:00
Gary Tully
7410257c2f https://issues.apache.org/jira/browse/AMQ-4162 - visibility on destination query string options, destinationView.options - useful for user metadata about the destination
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1406210 13f79535-47bb-0310-9956-ffa450edef68
2012-11-06 16:30:31 +00:00
Robert Davies
19622d36a6 Fix for https://issues.apache.org/jira/browse/AMQ-4161
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1406186 13f79535-47bb-0310-9956-ffa450edef68
2012-11-06 15:37:50 +00:00
Timothy A. Bish
1942324dc3 Apply patch for: https://issues.apache.org/jira/browse/AMQ-4160
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1405934 13f79535-47bb-0310-9956-ffa450edef68
2012-11-05 20:21:51 +00:00
Timothy A. Bish
7f0fd0aa06 Apply patch for: https://issues.apache.org/jira/browse/AMQ-4159
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1405836 13f79535-47bb-0310-9956-ffa450edef68
2012-11-05 15:30:55 +00:00
Gary Tully
c7d8715cd7 fix up regression from: https://issues.apache.org/jira/browse/AMQ-3746 - ensure broker is always non null for topicSubscription
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1405817 13f79535-47bb-0310-9956-ffa450edef68
2012-11-05 14:54:43 +00:00
Timothy A. Bish
32e009dd7b fix for: https://issues.apache.org/jira/browse/AMQ-4156
More defensive checks when queuing read and write checks to the static executor.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1405122 13f79535-47bb-0310-9956-ffa450edef68
2012-11-02 19:39:53 +00:00
Claus Ibsen
b6347ee6d3 AMQ-4153: Fixed issue with ActiveMQWASInitialContextFactory
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1404896 13f79535-47bb-0310-9956-ffa450edef68
2012-11-02 08:57:40 +00:00
Timothy A. Bish
5e03927da7 fix up test case
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1404830 13f79535-47bb-0310-9956-ffa450edef68
2012-11-01 23:34:21 +00:00
Timothy A. Bish
af4edb335a apply patch for: https://issues.apache.org/jira/browse/AMQ-3930
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1404757 13f79535-47bb-0310-9956-ffa450edef68
2012-11-01 20:45:11 +00:00
Timothy A. Bish
566039fa5b fix and updated test for: https://issues.apache.org/jira/browse/AMQ-4149
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1404732 13f79535-47bb-0310-9956-ffa450edef68
2012-11-01 19:44:37 +00:00
Timothy A. Bish
5207f02e6a fix brokerSerivce instances left running if assertions fail
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1404354 13f79535-47bb-0310-9956-ffa450edef68
2012-10-31 21:13:45 +00:00
Timothy A. Bish
0ad3cfc11e fix brokerSerivce instances left running if assertions fail
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1404348 13f79535-47bb-0310-9956-ffa450edef68
2012-10-31 21:06:15 +00:00
Gary Tully
13270e4e74 AMQ-4056 - ensure we do a close
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1404271 13f79535-47bb-0310-9956-ffa450edef68
2012-10-31 17:50:03 +00:00