Commit Graph

204 Commits

Author SHA1 Message Date
gtully 45e7d3a21b https://issues.apache.org/jira/browse/AMQ-4365 - fix up LeaseDatabaseLockerTest config, needs a lockable instance 2013-10-01 13:02:17 +01:00
Dejan Bosanac 2a5ad365d7 https://issues.apache.org/jira/browse/AMQ-4758 - improve performance of pull consumers 2013-10-01 12:22:19 +02:00
gtully 25e6b9920b https://issues.apache.org/jira/browse/AMQ-4092 - add unit test that reproduced 2013-09-30 23:11:32 +01:00
Hiram Chirino f75520fc8b Implementing AMQ-4744: Support using LevelDB as a nested store in mKahaDB 2013-09-27 09:19:48 -04:00
Timothy Bish 2142045953 https://issues.apache.org/jira/browse/AMQ-4731
Initial fix for this issue.  Uses a separate collection to track the
creation time of the consumers, might want to test just using a
ConcurrentLinkedQueue since that will stay in creation or naturally
although the remove operations could cost more..
2013-09-20 16:50:20 -04:00
gtully efaa351db7 https://issues.apache.org/jira/browse/AMQ-4365 - allow lease locker to be used by kahadb - remove deps on jdbc pa. LockableService now passes a reference to a locker so it can pull the brokerService, extracted some of the jdbc lock common stuff, additional test kahadb with jdbc lease 2013-09-20 15:33:24 +01:00
gtully 0f90695db7 https://issues.apache.org/jira/browse/AMQ-4729 - add lockableSupport to mKahaDb to isolate it from dynamically created filtered kahadb locks, nested locks are disabled when top level lock is in place. default to a sharedfile locker 2013-09-19 21:58:43 +01:00
Timothy Bish e6e7ba7e44 https://issues.apache.org/jira/browse/AMQ-4725
Enable all tests now that things are fixed.
2013-09-18 10:27:26 -04:00
Timothy Bish 1bc55049e6 https://issues.apache.org/jira/browse/AMQ-4725
temporarily apply patch to disable hanging tests
2013-09-17 17:34:07 -04:00
Hiram Chirino fd67eefad6 Improve test for AMQ-4717: verify that propertyExists also works. 2013-09-10 12:53:46 -04:00
Hiram Chirino 9c75fe7b61 Fix for AMQ-4717: populateJMSXUserID is not setting the JMSXUserID property on the JMS message in JMX 2013-09-10 10:45:52 -04:00
gtully 6c5732bc5c https://issues.apache.org/jira/browse/AMQ-2327 - resolve. key is not to conduit proxy/proxy consumers b/c the dependencies cannot be easily resolved without more network traffic on additions to demand subs. Maintaining the order of consumer advisories fixes duplicate suppression. thanks for the easymock test. while brittle it did help focus on checkpaths which was key 2013-09-06 22:46:09 +01:00
Timothy Bish d1446c3bca fix and tests for: https://issues.apache.org/jira/browse/AMQ-4073 2013-09-05 15:59:01 -04:00
gtully b588d6cb9b https://issues.apache.org/jira/browse/AMQ-4643 - update to jdbc checkpoint to validate connection before declaring success, is more bullit proof in preventing an early restart even if start is now deferred till after stop completes 2013-09-03 16:35:08 +01:00
Dejan Bosanac a0c1781c4e https://issues.apache.org/jira/browse/AMQ-4711 - totalMessageCount stat is not decremented after destination removal 2013-09-03 10:22:25 +02:00
gtully 0525772190 https://issues.apache.org/jira/browse/AMQ-4709 - add support for <authorizationEntry .. read="*" ..> to match any group 2013-09-03 00:37:33 +01:00
gtully 3222767e79 https://issues.apache.org/jira/browse/AMQ-3779 - add perDestinationLogger attribute - logger for producer send of the form: org.apache.activemq.broker.util.LoggingBrokerPlugin.<type>.<name> 2013-09-03 00:32:22 +01:00
Hiram R. Chirino f4d51e092b Adding a LevelDB version of the RedeliveryRestartTest. Implemented redelivery tracking in the leveldb store.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1518289 13f79535-47bb-0310-9956-ffa450edef68
2013-08-28 17:20:25 +00:00
Gary Tully ba2e8d4b07 https://issues.apache.org/jira/browse/AMQ-4196 - extend limit on test for slower hardware
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1518173 13f79535-47bb-0310-9956-ffa450edef68
2013-08-28 12:08:32 +00:00
Gary Tully 65ba623c96 https://issues.apache.org/jira/browse/AMQ-2902 - resolve intermittent test failure when stop ocurrs while start is in progress
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1518171 13f79535-47bb-0310-9956-ffa450edef68
2013-08-28 11:48:15 +00:00
Timothy A. Bish 8b61c3919c fix tests
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1517978 13f79535-47bb-0310-9956-ffa450edef68
2013-08-27 20:42:57 +00:00
Timothy A. Bish b3c132780b fix unit tests
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1517076 13f79535-47bb-0310-9956-ffa450edef68
2013-08-23 22:18:16 +00:00
Timothy A. Bish 85bb229aa7 fix for: https://issues.apache.org/jira/browse/AMQ-4683
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1516561 13f79535-47bb-0310-9956-ffa450edef68
2013-08-22 19:45:22 +00:00
Gary Tully f155083a61 use valid error code (in place of xa_ok) for xaexceptions in the absense of marshalled exception content from the broker
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1515783 13f79535-47bb-0310-9956-ffa450edef68
2013-08-20 11:21:43 +00:00
Timothy A. Bish 717345f499 test to show that: https://issues.apache.org/jira/browse/AMQ-4677 is not an issue. Verifies that the LevelDB logs are cleared as messages are consumed.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1514502 13f79535-47bb-0310-9956-ffa450edef68
2013-08-15 21:24:17 +00:00
Gary Tully 7c50c1c736 fix up failure - still leveldb variant problem that needs work - testQueueTransactionalOrderWithRestart - org.apache.activemq.bugs.AMQ2149LevelDBTest
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1512332 13f79535-47bb-0310-9956-ffa450edef68
2013-08-09 15:11:11 +00:00
Timothy A. Bish 1773e2c11c fix for: https://issues.apache.org/jira/browse/AMQ-4582
treat bad enabledCipherSuites option as non-recoverable.  

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1512017 13f79535-47bb-0310-9956-ffa450edef68
2013-08-08 20:26:23 +00:00
Gary Tully c7aad77a16 extend the lease period in the test to make more deterministic wrt timing
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1511842 13f79535-47bb-0310-9956-ffa450edef68
2013-08-08 15:54:59 +00:00
Timothy A. Bish 798eb1fc13 fix up test case for https://issues.apache.org/jira/browse/AMQ-4268
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1511788 13f79535-47bb-0310-9956-ffa450edef68
2013-08-08 14:02:50 +00:00
Gary Tully 90d6c2042d https://issues.apache.org/jira/browse/AMQ-4212 - fix auto upgrade from ver 1 and 2 to 5 - regression in KahaDBVersionTest
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1511711 13f79535-47bb-0310-9956-ffa450edef68
2013-08-08 11:51:29 +00:00
Gary Tully ae84399b97 fix intermittent test failure - memorylimittest on jdbc
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1511491 13f79535-47bb-0310-9956-ffa450edef68
2013-08-07 21:08:14 +00:00
Gary Tully aed6b0054a fix up test failure - XBeanXmlTest
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1511356 13f79535-47bb-0310-9956-ffa450edef68
2013-08-07 15:17:05 +00:00
Timothy A. Bish c45523fa4d apply patch for: https://issues.apache.org/jira/browse/AMQ-4670
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1511340 13f79535-47bb-0310-9956-ffa450edef68
2013-08-07 14:51:38 +00:00
Bosanac Dejan ccde93a238 https://issues.apache.org/jira/browse/AMQ-4656 - adding a test
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1511334 13f79535-47bb-0310-9956-ffa450edef68
2013-08-07 14:40:45 +00:00
Bosanac Dejan a7533ba922 https://issues.apache.org/jira/browse/AMQ-4656 - first stab at improving keepDurableSubsActive feature, by not stoping/starting cursor on subscription (de)activating
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1511333 13f79535-47bb-0310-9956-ffa450edef68
2013-08-07 14:36:40 +00:00
Timothy A. Bish 45c399d810 fix for: https://issues.apache.org/jira/browse/AMQ-4671
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1511321 13f79535-47bb-0310-9956-ffa450edef68
2013-08-07 14:05:42 +00:00
Gary Tully 82c4ab83ed https://issues.apache.org/jira/browse/AMQ-4665 - fix auto ack on duplicate, now use poison ack. For client ack allow replay after failover. Additional tests to validate new behaviour
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1511307 13f79535-47bb-0310-9956-ffa450edef68
2013-08-07 13:39:24 +00:00
Gary Tully 5cadb04ad3 https://issues.apache.org/jira/browse/AMQ-4662 - kahadb default checksumJournalFiles = true - validate no migration impact as we currently store default checksum value of 0
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1509178 13f79535-47bb-0310-9956-ffa450edef68
2013-08-01 11:44:30 +00:00
Gary Tully 13bbe52646 https://issues.apache.org/jira/browse/AMQ-4643 - ensure handled ioexceptions are not propagated back to client when broker or transports are shutdown. additional tests existing tests refactored to reflect new determinism. IOException handler now throws SuppressReplyException which is trapped by the transport connector. If store exception need to be processes by the client, for immediate response rather than failover reconnect, then the ioexception handler should be configured to ignoreAllErrors
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1508602 13f79535-47bb-0310-9956-ffa450edef68
2013-07-30 20:18:07 +00:00
Timothy A. Bish b4f880a75c Add more info to assert messages.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1506591 13f79535-47bb-0310-9956-ffa450edef68
2013-07-24 15:13:53 +00:00
Timothy A. Bish a2c297dc19 prevent stack overflow exception so that we can see the real exception that causes the test to fail.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1506214 13f79535-47bb-0310-9956-ffa450edef68
2013-07-23 18:58:31 +00:00
Timothy A. Bish acbe5499b5 convert to JUnit 4 test and add a timeout
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1506149 13f79535-47bb-0310-9956-ffa450edef68
2013-07-23 16:33:13 +00:00
Gary Tully 20f384ce59 https://issues.apache.org/jira/browse/AMQ-4637 - track cause and policy
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1505000 13f79535-47bb-0310-9956-ffa450edef68
2013-07-19 20:20:08 +00:00
Gary Tully 17bf5c7d69 https://issues.apache.org/jira/browse/AMQ-4645 - fix and test. adjust lease correctly in both behind and ahead of db case
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1504981 13f79535-47bb-0310-9956-ffa450edef68
2013-07-19 19:49:05 +00:00
Timothy A. Bish 0826fdcf06 AMQ-4637 fix test that fails due to this change, also remove extra call to setPoisonCause
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1504954 13f79535-47bb-0310-9956-ffa450edef68
2013-07-19 18:21:09 +00:00
Gary Tully dda5c93cd8 was having difficulty setting JMSreplyTo on message from jconsole. the header map operation is greyed out. Seems it needs a special ui to populate. I added a simpler csn=v string where body,username,password are special and where all other names are applied as properties. Jconsole can now set a reply to via sendTextMessageWithProperties("body=hi,JMSReplyTo=Queue2"
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1504660 13f79535-47bb-0310-9956-ffa450edef68
2013-07-18 21:09:43 +00:00
Gary Tully 92b6bd23cf https://issues.apache.org/jira/browse/AMQ-4415 - fix test regression, stop the autofail support
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1504436 13f79535-47bb-0310-9956-ffa450edef68
2013-07-18 11:38:19 +00:00
Gary Tully a971b648ea https://issues.apache.org/jira/browse/AMQ-4637 - populate DLQ_DELIVERY_FAILURE_CAUSE_PROPERTY for messages that exceed a redelivery policy - makes it easier to identify in the dlq
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1504423 13f79535-47bb-0310-9956-ffa450edef68
2013-07-18 10:48:29 +00:00
Timothy A. Bish 1982d54224 Fix for: https://issues.apache.org/jira/browse/AMQ-4621
Also add a new MBean for the new SlowConsumerStrategy type and fix a compilation error in the tests. 

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1504249 13f79535-47bb-0310-9956-ffa450edef68
2013-07-17 19:54:01 +00:00
Timothy A. Bish 2b99f39a5b Fix for: https://issues.apache.org/jira/browse/AMQ-4621
New SlowConsumerStrategy implementation for aborting consumers that haven't ack'd in the configured interval.  Can also be used to kick idle consumers if you disable the ignore idle consumers option.  

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1504231 13f79535-47bb-0310-9956-ffa450edef68
2013-07-17 18:44:27 +00:00