Commit Graph

6731 Commits

Author SHA1 Message Date
Gary Tully 0dcdab784b https://issues.apache.org/jira/browse/AMQ-4172 - resolve with test. inflight transactions need to just protect a data file range rather than all subsequent data files. so gc can reclaim what is valid
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1436291 13f79535-47bb-0310-9956-ffa450edef68
2013-01-21 11:37:23 +00:00
Bosanac Dejan f5360a727d resolve leveldb store jmx issues and use the proper mbean naming
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1435163 13f79535-47bb-0310-9956-ffa450edef68
2013-01-18 14:38:01 +00:00
Bosanac Dejan 94f71ccf40 https://issues.apache.org/jira/browse/AMQ-4034 -first step on fixing features and creating a osgi service factory for the broker
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1435065 13f79535-47bb-0310-9956-ffa450edef68
2013-01-18 10:12:11 +00:00
Timothy A. Bish f5d8a05ed7 apply patch for: https://issues.apache.org/jira/browse/AMQ-4260
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1434956 13f79535-47bb-0310-9956-ffa450edef68
2013-01-17 23:21:54 +00:00
Timothy A. Bish 5d4d7487e4 Add some methods for creating destination queries
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1434926 13f79535-47bb-0310-9956-ffa450edef68
2013-01-17 21:43:10 +00:00
Gary Tully 1cd3bd8d95 add license header
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1434909 13f79535-47bb-0310-9956-ffa450edef68
2013-01-17 20:42:46 +00:00
Gary Tully aa1310c70c add PersistenceAdapterView
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1434906 13f79535-47bb-0310-9956-ffa450edef68
2013-01-17 20:41:40 +00:00
Gary Tully 3bffaf7e4c rudimentary generic persistence adapter mbean view - help show data and transaction info - usefull when blocked on usage
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1434903 13f79535-47bb-0310-9956-ffa450edef68
2013-01-17 20:40:23 +00:00
Timothy A. Bish 1898869fbc apply patch for: https://issues.apache.org/jira/browse/AMQ-4121
Allows for more user customization of MemoryUsage if desired.  

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1434849 13f79535-47bb-0310-9956-ffa450edef68
2013-01-17 18:27:51 +00:00
Timothy A. Bish 90790952d6 fix test breakage after: https://issues.apache.org/jira/browse/AMQ-3833
Depending on timing of events in the test the producer audit can land on the last log file so there can be one or two left.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1434514 13f79535-47bb-0310-9956-ffa450edef68
2013-01-17 00:13:40 +00:00
Timothy A. Bish 735f2c034d fix test breakage after: https://issues.apache.org/jira/browse/AMQ-3833
The producerAudit is only written out on change so in this test it holds onto another log file meaning there are two left instead of one.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1434074 13f79535-47bb-0310-9956-ffa450edef68
2013-01-16 18:10:36 +00:00
Timothy A. Bish f551570d4c fix test breakage after: https://issues.apache.org/jira/browse/AMQ-3833
The producerAudit is only written out on change so in this test it holds onto another log file meaning there are two left instead of one.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1434067 13f79535-47bb-0310-9956-ffa450edef68
2013-01-16 18:04:31 +00:00
Timothy A. Bish 59d13ad913 fix test breakage after: https://issues.apache.org/jira/browse/AMQ-3833
The producerAudit is only written out on change so in this test it holds onto log 5 meaning there are two left instead of one.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1434055 13f79535-47bb-0310-9956-ffa450edef68
2013-01-16 17:24:38 +00:00
Bosanac Dejan 1b27f95393 https://issues.apache.org/jira/browse/AMQ-4034 - fixing activemq-broker feature
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1433970 13f79535-47bb-0310-9956-ffa450edef68
2013-01-16 15:05:53 +00:00
Claus Ibsen a0f785a758 AMQ-4252: OSGi JARs in activemq-spring is provided and optional.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1433835 13f79535-47bb-0310-9956-ffa450edef68
2013-01-16 06:47:08 +00:00
Timothy A. Bish 7011ea5b13 fix for: https://issues.apache.org/jira/browse/AMQ-4254
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1433683 13f79535-47bb-0310-9956-ffa450edef68
2013-01-15 21:53:43 +00:00
Bosanac Dejan eff119471d https://issues.apache.org/jira/browse/AMQ-4034 - first stab at karaf integration tests
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1433543 13f79535-47bb-0310-9956-ffa450edef68
2013-01-15 17:29:20 +00:00
Claus Ibsen 85aa6b2401 xbean version range for xbean should be 3.12 as minimum
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1433335 13f79535-47bb-0310-9956-ffa450edef68
2013-01-15 10:08:00 +00:00
Claus Ibsen 38f24afbd5 AMQ-4257: Upgraded to Aries Blueprint 1.0.0
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1433333 13f79535-47bb-0310-9956-ffa450edef68
2013-01-15 10:03:18 +00:00
Claus Ibsen d8766963a9 AMQ-4256: Upgraded to OSGi 4.3.0
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1433328 13f79535-47bb-0310-9956-ffa450edef68
2013-01-15 09:42:20 +00:00
Claus Ibsen 359d8ebcfa AMQ-4252: OSGi JARs in activemq-spring is provided and optional.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1433323 13f79535-47bb-0310-9956-ffa450edef68
2013-01-15 09:33:41 +00:00
Timothy A. Bish 4d37271c5a apply patch for: https://issues.apache.org/jira/browse/AMQ-4254
Add call to broker.waitUntilStopped() to try to make this pass more often. 

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1433209 13f79535-47bb-0310-9956-ffa450edef68
2013-01-14 23:16:37 +00:00
Timothy A. Bish 15598081a1 apply patch for: https://issues.apache.org/jira/browse/AMQ-4249
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1433159 13f79535-47bb-0310-9956-ffa450edef68
2013-01-14 21:51:45 +00:00
Timothy A. Bish af8f5f9ec9 apply patch for: https://issues.apache.org/jira/browse/AMQ-4254
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1433024 13f79535-47bb-0310-9956-ffa450edef68
2013-01-14 18:26:57 +00:00
Timothy A. Bish a25df91fcd https://issues.apache.org/jira/browse/AMQ-4253
update spring version 3.1.1-RELEASE

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1432997 13f79535-47bb-0310-9956-ffa450edef68
2013-01-14 17:16:45 +00:00
Timothy A. Bish 1958aeb069 https://issues.apache.org/jira/browse/AMQ-4248
Don't swallow the exception.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1432963 13f79535-47bb-0310-9956-ffa450edef68
2013-01-14 15:57:05 +00:00
Timothy A. Bish ae61847d02 https://issues.apache.org/jira/browse/AMQ-4248
Add expanded transmit callback interface so that a failure to transmit can be distinguished from normal operation and allow for no further attempts at dispatch fixing the current NPE when async dispatch is enabled. 

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1432487 13f79535-47bb-0310-9956-ffa450edef68
2013-01-12 18:13:27 +00:00
Claus Ibsen 2a5d0821b1 AMQ-4250: activemq-spring should not be dependent on spring-test at runtime.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1432401 13f79535-47bb-0310-9956-ffa450edef68
2013-01-12 09:09:20 +00:00
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