Commit Graph

6703 Commits

Author SHA1 Message Date
Timothy A. Bish 5b5bc45b17 fix for: https://issues.apache.org/jira/browse/AMQ-4238
ensure we clean up when the ManagementContext gets shut down. 

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1432112 13f79535-47bb-0310-9956-ffa450edef68
2013-01-11 15:56:08 +00:00
Timothy A. Bish c0b39615d4 fix for failing test, the check for inactive durables was waiting exactly as long as the housekeeping thread's sleep interval which could cause it to sometimes miss the very last run of the housekeeper and falsely detect leftover inactive ones. Make the test wait for longer than the sleep interval and also provide a clean shutdown of the house-keeper thread.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1431700 13f79535-47bb-0310-9956-ffa450edef68
2013-01-10 22:19:56 +00:00
Timothy A. Bish 86afe187c1 fix warnings
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1431699 13f79535-47bb-0310-9956-ffa450edef68
2013-01-10 22:17:24 +00:00
Gary Tully 109cbe0993 https://issues.apache.org/jira/browse/AMQ-4248 - ensure iter is cleared when we are done, i.e. on call to release
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1431660 13f79535-47bb-0310-9956-ffa450edef68
2013-01-10 21:27:47 +00:00
Gary Tully 7d2ac2d936 derby on virtual hw can be very slow, so a query with an intentionally large backlog can take some time
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1431494 13f79535-47bb-0310-9956-ffa450edef68
2013-01-10 16:51:12 +00:00
Timothy A. Bish 6e36321669 https://issues.apache.org/jira/browse/AMQ-4163
Removed the journal component as its dependent on the now deprecated activemq-amq-store code.  

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1431492 13f79535-47bb-0310-9956-ffa450edef68
2013-01-10 16:43:21 +00:00
Gary Tully 20d3bdb4eb https://issues.apache.org/jira/browse/AMQ-4157 - test case and fix. when an ack is in a tx we need to wait for the store sync as it may be a rollback
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1431463 13f79535-47bb-0310-9956-ffa450edef68
2013-01-10 16:11:40 +00:00
Gary Tully 7d7d6fa08a fix typo in utility class name
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1431374 13f79535-47bb-0310-9956-ffa450edef68
2013-01-10 14:15:15 +00:00
Gary Tully aaa81deb40 https://issues.apache.org/jira/browse/AMQ-3438 - keep both mbean names, by remoteaddress and by clientid - as navigation between subs and connections uses the clientid but remote connection info based on address has real value to opts. https://issues.apache.org/jira/browse/AMQ-4237 - partition both address types using connectionViewType=remoteAddress|clientId and add clientId to connetionView - now easier to see connections under a clientConnector
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1431369 13f79535-47bb-0310-9956-ffa450edef68
2013-01-10 14:04:40 +00:00
Gary Tully 99682093d9 https://issues.apache.org/jira/browse/AMQ-3438 - update so we only register a conneciton mbean once, default by remote address or by client id - ManagementContext#allowRemoteAddressInMBeanNames=false (once connectionInfo is received)
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1431319 13f79535-47bb-0310-9956-ffa450edef68
2013-01-10 12:33:56 +00:00
Bosanac Dejan 1a1ebd965c https://issues.apache.org/jira/browse/AMQ-4237 - new jmx and query and bstat commands
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1431295 13f79535-47bb-0310-9956-ffa450edef68
2013-01-10 11:43:33 +00:00
Timothy A. Bish df72ec5079 remove some old empty folders
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1431151 13f79535-47bb-0310-9956-ffa450edef68
2013-01-09 23:46:13 +00:00
Timothy A. Bish dafc8254ca turn off JMX, not needed in this test.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1431125 13f79535-47bb-0310-9956-ffa450edef68
2013-01-09 22:42:37 +00:00
Timothy A. Bish ac23437828 Fix another test that fails because of https://issues.apache.org/jira/browse/AMQ-4237
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1431123 13f79535-47bb-0310-9956-ffa450edef68
2013-01-09 22:36:17 +00:00
Timothy A. Bish 3dd24195e6 removing dependencies on activemq-core
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1431109 13f79535-47bb-0310-9956-ffa450edef68
2013-01-09 21:50:59 +00:00
Timothy A. Bish 95123fd209 add to svn:ignore
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1431106 13f79535-47bb-0310-9956-ffa450edef68
2013-01-09 21:39:39 +00:00
Timothy A. Bish 978f59e628 add to svn:ignore
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1431099 13f79535-47bb-0310-9956-ffa450edef68
2013-01-09 21:35:20 +00:00
Timothy A. Bish 32c5a2cbaf add to svn:ignore
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1431098 13f79535-47bb-0310-9956-ffa450edef68
2013-01-09 21:34:56 +00:00
Timothy A. Bish 80c2f7918b removing dependencies on activemq-core
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1431077 13f79535-47bb-0310-9956-ffa450edef68
2013-01-09 21:04:46 +00:00
Timothy A. Bish e724226033 Don't use a fixed port and turn of JMX in the broker as its not needed in this test.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1431033 13f79535-47bb-0310-9956-ffa450edef68
2013-01-09 19:55:43 +00:00
Timothy A. Bish 0309eb3373 Fix test so it doesn't fail if the disk is a bit full
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1431002 13f79535-47bb-0310-9956-ffa450edef68
2013-01-09 18:26:27 +00:00
Timothy A. Bish 63a660ac04 https://issues.apache.org/jira/browse/AMQ-4237
To support the bean renaming effort this pulls together the various code that create all our MBean names and puts them into one location which could later add supporting methods to create MBean queries for the unit tests etc.  This should make it simpler to iron out the naming as we go.  

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1430908 13f79535-47bb-0310-9956-ffa450edef68
2013-01-09 15:48:15 +00:00
Bosanac Dejan 881c1b7005 https://issues.apache.org/jira/browse/AMQ-4237 - new jmx and list and purge commands
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1430862 13f79535-47bb-0310-9956-ffa450edef68
2013-01-09 13:53:12 +00:00
Bosanac Dejan 8ab1c8d551 https://issues.apache.org/jira/browse/AMQ-4237 - new jmx and shutdown command
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1430817 13f79535-47bb-0310-9956-ffa450edef68
2013-01-09 12:22:37 +00:00
Timothy A. Bish dfd4c5680f start removing dependencies on activemq-core
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1430498 13f79535-47bb-0310-9956-ffa450edef68
2013-01-08 20:39:14 +00:00
Robert Davies 09c450015e Refactored to make it easier to test with multiple MQTT client providers
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1430496 13f79535-47bb-0310-9956-ffa450edef68
2013-01-08 20:33:16 +00:00
Gary Tully 55fef7200a fix up xml tests, xbean in a required test dep. fix up ref to removed master/slave.xml
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1430380 13f79535-47bb-0310-9956-ffa450edef68
2013-01-08 16:52:52 +00:00
Hiram R. Chirino 69ff572f88 Switch to a released version of proton
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1430373 13f79535-47bb-0310-9956-ffa450edef68
2013-01-08 16:46:04 +00:00
Timothy A. Bish 43da1ca798 add LevelDB data test dir to svn:ignore
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1430361 13f79535-47bb-0310-9956-ffa450edef68
2013-01-08 16:24:12 +00:00
Timothy A. Bish 3c83c17787 Fix failing test case, use the returned locator from addLast calls to perform the remove instead of trying with a String.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1430360 13f79535-47bb-0310-9956-ffa450edef68
2013-01-08 16:22:53 +00:00
Timothy A. Bish 9a3bd32e90 clean up imports.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1430340 13f79535-47bb-0310-9956-ffa450edef68
2013-01-08 15:51:37 +00:00
Gary Tully 6b3676ae72 https://issues.apache.org/jira/browse/AMQ-3906 - make it so that java -classpath target/activemq-all-5.8-SNAPSHOT.jar org.apache.activemq.console.Main start broker:\(\) will work. We may want to remove persistence but I think it makes sense to have it in there
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1430326 13f79535-47bb-0310-9956-ffa450edef68
2013-01-08 15:40:13 +00:00
Bosanac Dejan 351a339b0d https://issues.apache.org/jira/browse/AMQ-4237 - new jmx and web console - network connectors and bridges
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1430323 13f79535-47bb-0310-9956-ffa450edef68
2013-01-08 15:38:46 +00:00
Hiram R. Chirino 0aa697605e depedency order seems to matter
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1430308 13f79535-47bb-0310-9956-ffa450edef68
2013-01-08 14:48:43 +00:00
Hiram R. Chirino 1cebef8a6b adding more bits to the pom
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1430307 13f79535-47bb-0310-9956-ffa450edef68
2013-01-08 14:45:18 +00:00
Bosanac Dejan f4f033c91a https://issues.apache.org/jira/browse/AMQ-4237 - new jmx and web console - consumers on connection
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1430283 13f79535-47bb-0310-9956-ffa450edef68
2013-01-08 13:51:56 +00:00
Gary Tully e3626e19bc https://issues.apache.org/jira/browse/AMQ-4237 - resolve unit test regressions for dynamic networkBridge mbeans
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1430266 13f79535-47bb-0310-9956-ffa450edef68
2013-01-08 13:13:27 +00:00
Bosanac Dejan 4cbd91d494 https://issues.apache.org/jira/browse/AMQ-4237 - web console - connectors and connections
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1430252 13f79535-47bb-0310-9956-ffa450edef68
2013-01-08 12:38:57 +00:00
Timothy A. Bish da4302921e test can fail if the machine is bit to slow, give a bit more grace to the test timeouts.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1430005 13f79535-47bb-0310-9956-ffa450edef68
2013-01-07 21:00:12 +00:00
Timothy A. Bish b79c9868ec fix for: https://issues.apache.org/jira/browse/AMQ-4241
Add a configuration option to control whether properties are set on every output message or only the first one. 

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1429909 13f79535-47bb-0310-9956-ffa450edef68
2013-01-07 17:22:30 +00:00
Timothy A. Bish 3cd8da80a6 fixes: https://issues.apache.org/jira/browse/AMQ-4246
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1429878 13f79535-47bb-0310-9956-ffa450edef68
2013-01-07 16:19:35 +00:00
Gary Tully f79f7ad426 add queue priority with backlog test, disable cache and expiry processing
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1429818 13f79535-47bb-0310-9956-ffa450edef68
2013-01-07 14:40:35 +00:00
Robert Davies 667237f72a Fix instability in test cases
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1429809 13f79535-47bb-0310-9956-ffa450edef68
2013-01-07 14:32:20 +00:00
Timothy A. Bish 5a8ca0b8a8 attempt to fix test case after changes in https://issues.apache.org/jira/browse/AMQ-4237 broke the test's MBean lookup, not quite there but close.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1429149 13f79535-47bb-0310-9956-ffa450edef68
2013-01-04 21:58:25 +00:00
Timothy A. Bish b5625e31ee Add in a log4j properties file for the tests
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1429141 13f79535-47bb-0310-9956-ffa450edef68
2013-01-04 21:40:32 +00:00
Timothy A. Bish 800e0267fb fix test case after changes in https://issues.apache.org/jira/browse/AMQ-4237 broke the test's MBean lookup
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1429089 13f79535-47bb-0310-9956-ffa450edef68
2013-01-04 20:23:56 +00:00
Hiram R. Chirino 1949846c0a Switch to scala 2.10
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1429079 13f79535-47bb-0310-9956-ffa450edef68
2013-01-04 20:02:27 +00:00
Timothy A. Bish c61ee931f6 Add to svn:ignore
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1429065 13f79535-47bb-0310-9956-ffa450edef68
2013-01-04 19:54:50 +00:00
Timothy A. Bish b2de5f310f code fix and test fix for: https://issues.apache.org/jira/browse/AMQ-4225
NetworkBridge MBeans weren't getting registered because of changes in the Broker MBean naming.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1429064 13f79535-47bb-0310-9956-ffa450edef68
2013-01-04 19:53:47 +00:00
Timothy A. Bish 8e9896825f fix test case after changes in https://issues.apache.org/jira/browse/AMQ-4237 broke the test's MBean lookup
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1428983 13f79535-47bb-0310-9956-ffa450edef68
2013-01-04 17:02:29 +00:00