Commit Graph

4540 Commits

Author SHA1 Message Date
Hiram R. Chirino c65c25ddb6 Avoid Class cast exception in test case.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1418706 13f79535-47bb-0310-9956-ffa450edef68
2012-12-08 16:46:11 +00:00
Hiram R. Chirino 77a679b03f Also run tests against LevelDB
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1418699 13f79535-47bb-0310-9956-ffa450edef68
2012-12-08 16:02:09 +00:00
Hiram R. Chirino 32e63dce28 Fixes AMQ-4215: Simplify PList interface and provide a LevelDB store implementation.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1418686 13f79535-47bb-0310-9956-ffa450edef68
2012-12-08 15:21:14 +00:00
Timothy A. Bish a2cb4a88f7 fix and test for: https://issues.apache.org/jira/browse/AMQ-4213
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1418454 13f79535-47bb-0310-9956-ffa450edef68
2012-12-07 19:37:00 +00:00
Christian Posta 25d396b589 Fix for:
https://issues.apache.org/jira/browse/AMQ-4209 - NetworkConnector and NetworkBridgeConfiguration have same named private variables for excludedDestination
https://issues.apache.org/jira/browse/AMQ-4210 -DynamicallyIncludedDestinations is not enforced for the other end of duplex bridge

excludedDestinations
dynamicallyIncludedDestinations
staticallyIncludedDestinations
Updated some tests: request-reply with temp dest is not supported with dynamicallyAddedDestinations ATM

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1418373 13f79535-47bb-0310-9956-ffa450edef68
2012-12-07 16:13:49 +00:00
Timothy A. Bish 321d9ef310 tweak the xbean generate task so it won't error out.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1415846 13f79535-47bb-0310-9956-ffa450edef68
2012-11-30 20:42:40 +00:00
Gary Tully 9235028ca7 https://issues.apache.org/jira/browse/AMQ-3894 - remove requirement for destination property enforced by spring - for a default entry there is no need for a destination - remove validating test
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1415740 13f79535-47bb-0310-9956-ffa450edef68
2012-11-30 17:04:02 +00:00
Gary Tully fc706d074a https://issues.apache.org/jira/browse/AMQ-4196 - Christian nice test
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1415409 13f79535-47bb-0310-9956-ffa450edef68
2012-11-29 22:10:19 +00:00
Gary Tully 78022e2b9d fix up use of wrong mbean object name for durable sub - use system assigned port
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1415405 13f79535-47bb-0310-9956-ffa450edef68
2012-11-29 22:05:06 +00:00
Hiram R. Chirino 1877a14a60 Changes for https://issues.apache.org/jira/browse/AMQ-4165 : Remove pure master/slave functionality
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1414203 13f79535-47bb-0310-9956-ffa450edef68
2012-11-27 14:24:55 +00:00
Hiram R. Chirino 30f531d741 Changes for https://issues.apache.org/jira/browse/AMQ-4165 : Remove pure master/slave functionality
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1413846 13f79535-47bb-0310-9956-ffa450edef68
2012-11-26 21:13:25 +00:00
Timothy A. Bish de30d11f94 fix typo in O name and use a signature of "MD5 with RSA" to match old versions to fix issues on AIX
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1413717 13f79535-47bb-0310-9956-ffa450edef68
2012-11-26 16:55:46 +00:00
Timothy A. Bish f42d6bb1fb Regen certs and use a signature of "MD5 with RSA" to match old versions to fix issues on AIX
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1413691 13f79535-47bb-0310-9956-ffa450edef68
2012-11-26 15:52:14 +00:00
Bosanac Dejan 915333e1d5 https://issues.apache.org/jira/browse/AMQ-4181 - jms queue browsing
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1411632 13f79535-47bb-0310-9956-ffa450edef68
2012-11-20 11:59:46 +00:00
Timothy A. Bish b928ccbf47 Update the openwire generator so it can cope with the new module layout and separation of openwire marsahaler tests in activemq-core from the actual marshaler code in activemq-client
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1410119 13f79535-47bb-0310-9956-ffa450edef68
2012-11-16 00:06:02 +00:00
Timothy A. Bish daae3e6530 remove the unneeded m2e plugin mapping as its not needed in this module any longer.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1409989 13f79535-47bb-0310-9956-ffa450edef68
2012-11-15 20:34:17 +00:00
Gary Tully a8a7693996 https://issues.apache.org/jira/browse/AMQ-4083 - update assertions in org.apache.activemq.usecases.ExpiredMessagesWithNoConsumerTest regression to reflect new ack strategy around expired messages
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1409962 13f79535-47bb-0310-9956-ffa450edef68
2012-11-15 20:09:45 +00:00
Gary Tully fb62989e5e https://issues.apache.org/jira/browse/AMQ-4108 - fix unit test regression, QueueMasterSlaveTest, related to https://issues.apache.org/jira/browse/AMQ-4005 and the dual impl of broker service aware. the auto created locker was not getting its broker service init. flakyness in test related to exponential backoff tool long for reconnect
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1409871 13f79535-47bb-0310-9956-ffa450edef68
2012-11-15 16:34:02 +00:00
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
Bosanac Dejan 90beb3fb7d https://issues.apache.org/jira/browse/AMQ-4108 - master broker advisory - fix sub-test failures
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1404196 13f79535-47bb-0310-9956-ffa450edef68
2012-10-31 15:20:55 +00:00
Christian Posta f7c799309d https://issues.apache.org/jira/browse/AMQ-4145 IntrospectionSupport does not convert from primitive to Wrapper classes appropriately
Added two tests to show the conversion was not happening properly, and added an identity converter to the TypeConversionSupport to do a pass-through conversion on types that are the same after a primitive to wrapper class conversion

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1404165 13f79535-47bb-0310-9956-ffa450edef68
2012-10-31 14:23:45 +00:00
Timothy A. Bish cb3392c307 updated test case to check: https://issues.apache.org/jira/browse/AMQ-4149 could not reproduce issue.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1404122 13f79535-47bb-0310-9956-ffa450edef68
2012-10-31 13:10:14 +00:00
Timothy A. Bish 6d08aca024 fix for: https://issues.apache.org/jira/browse/AMQ-4129 Adds support for the STOMP v1.2 spec changes.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1403869 13f79535-47bb-0310-9956-ffa450edef68
2012-10-30 21:09:15 +00:00
Hiram R. Chirino 2f258702f1 Fixes AMQ-4146: String properties in JMS selector expression should not get auto converted to numbers per spec.
If you really want to auto convert string property values to numerics, prefix the selector with 'convert_string_expressions:'.  This change makes the last failing Joram test case pass.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1403754 13f79535-47bb-0310-9956-ffa450edef68
2012-10-30 15:56:31 +00:00
Hiram R. Chirino b4a29250b4 Fixes AMQ-4144: When used in a message selector, the JMSDeliveryMode header field should be treated as having the values 'PERSISTENT' and 'NON_PERSISTENT'.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1403751 13f79535-47bb-0310-9956-ffa450edef68
2012-10-30 15:56:05 +00:00
Timothy A. Bish 90eb05c0fb Add fix for: https://issues.apache.org/jira/browse/AMQ-4119
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1403496 13f79535-47bb-0310-9956-ffa450edef68
2012-10-29 20:50:35 +00:00
Timothy A. Bish 8f19af70f4 apply patch for: https://issues.apache.org/jira/browse/AMQ-4142
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1403466 13f79535-47bb-0310-9956-ffa450edef68
2012-10-29 19:21:20 +00:00
Timothy A. Bish afe73c1861 fix and tests for: https://issues.apache.org/jira/browse/AMQ-3746
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1403073 13f79535-47bb-0310-9956-ffa450edef68
2012-10-28 18:58:06 +00:00
Timothy A. Bish f0b3f1c6e0 Polish up some old code.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1402661 13f79535-47bb-0310-9956-ffa450edef68
2012-10-26 21:04:15 +00:00
Hiram R. Chirino 4a294080e3 Support disabling the broker auto startup XBean behavior.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1402651 13f79535-47bb-0310-9956-ffa450edef68
2012-10-26 20:28:38 +00:00
Timothy A. Bish e6285b7426 fix for: https://issues.apache.org/jira/browse/AMQ-4133
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1402354 13f79535-47bb-0310-9956-ffa450edef68
2012-10-25 23:16:57 +00:00
Timothy A. Bish 838206ff92 fix for: https://issues.apache.org/jira/browse/AMQ-4132
Allow the transport to reassemble OpenWire commands from multiple chunks of varying size which can occur depending on the cipher suite.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1402317 13f79535-47bb-0310-9956-ffa450edef68
2012-10-25 20:14:33 +00:00
Robert Davies 556ee7b48e Fixed a spelling in an error message
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1402189 13f79535-47bb-0310-9956-ffa450edef68
2012-10-25 15:28:44 +00:00
Gary Tully ba5fdc5915 test case for https://issues.apache.org/jira/browse/AMQ-4122 - that does not show a problem atm
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1401849 13f79535-47bb-0310-9956-ffa450edef68
2012-10-24 19:59:43 +00:00
Timothy A. Bish d3571a6154 update for: https://issues.apache.org/jira/browse/AMQ-4123
make the test use the Wait condition instead of hard sleeps

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1401666 13f79535-47bb-0310-9956-ffa450edef68
2012-10-24 13:13:57 +00:00
Gary Tully 6b44c3c9d1 disable jmx b/c we can't ensure the rmi server port is available - see http://svn.apache.org/viewvc?view=revision&revision=1382852 which removed the socket factory that set setReuseAddress - https://issues.apache.org/jira/browse/AMQ-4033
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1401661 13f79535-47bb-0310-9956-ffa450edef68
2012-10-24 13:01:35 +00:00
Timothy A. Bish f8f24e8307 fix for: https://issues.apache.org/jira/browse/AMQ-4126
Also relates to: https://issues.apache.org/jira/browse/AMQ-3996

Test case added

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1401511 13f79535-47bb-0310-9956-ffa450edef68
2012-10-23 23:06:50 +00:00
Christian Posta d212d3c02a AMQ-4123 Improve MQTT Inactivity Monitoring
* Fixed broken MQTTTests
* Added more tests around Inactivity Monitoring / MQTT keep alive
* Removed the KeepAliveInfo check from the MQTTInactivityMonitor, clarified the PINGREQ/RESP frames in the inactivity check
* Implemented a grace period for the keep alive on the server side per MQTT spec
* Fixed clientId assignment
* Added "default" keep alive for server-side control of lingering MQTT connections

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1401509 13f79535-47bb-0310-9956-ffa450edef68
2012-10-23 22:52:06 +00:00
Timothy A. Bish 692411e989 Fix some spelling errors in the API docs.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1401445 13f79535-47bb-0310-9956-ffa450edef68
2012-10-23 20:26:25 +00:00
Timothy A. Bish 7a2293d743 fix and test for: https://issues.apache.org/jira/browse/AMQ-4106
NIO based transports weren't updating the receive counter in the TcpTransport which can lead to the inactivity monitor mistakenly shutting down the connection.  

Forgot one. 

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1401397 13f79535-47bb-0310-9956-ffa450edef68
2012-10-23 19:15:34 +00:00
Timothy A. Bish 78265ea211 fix and test for: https://issues.apache.org/jira/browse/AMQ-4106
NIO based transports weren't updating the receive counter in the TcpTransport which can lead to the inactivity monitor mistakenly shutting down the connection.  

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1401394 13f79535-47bb-0310-9956-ffa450edef68
2012-10-23 19:13:19 +00:00
Timothy A. Bish 79127ae440 Add a method for manually send a keep alive value to the broker.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1401300 13f79535-47bb-0310-9956-ffa450edef68
2012-10-23 14:14:39 +00:00
Bosanac Dejan 7cb7d188f9 https://issues.apache.org/jira/browse/AMQ-3485 - make sure prefetch size of zero is a workaround
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1401261 13f79535-47bb-0310-9956-ffa450edef68
2012-10-23 12:16:47 +00:00
Christian Posta 8a5f160fd2 Tests for https://issues.apache.org/jira/browse/AMQ-4123
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1401102 13f79535-47bb-0310-9956-ffa450edef68
2012-10-22 22:01:08 +00:00
Gary Tully f6970c76ae polish test shutdown, jdk7 ci builds show regular failure here with jmx reuse
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1400839 13f79535-47bb-0310-9956-ffa450edef68
2012-10-22 11:24:23 +00:00
Gary Tully f129a0be89 https://issues.apache.org/jira/browse/AMQ-4118 - polish test
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1400319 13f79535-47bb-0310-9956-ffa450edef68
2012-10-19 22:30:27 +00:00
Gary Tully 4cf6151a8c https://issues.apache.org/jira/browse/AMQ-4118 - resolve with test. keep cache uptodate when overflow chain is released so new end page is visible as terminus
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1400317 13f79535-47bb-0310-9956-ffa450edef68
2012-10-19 22:19:38 +00:00
Timothy A. Bish 2ad13d682a fix for: https://issues.apache.org/jira/browse/AMQ-4117
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1400304 13f79535-47bb-0310-9956-ffa450edef68
2012-10-19 21:41:39 +00:00
Timothy A. Bish 0fffe21720 fix for: https://issues.apache.org/jira/browse/AMQ-3996
Updates TransportServer API so that JaasDualAuthenticationBroker can tell when its dealing with a TransportServer that will provide SSL connections and it can validate client certificate chains from ConnectionInfo.  Also updated the properties files to reflect the newly generated certificates. 

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1400155 13f79535-47bb-0310-9956-ffa450edef68
2012-10-19 16:21:53 +00:00
Timothy A. Bish 65af81e09e fix for: https://issues.apache.org/jira/browse/AMQ-3996
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1399438 13f79535-47bb-0310-9956-ffa450edef68
2012-10-17 21:17:45 +00:00
Bosanac Dejan b5e46ef9c5 https://issues.apache.org/jira/browse/AMQ-4108 - master broker advisory topic needs to be retroactive
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1399302 13f79535-47bb-0310-9956-ffa450edef68
2012-10-17 15:16:01 +00:00