Commit Graph

402 Commits

Author SHA1 Message Date
gtully 69c0d399fb make perpared xa transactions visible in kahadb persistenceadapter view mbean 2014-03-03 13:55:27 +00:00
Hiram Chirino e7e317dc7e Applying patch AMQ-5074: MQTT paths with empty levels are not handled correctly.
Thanks Dhiraj!
2014-02-24 09:05:23 -05:00
Dejan Bosanac c6fe94ec03 https://issues.apache.org/jira/browse/AMQ-5070 - broker blocked on shutdown 2014-02-21 11:22:11 +01:00
Hiram Chirino 93ca04468b Implements AMQ-5054: Display the number of active transactions and age of oldest transaction on a Connection's JMX info 2014-02-14 16:22:50 -05:00
Kevin Earls ef82a4b8b4 Added short sleep to tearDown, see https://issues.apache.org/jira/browse/AMQ-4854 2014-02-14 17:36:47 +01:00
Kevin Earls 4350ded2c5 Fix for intermittent failures, see https://issues.apache.org/jira/browse/AMQ-5053 2014-02-14 16:08:51 +01:00
Timothy Bish fbd72d6d70 Place data dir in target 2014-02-10 18:25:32 -05:00
Timothy Bish 314b6e1fd7 Use better test KahaDB location in configuration. 2014-02-10 18:23:02 -05:00
Timothy Bish 4c38b03d14 https://issues.apache.org/jira/browse/AMQ-5035
Fix and test for variations in configuration settings that result in a
non-region broker as the AdvisoryBroker's next instance.
2014-02-10 18:14:41 -05:00
Kevin Earls 3df943ce0e Removed some old JUnit3 references 2014-02-10 14:43:17 +01:00
Kevin Earls afded924ff Fix for AMQ-4899 2014-02-07 09:41:50 +01:00
gtully 221a751d0a https://issues.apache.org/jira/browse/AMQ-5031 - add connection factory rmIdFromConnectionId attribute to allow resource manager identity to be mapped to the connection id, thus overiding the default broker identity association. usefull is a TM does not end a start with the join flags. We may want to implement join but it is not trivial to determin the existing associated state and clear it 2014-02-06 15:18:30 +00:00
Kevin Earls 4cc526112e Added timeouts because of CI hangs 2014-02-06 10:00:24 +01:00
Kevin Earls 5a80cee960 Converted to JUnit4 because of CI hangs, see AMQ-5021 2014-02-04 11:10:52 +01:00
Timothy Bish da3775302c https://issues.apache.org/jira/browse/AMQ-5011 2014-01-31 17:25:26 -05:00
Kevin Earls e0e14e087b Removed some code I had commented out but forgot to delete 2014-01-30 14:37:25 +01:00
Kevin Earls fa6aaf9360 Bumped up test timeouts because of CI failures, also cleaned up imports 2014-01-30 14:33:31 +01:00
Kevin Earls c027552035 Upgraded surefire plugin to 2.16. AMQ-5006 2014-01-30 14:22:44 +01:00
Timothy Bish cce75e0926 https://issues.apache.org/jira/browse/AMQ-5001
Fix all failing tests.
2014-01-29 11:21:54 -05:00
Timothy Bish 4273b1301d https://issues.apache.org/jira/browse/AMQ-5001
testSlowConsumerIsAbortedViaJmx failed due to issue in the test setup.
2014-01-29 10:29:12 -05:00
Kevin Earls bec711c7db Converted to JUnit4 and added @Ignore tags for failing tests. See AMQ-4286 and AMQ-5001 2014-01-29 14:57:52 +01:00
Timothy Bish fde22a8496 https://issues.apache.org/jira/browse/AMQ-4754
Add connection counts to Broker mbean
2014-01-28 14:07:39 -05:00
gtully 95d20e5b47 https://issues.apache.org/jira/browse/AMQ-4991 - fix npe and reinstate test 2014-01-24 13:31:44 +00:00
Kevin Earls a6edc416d6 Added sleep because of intermittent CI failures 2014-01-24 11:30:20 +01:00
Kevin Earls dea0588471 Added @Ignore to testSendReceive because of NPE. See AMQ-4991 2014-01-24 10:55:51 +01:00
Timothy Bish dd0c9c4144 https://issues.apache.org/jira/browse/AMQ-4988 2014-01-22 10:09:38 -05:00
Timothy Bish 90104943b2 https://issues.apache.org/jira/browse/AMQ-4839
Deprecated the streams functionality.  Remove in a later release.
2014-01-21 15:00:16 -05:00
Kevin Earls d29bab50e5 Updated to JUnit4, which seems to have fixed intermittent failures. See AMQ-4980 2014-01-21 10:58:00 +01:00
Kevin Earls 48d25adfc8 Removed. See AMQ-4972 2014-01-20 11:42:33 +01:00
Timothy Bish 9b00a0947e Add missing license header 2014-01-17 14:34:11 -05:00
Kevin Earls 0918430dc2 Removed test, it has been commented out and not run for over a year. See AMQ-4974 2014-01-17 10:19:49 +01:00
Kevin Earls e56c062f27 Added overridden no-op version of testSendReceive, see AMQ-4975 2014-01-16 16:11:24 +01:00
Kevin Earls 5e42bd64bc Added no-op version of testVirtualTopicFailover, which is covered by AMQ-4842 2014-01-16 15:45:19 +01:00
Kevin Earls 612a816d98 Changed commented out test to use @Ignore. See AMQ-4974 2014-01-16 15:40:55 +01:00
Kevin Earls 6549342061 Ignoring failing test cases, see AMQ-4973 2014-01-16 15:22:59 +01:00
gtully 08f21ed71d https://issues.apache.org/jira/browse/AMQ-4952 - remove scala ref from test 2014-01-14 22:17:19 +00:00
gtully cc47ab6d00 https://issues.apache.org/jira/browse/AMQ-4952 deal with jdbc store, cursor audit=false case, also relevant when cursor window is exceeded. Treating duplicate into pagedInMessages as an error, silently ignoring leads to trapped messages or deferred dispatch after a restart, revert change from https://issues.apache.org/jira/browse/AMQ-1957 2014-01-09 12:16:37 +00:00
Kevin Earls be8990e06d Removed @Ignore and updated timeout on testOrderOnActivateDeactivate, fixed by AMQ-4952 2014-01-08 17:40:41 +01:00
gtully f92d45bec1 https://issues.apache.org/jira/browse/AMQ-4952 - deal with duplicates by redirecting to dlq when they are detected by the cursors such that they don't linger for redispatch after a restart. Networks are the main culprit for such duplicates b/c the producer audit traps regular failover resends 2014-01-07 16:52:39 +00:00
Torsten Mielke ed66e3b341 activemq-unit-tests/src/test/java/org/apache/activemq/bugs/AMQ4950Test.java was missing Apache license agreement 2014-01-06 14:22:27 +01:00
Torsten Mielke f69cbd8ec6 AMQ-4950: java.lang.ClassCastException: org.apache.activemq.command.ExceptionResponse cannot be cast to org.apache.activemq.command.IntegerResponse, attempting to automatically reconnect 2014-01-06 13:43:26 +01:00
Kevin Earls 6509b1f811 Added timeout because of tests failing intermittently 2014-01-03 15:16:11 +01:00
Kevin Earls 96bdda716a Added timeout in teardown because of intermittent test failures 2014-01-03 10:37:48 +01:00
Timothy Bish 7db0fe6a38 https://issues.apache.org/jira/browse/AMQ-4819 2013-12-20 17:29:31 -05:00
Kevin Earls 57f5d49ae9 For AMQ-4874, broke into multiple parts, and converted to use JUnit4 Parameterized instead of CombinationTestSupport 2013-12-19 14:37:12 +01:00
gtully a64976a377 https://issues.apache.org/jira/browse/AMQ-4930 - fix reference count and limit expriy/browse to memory + 10% 2013-12-18 12:21:02 +00:00
Kevin Earls 257710ba1a Fix for AMQ-4889, potential leak of ProxyConnectors 2013-12-16 18:13:27 +01:00
Dejan Bosanac dcedd9fe96 https://issues.apache.org/jira/browse/AMQ-4934 - jdbc persistence adapter traped messages 2013-12-12 14:55:19 +01:00
rajdavies 2bbfbcfb29 Fix for https://issues.apache.org/jira/browse/AMQ-4924 2013-12-11 11:13:45 +00:00
rajdavies 6683eb652f Fix for https://issues.apache.org/jira/browse/AMQ-4927 2013-12-10 13:36:09 +00:00
rajdavies 71e4585689 Fix for https://issues.apache.org/jira/browse/AMQ-4825 2013-12-10 09:10:33 +00:00
Timothy Bish d0f1dd6668 https://issues.apache.org/jira/browse/AMQ-4887
Update test case to show other broken scenarios.
2013-12-05 15:52:27 -05:00
Kevin Earls 8b06c44cc0 Added test to reproduce AMQ-4887 2013-12-05 10:45:38 +01:00
rajdavies 374cab9cd5 Fix for https://issues.apache.org/jira/browse/AMQ-4918 2013-12-05 08:55:56 +00:00
Rob Davies 07ec890372 Fix for https://issues.apache.org/jira/browse/AMQ-4916 2013-12-03 17:15:56 +00:00
Hiram Chirino 61e13fa6ce Fixing regression caused by changes to SuppressRelyException in commit b0e91d47f5. 2013-12-02 12:29:21 -05:00
gtully b9f0783af5 ignore test pending investigation on new SuppressReply from http://git-wip-us.apache.org/repos/asf/activemq/commit/b0e91d47 2013-11-29 12:40:00 +00:00
gtully 06f24e2e0b https://issues.apache.org/jira/browse/AMQ-4907 - sanity check on the index when checkForCorruptJournalFiles - test and check that validates the orderindex makes sense 2013-11-28 21:14:24 +00:00
rajdavies 11781d3cf2 Added Fix and tests for https://issues.apache.org/jira/browse/AMQ-4906 2013-11-28 12:56:11 +00:00
gtully 7d98b32050 https://issues.apache.org/jira/browse/AMQ-4904 - ensure transports are not restarted without a store lock 2013-11-27 12:49:18 +00:00
Timothy Bish a6e306437e fix for: https://issues.apache.org/jira/browse/AMQ-4893 2013-11-25 14:48:38 -05:00
gtully 511b60c6f6 https://issues.apache.org/jira/browse/AMQ-4485 - resolve - non transacitonal work interleaved with transactional work needs to check for and integrate with cursor update ordering. Key difference in latest test is 3/4 of messages getting produced via network connectors, hense not in transactions 2013-11-18 13:05:57 +00:00
Kevin Earls a46db89b2a Added timeouts after seeing this hang a CI build. 2013-11-15 14:33:26 +01:00
Kevin Earls c60af64165 See AMQ-4886. Updated tearDown so it can't hang, reduced timeouts, updated to JUnit4 2013-11-14 15:55:04 +01:00
rajdavies 291ec5ea17 Fix for https://issues.apache.org/jira/browse/AMQ-4884 2013-11-14 09:47:40 +00:00
rajdavies 2a6aab40b4 Added testcase for https://issues.apache.org/jira/browse/AMQ-4884 2013-11-13 18:50:56 +00:00
Kevin Earls 0ed2ddb3df Added timeout for AMQ-4877 2013-11-12 16:17:10 +01:00
Kevin Earls 6540f04a40 Changed timeout, see https://issues.apache.org/jira/browse/AMQ-4876 2013-11-12 16:07:30 +01:00
Kevin Earls 4f1754bdc2 Commented out testOrderOnActivateDeactivate, see AMQ-4874 2013-11-12 13:27:57 +01:00
Timothy Bish 6552287221 https://issues.apache.org/jira/browse/AMQ-4853
adds a little test and preserves some performance tests if needed later.
2013-11-11 11:49:03 -05:00
Timothy Bish 38ab4b10a4 https://issues.apache.org/jira/browse/AMQ-4855
Deprecate the misspelled subcription named getters and use the correctly
spelled versions where the older ones are in use.
2013-11-11 11:40:07 -05:00
Kevin Earls 982b728f24 Increased timeout to fix AMQ-4854 2013-11-07 13:48:21 +01:00
gtully 50ec158e25 https://issues.apache.org/jira/browse/AMQ-4852 - ensure clientId view connector mbean visible for duplex network connectors 2013-11-07 11:35:39 +00:00
Claus Ibsen 8a8fcb6ef4 AMQ-4841: Fixed JDBC leased locker to allow being configured in any order in the XML file, being able to use the defined statemnts. Otherwise you would have had to define the locker last in the XML file. Thanks to Pat Fox for the test case. 2013-11-01 12:46:36 +01:00
Claus Ibsen 7dfb0a2a3c AMQ-4433: Validate socket.xxx transport connector options, to detect invalud/unused options and fail. Thanks to Christoffer Sawicki for the patch. 2013-10-31 12:13:40 +01:00
Christian Posta c2eb4863a8 Fix for https://issues.apache.org/jira/browse/AMQ-4823 NetworkConnector not registered in JMX when created from Broker View + unit tests 2013-10-24 10:36:00 -07:00
Timothy Bish ec97d0aad0 fix for: https://issues.apache.org/jira/browse/AMQ-4822 2013-10-24 10:41:05 -04:00
gtully 85bc9ce9d0 modify fix for https://issues.apache.org/jira/browse/AMQ-4181 - apply maxBrowsePageSize, when > 0 it will limit a browser dispatch; related to https://issues.apache.org/jira/browse/AMQ-4487 https://issues.apache.org/jira/browse/AMQ-4372 https://issues.apache.org/jira/browse/AMQ-4595 2013-10-22 15:23:33 +01:00
gtully 092bc61708 avoid jvm fork console popup on osx 2013-10-22 15:23:32 +01:00
gtully 864aa6798f [maven-release-plugin] prepare for next development iteration 2013-10-14 23:38:35 +01:00
gtully 87c9bbebac [maven-release-plugin] prepare release activemq-5.9.0 2013-10-14 23:38:22 +01:00
gtully 9815b9dc75 https://issues.apache.org/jira/browse/AMQ-4798 - reflect new 1g default so set expected value in test 2013-10-14 20:45:21 +01:00
gtully ff3bad1ae9 https://issues.apache.org/jira/browse/AMQ-4798 - reflect new 1g default so set expected value in test 2013-10-14 17:04:58 +01:00
gtully 031611ed22 https://issues.apache.org/jira/browse/AMQ-4798 - reflect new 1g default so set expected value in test 2013-10-14 16:55:42 +01:00
gtully afcb5fbe77 https://issues.apache.org/jira/browse/AMQ-4798 - reflect new 1g default 2013-10-14 16:46:02 +01:00
gtully ee0933c71e [maven-release-plugin] prepare for next development iteration 2013-10-11 14:51:36 +01:00
gtully b276006911 [maven-release-plugin] prepare release activemq-5.9.0 2013-10-11 14:51:24 +01:00
Dejan Bosanac a33951d2eb MessageGroupMapTest fix 2013-10-11 13:19:55 +02:00
rajdavies 7f17f49d73 Added test for MessageGroup types with options 2013-10-11 11:07:51 +01:00
rajdavies e000471cf4 Added test for MessageGroup type 2013-10-10 20:30:01 +01:00
gtully 4f108cead5 fix up missing license headers - keep mr. rat happy :-) 2013-10-10 11:41:58 +01:00
gtully dc0291b290 https://issues.apache.org/jira/browse/AMQ-4791 - fix and test. removed the delay but left the warn if dispatch ocurrs before interruption processing is complete. Problem was a race between consumer close and sessions copy on write dispatchers list 2013-10-08 21:29:17 +01:00
Hiram Chirino 21edf2b5bb Implementing AMQ-4788 - make sure you can configure the partition broker plugin via activemq.xml 2013-10-07 13:19:42 -04:00
gtully 4f19f31a37 https://issues.apache.org/jira/browse/AMQ-4785 - fix and test 2013-10-04 11:35:23 +01:00
Claus Ibsen 887ac0ba49 AMQ-4769: Connection.close() should not throw exception if already closed according to JMS spec/javadoc. 2013-10-02 15:25:01 +02:00
gtully 78a785eecc https://issues.apache.org/jira/browse/AMQ-4758 - remove unreferenced mysql dep 2013-10-02 12:30:49 +01:00
gtully f609c50fd0 tidy up intermittent failure - BrokerViewSlowStoreStartupTest 2013-10-01 15:21:21 +01:00
gtully 40ea66556e https://issues.apache.org/jira/browse/AMQ-4365 - ensure 500ms retry time is enforce for kahaDbJdbcLeaseQueueMasterSlaveTest 2013-10-01 13:19:07 +01:00
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
Timothy A. Bish f80071f65d Test updates, use a proper MessageId and add some logging so the level DB test errors are more obvious.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1503727 13f79535-47bb-0310-9956-ffa450edef68
2013-07-16 14:15:37 +00:00
Timothy A. Bish ec11e82664 fix intermittent test failure.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1503426 13f79535-47bb-0310-9956-ffa450edef68
2013-07-15 19:01:16 +00:00