Commit Graph

1240 Commits

Author SHA1 Message Date
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
Timothy A. Bish 4b868f4700 fix intermittent test failure.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1503422 13f79535-47bb-0310-9956-ffa450edef68
2013-07-15 18:57:54 +00:00
Timothy A. Bish c50b8e49c4 fix for: https://issues.apache.org/jira/browse/AMQ-4595
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1503263 13f79535-47bb-0310-9956-ffa450edef68
2013-07-15 14:21:23 +00:00
Gary Tully 4834cf15ec https://issues.apache.org/jira/browse/AMQ-4605 - remove duplicate test
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1497752 13f79535-47bb-0310-9956-ffa450edef68
2013-06-28 12:41:35 +00:00
Gary Tully a95c6dba1b https://issues.apache.org/jira/browse/AMQ-4607 - add network connector consumerTTL and messageTTL - split effect of networkTTL - allows a message many hops in a mesh while consumer demand is not repeatildy replicated. Rollback cursor aduit on forward so a message can be redispatched on redelivery. Additional test to verify multiple hops back to origin. Allow infinite ttl or hops with -1 https://issues.apache.org/jira/browse/AMQ-2180.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1497716 13f79535-47bb-0310-9956-ffa450edef68
2013-06-28 10:32:40 +00:00
Bosanac Dejan e3fb8be2ba https://issues.apache.org/jira/browse/AMQ-4598 - negative queue size after purge
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1496430 13f79535-47bb-0310-9956-ffa450edef68
2013-06-25 11:48:35 +00:00
Timothy A. Bish 97502bd61e Fix and updated test for: https://issues.apache.org/jira/browse/AMQ-3405
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1493958 13f79535-47bb-0310-9956-ffa450edef68
2013-06-17 22:25:39 +00:00
Timothy A. Bish 6e5f231a8a fix and test for: https://issues.apache.org/jira/browse/AMQ-4584
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1493950 13f79535-47bb-0310-9956-ffa450edef68
2013-06-17 21:36:33 +00:00
Timothy A. Bish 8ab1934520 update clean plugin settings to remove more test stores.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1492874 13f79535-47bb-0310-9956-ffa450edef68
2013-06-13 21:25:58 +00:00
Timothy A. Bish 0168a826f7 fix and test for: https://issues.apache.org/jira/browse/AMQ-4581
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1492214 13f79535-47bb-0310-9956-ffa450edef68
2013-06-12 14:18:51 +00:00
Timothy A. Bish b8518e0b91 fix test to account for changes in how we carry along the textview of JMSMessageID
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1490466 13f79535-47bb-0310-9956-ffa450edef68
2013-06-06 22:41:28 +00:00
Timothy A. Bish 7a11f59505 fix for: https://issues.apache.org/jira/browse/AMQ-4337
Adds basic TX support for Messages that are to be scheduled. 

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1490454 13f79535-47bb-0310-9956-ffa450edef68
2013-06-06 21:47:24 +00:00
Timothy A. Bish ddbe83ac19 remove override so it builds on 1.6 as well as 1.7 java
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1490395 13f79535-47bb-0310-9956-ffa450edef68
2013-06-06 19:00:41 +00:00
Timothy A. Bish 539a5f162e fix and test for: https://issues.apache.org/jira/browse/AMQ-4575
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1490343 13f79535-47bb-0310-9956-ffa450edef68
2013-06-06 16:32:15 +00:00
Timothy A. Bish d97f28c490 fix for: https://issues.apache.org/jira/browse/AMQ-4487 and https://issues.apache.org/jira/browse/AMQ-4372
Additional testing and updates. 

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1490032 13f79535-47bb-0310-9956-ffa450edef68
2013-06-05 21:06:39 +00:00
Timothy A. Bish 05796e7600 Use the right Logger type.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1490015 13f79535-47bb-0310-9956-ffa450edef68
2013-06-05 19:58:40 +00:00
Timothy A. Bish 6ea8438071 Test fix, don't produce a StackOverflowException
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1489997 13f79535-47bb-0310-9956-ffa450edef68
2013-06-05 18:41:58 +00:00
Timothy A. Bish 01cda8582a Fix test failure after recent MessageId changes.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1489994 13f79535-47bb-0310-9956-ffa450edef68
2013-06-05 18:29:35 +00:00
Timothy A. Bish 1f5694ed60 fix for: https://issues.apache.org/jira/browse/AMQ-4487 and https://issues.apache.org/jira/browse/AMQ-4372
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1489978 13f79535-47bb-0310-9956-ffa450edef68
2013-06-05 17:34:50 +00:00
Torsten Mielke 767a59dfc4 AMQ-4571: JUnit test added with broker configuration
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1489880 13f79535-47bb-0310-9956-ffa450edef68
2013-06-05 14:03:40 +00:00
Torsten Mielke 6e57f3a346 AMQ-4571: JUnit test added
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1489823 13f79535-47bb-0310-9956-ffa450edef68
2013-06-05 11:51:41 +00:00
Timothy A. Bish 368dc8f26a Fix MessageId copy, wasn't copying the new textView field. Fixes failing test.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1489618 13f79535-47bb-0310-9956-ffa450edef68
2013-06-04 21:24:59 +00:00
Timothy A. Bish b8a7e9990b some fixes for: https://issues.apache.org/jira/browse/AMQ-4487
Add test case to demonstrate the issue with audit depth and QueueBrowsers.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1489468 13f79535-47bb-0310-9956-ffa450edef68
2013-06-04 15:21:12 +00:00
Christian Posta 0e1431e9ae wrote a test to answer question on mailing list consumer propogation for virtual topics across a network of two brokers
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1489280 13f79535-47bb-0310-9956-ffa450edef68
2013-06-04 03:19:05 +00:00
Timothy A. Bish 0c08d62fa3 fix test to reflect recent changes in how Topic statistics are updated.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1487653 13f79535-47bb-0310-9956-ffa450edef68
2013-05-29 22:06:48 +00:00
Timothy A. Bish 646d0234d7 Fix test case, an additional log file is retained now that we are more careful about tracking acks that are needed for recovery from the journal.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1487636 13f79535-47bb-0310-9956-ffa450edef68
2013-05-29 20:43:11 +00:00
Timothy A. Bish 067660ce88 fix and test for: https://issues.apache.org/jira/browse/AMQ-4542
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1487018 13f79535-47bb-0310-9956-ffa450edef68
2013-05-28 17:43:07 +00:00
Bosanac Dejan 9490793f2c https://issues.apache.org/jira/browse/AMQ-4461 - priority backup should not be restricted by the pool size
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1486869 13f79535-47bb-0310-9956-ffa450edef68
2013-05-28 11:17:17 +00:00
Timothy A. Bish 3ff2d9294c fix and test for: https://issues.apache.org/jira/browse/AMQ-4554
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1486225 13f79535-47bb-0310-9956-ffa450edef68
2013-05-24 21:38:04 +00:00
Timothy A. Bish 02a58c2a34 fixes for: https://issues.apache.org/jira/browse/AMQ-4555
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1486063 13f79535-47bb-0310-9956-ffa450edef68
2013-05-24 14:10:23 +00:00
Timothy A. Bish 48b404869f since https://issues.apache.org/jira/browse/AMQ-4495 always pulls in maxPageSize messages and allows for exceeding the MemoryLimit we must adjust the test case to account for that.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1485383 13f79535-47bb-0310-9956-ffa450edef68
2013-05-22 20:00:46 +00:00
Timothy A. Bish 649876b931 fix broken test after: https://issues.apache.org/jira/browse/AMQ-4516
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1485262 13f79535-47bb-0310-9956-ffa450edef68
2013-05-22 15:54:13 +00:00
Bosanac Dejan a259537d65 https://issues.apache.org/jira/browse/AMQ-4485 - adding LevelDB variant of NegativeQueueTest
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1484484 13f79535-47bb-0310-9956-ffa450edef68
2013-05-20 14:09:59 +00:00
Hiram R. Chirino 665c3ab33b Added a leveldb version of the queue browsing test.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1484319 13f79535-47bb-0310-9956-ffa450edef68
2013-05-19 17:20:38 +00:00
Hiram R. Chirino e168b3cd6e No need to send MQTT debugging to console anymore.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1484318 13f79535-47bb-0310-9956-ffa450edef68
2013-05-19 17:20:30 +00:00
Hiram R. Chirino 5e13c20707 Fixes failing AMQ2902 test.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1484306 13f79535-47bb-0310-9956-ffa450edef68
2013-05-19 16:32:51 +00:00
Hiram R. Chirino 4aac5a6bf3 Fixes AMQ-4544: Cant send MQTT message to AMQP endpoints
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1484143 13f79535-47bb-0310-9956-ffa450edef68
2013-05-18 16:39:35 +00:00
Hiram R. Chirino 2621463a28 Fixes deprecation warning.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1484141 13f79535-47bb-0310-9956-ffa450edef68
2013-05-18 16:39:10 +00:00
Hiram R. Chirino be7cef6438 AMQ2584Test was failing on linux due to kahadb taking too long to complete. Scaled the test back a bit
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1483963 13f79535-47bb-0310-9956-ffa450edef68
2013-05-17 19:54:09 +00:00
Bosanac Dejan 620523a597 https://issues.apache.org/jira/browse/AMQ-4000 - initial implementation of keeping track of durable subscribers over network and unregister them appropriately
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1483827 13f79535-47bb-0310-9956-ffa450edef68
2013-05-17 14:27:48 +00:00
Hiram R. Chirino d43d08aa1c Give the leveldb 3 broker virt topic network test a more appropriate file name. Also add a single broker test for leveldb.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1483809 13f79535-47bb-0310-9956-ffa450edef68
2013-05-17 14:04:00 +00:00
Gary Tully 6f124c16f7 https://issues.apache.org/jira/browse/AMQ-4539 - add JMSActiveMQBrokerPath string property and brokerPath attribute via jmx message view, the list length is the current number of network hops
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1483600 13f79535-47bb-0310-9956-ffa450edef68
2013-05-16 23:03:17 +00:00
Hiram R. Chirino ef6df68831 Fixes issue in AMQ-4296: Implement a pure LevelDB test for the StoreQueueCursorNoDuplicateTest and fix the bug that was causing it to fail.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1483582 13f79535-47bb-0310-9956-ffa450edef68
2013-05-16 21:50:25 +00:00
Hiram R. Chirino 7071102b13 Fix for AMQ-4296 : add a LevelDB test for the AMQ2149TEst
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1483538 13f79535-47bb-0310-9956-ffa450edef68
2013-05-16 19:58:23 +00:00
Timothy A. Bish 66c8f9c4b8 Add missing license header
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1483115 13f79535-47bb-0310-9956-ffa450edef68
2013-05-15 22:45:44 +00:00
Timothy A. Bish f46b184f6c fix and test for: https://issues.apache.org/jira/browse/AMQ-4413
For durable subscriptions the PrefetchSubscription can't drop messages in dispatchPending otherwise they are never added back into the pending cursor. 

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1483111 13f79535-47bb-0310-9956-ffa450edef68
2013-05-15 22:22:39 +00:00
Bosanac Dejan e06685fe81 https://issues.apache.org/jira/browse/AMQ-4000 - as part of this feature we need to properly send advisories when durable sub unregisters
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1482790 13f79535-47bb-0310-9956-ffa450edef68
2013-05-15 12:31:09 +00:00
Gary Tully 58b9a83fe8 https://issues.apache.org/jira/browse/AMQ-4532 - fix and test - ensure disposed exception is propagated to clients on vm server shutdown
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1482117 13f79535-47bb-0310-9956-ffa450edef68
2013-05-13 21:43:39 +00:00
Timothy A. Bish e731c39af7 ix and test for: https://issues.apache.org/jira/browse/AMQ-4531
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1481984 13f79535-47bb-0310-9956-ffa450edef68
2013-05-13 17:45:18 +00:00
Timothy A. Bish 2bd0e5703e apply fix and patch for: https://issues.apache.org/jira/browse/AMQ-4530
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1481930 13f79535-47bb-0310-9956-ffa450edef68
2013-05-13 15:36:03 +00:00
Timothy A. Bish 540b1c6a89 fix for: https://issues.apache.org/jira/browse/AMQ-4518
Allow purge to disable message expiration check when paging in Messages to be purged.  Avoids attempts at sending messages to a DLQ during a purge operation and in firing advisory messages for expired messages which are being thrown out by request. 

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1480731 13f79535-47bb-0310-9956-ffa450edef68
2013-05-09 17:50:26 +00:00
Bosanac Dejan fc8c8d339e https://issues.apache.org/jira/browse/AMQ-4522 - set timeToLive when sending a message using JMX
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1480189 13f79535-47bb-0310-9956-ffa450edef68
2013-05-08 09:15:17 +00:00
Timothy A. Bish 0bb9013769 Fix for: https://issues.apache.org/jira/browse/AMQ-4517
Don't send MessageDLQd advisory for Message that aren't sent to a DLQ

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1480087 13f79535-47bb-0310-9956-ffa450edef68
2013-05-07 21:17:34 +00:00
Timothy A. Bish d7aaca5034 Fix and test for: https://issues.apache.org/jira/browse/AMQ-4513
Makes the locking in RegionBroker a bit more fine grained.  We hold a lock only for a short time and allow destination adds that aren't on the same destination to continue on concurrently.  

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1479963 13f79535-47bb-0310-9956-ffa450edef68
2013-05-07 16:13:18 +00:00
Christian Posta 866440dfb2 Fix for https://issues.apache.org/jira/browse/AMQ-4516 - Don't decrement topic enqueues when messages are expired
Removed the call to decrement the counters, and added unit test

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1479925 13f79535-47bb-0310-9956-ffa450edef68
2013-05-07 14:39:25 +00:00
Gary Tully bf071376b5 https://issues.apache.org/jira/browse/AMQ-3097 - apply patch with some additional unit test, with thanks
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1478973 13f79535-47bb-0310-9956-ffa450edef68
2013-05-03 20:43:59 +00:00
Timothy A. Bish 3a8eb74a9f Fix and test for: https://issues.apache.org/jira/browse/AMQ-4505
When a broker was stopping it was sending out a cluster update after tearing down its bridges so any client connected to it would lose its awareness of other brokers in the cluster. 

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1478835 13f79535-47bb-0310-9956-ffa450edef68
2013-05-03 15:21:25 +00:00
Bosanac Dejan 7450a32ae7 https://issues.apache.org/jira/browse/AMQ-4495 - always get a max batch of messages from the store
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1478823 13f79535-47bb-0310-9956-ffa450edef68
2013-05-03 14:50:56 +00:00
Timothy A. Bish b9cc24bdb6 Swap expected and actual so that they match the intent of the assertion, otherwise the error message is misleading.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1478395 13f79535-47bb-0310-9956-ffa450edef68
2013-05-02 14:53:52 +00:00
Christian Posta 2a1bc72c0c test to help debug hawtio not being able to browse DLQ...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1478266 13f79535-47bb-0310-9956-ffa450edef68
2013-05-02 04:33:10 +00:00
Timothy A. Bish e777126d30 fix for: https://issues.apache.org/jira/browse/AMQ-4501
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1478184 13f79535-47bb-0310-9956-ffa450edef68
2013-05-01 20:53:51 +00:00
Gary Tully 4742c7d86f https://issues.apache.org/jira/browse/AMQ-4504 - ensure all dests in a composite get a chance to dispatch to a consumer after an ack
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1478183 13f79535-47bb-0310-9956-ffa450edef68
2013-05-01 20:49:08 +00:00
Timothy A. Bish d52e5910a5 apply patch: https://issues.apache.org/jira/browse/AMQ-4500
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1477830 13f79535-47bb-0310-9956-ffa450edef68
2013-04-30 21:12:28 +00:00
Bosanac Dejan 5cbb4bfc12 https://issues.apache.org/jira/browse/AMQ-4467 - cursor memory usage when pfc is off
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1477574 13f79535-47bb-0310-9956-ffa450edef68
2013-04-30 11:44:03 +00:00
Gary Tully 66e8011e9e https://issues.apache.org/jira/browse/AMQ-4485 - ensure cursor updates in same order as store orderindex via beforeCompletion with index lock. The before completion tracks ordered work that first thread completes as a unit. All updates to a destination are combined to a single sync, such that there is no cursor contention between transactions
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1475734 13f79535-47bb-0310-9956-ffa450edef68
2013-04-25 12:47:20 +00:00
Hiram R. Chirino 163ad5d4a9 Fix for AMQ4472: We can eagerly close a txed consumer if it has not delivered any messages.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1471673 13f79535-47bb-0310-9956-ffa450edef68
2013-04-24 21:01:24 +00:00
Gary Tully 705b3c5f9d https://issues.apache.org/jira/browse/AMQ-4472 - test case that shows the problem with prefetched messages and delayed close till commit
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1470459 13f79535-47bb-0310-9956-ffa450edef68
2013-04-22 11:29:48 +00:00
Timothy A. Bish 7e53814928 Fix and test for: https://issues.apache.org/jira/browse/AMQ-4475
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1469013 13f79535-47bb-0310-9956-ffa450edef68
2013-04-17 18:07:24 +00:00
Timothy A. Bish 3bf9d0cceb fix for: https://issues.apache.org/jira/browse/AMQ-4212
fix for: https://issues.apache.org/jira/browse/AMQ-2832

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1468171 13f79535-47bb-0310-9956-ffa450edef68
2013-04-15 18:08:15 +00:00
Timothy A. Bish 3f9b6ed391 fix and test for: https://issues.apache.org/jira/browse/AMQ-4469
Rewrote the unit test as a JUnit 4 test and remove hard coded 61616 port dep. 

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1467510 13f79535-47bb-0310-9956-ffa450edef68
2013-04-12 23:02:48 +00:00
Timothy A. Bish 2aba7845db AMQ-4212 Add KahaDB v4 data for use in testing the upgrade to v5 that this issue requires.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1467377 13f79535-47bb-0310-9956-ffa450edef68
2013-04-12 17:42:18 +00:00
Bosanac Dejan 15affd0755 https://issues.apache.org/jira/browse/AMQ-3706 - improve rebalance distribution which is more apparent when only two brokers are involved
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1467241 13f79535-47bb-0310-9956-ffa450edef68
2013-04-12 11:52:15 +00:00
Timothy A. Bish c7308a1183 Add a KahaDB trace entry for reference.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1467106 13f79535-47bb-0310-9956-ffa450edef68
2013-04-11 21:45:16 +00:00
Timothy A. Bish 2aff82c47a fix and test for: https://issues.apache.org/jira/browse/AMQ-4464
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1466131 13f79535-47bb-0310-9956-ffa450edef68
2013-04-09 17:05:21 +00:00
Timothy A. Bish a80c711d78 fix for: https://issues.apache.org/jira/browse/AMQ-4463
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1465814 13f79535-47bb-0310-9956-ffa450edef68
2013-04-08 22:34:04 +00:00
Bosanac Dejan 585a966a9b https://issues.apache.org/jira/browse/AMQ-4461 - priority backup with multiple brokers
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1465683 13f79535-47bb-0310-9956-ffa450edef68
2013-04-08 16:58:21 +00:00
Timothy A. Bish 0054941a53 fix and test for: https://issues.apache.org/jira/browse/AMQ-4356
The actual Durable subscription wasn't getting removed from the Store so on restart they were recovered.  

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1464729 13f79535-47bb-0310-9956-ffa450edef68
2013-04-04 20:30:00 +00:00
Timothy A. Bish 1b38caacf4 fix junit warnings. https://issues.apache.org/jira/browse/AMQ-4437
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1464584 13f79535-47bb-0310-9956-ffa450edef68
2013-04-04 15:00:05 +00:00
Timothy A. Bish 8e388b86d6 fix and test for: https://issues.apache.org/jira/browse/AMQ-4361
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1464165 13f79535-47bb-0310-9956-ffa450edef68
2013-04-03 19:22:16 +00:00
Timothy A. Bish 14b91d41b5 patch some test code: https://issues.apache.org/jira/browse/AMQ-4296
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1462346 13f79535-47bb-0310-9956-ffa450edef68
2013-03-28 23:12:48 +00:00
Timothy A. Bish f7f294f059 test code updates to address: https://issues.apache.org/jira/browse/AMQ-4415
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1462252 13f79535-47bb-0310-9956-ffa450edef68
2013-03-28 18:42:40 +00:00
Timothy A. Bish b52c371cd9 fix for: https://issues.apache.org/jira/browse/AMQ-4364
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1462210 13f79535-47bb-0310-9956-ffa450edef68
2013-03-28 16:36:57 +00:00
Gary Tully ed6c472601 https://issues.apache.org/jira/browse/AMQ-4407 - thanks for the test, to fix we need to ensure a persistence adapter is started, b/c it is stopped when the last dest is removed
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1461528 13f79535-47bb-0310-9956-ffa450edef68
2013-03-27 11:22:58 +00:00
Gary Tully 78bedd605a https://issues.apache.org/jira/browse/AMQ-4408 - fix and test
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1461362 13f79535-47bb-0310-9956-ffa450edef68
2013-03-26 22:56:16 +00:00
Christian Posta bcb768c14d Updated to take into account scenario from mailing list where durable sub would connect.reconnect every second message
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1461153 13f79535-47bb-0310-9956-ffa450edef68
2013-03-26 14:30:36 +00:00
Timothy A. Bish 6cdf756e91 fix for: https://issues.apache.org/jira/browse/AMQ-4389
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1458514 13f79535-47bb-0310-9956-ffa450edef68
2013-03-19 21:02:24 +00:00
Timothy A. Bish 84eab9b5bb fix for: https://issues.apache.org/jira/browse/AMQ-4388
fix for: https://issues.apache.org/jira/browse/AMQ-4387

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1458015 13f79535-47bb-0310-9956-ffa450edef68
2013-03-18 21:29:30 +00:00
Timothy A. Bish 1d9b347157 fix for: https://issues.apache.org/jira/browse/AMQ-4386
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1457996 13f79535-47bb-0310-9956-ffa450edef68
2013-03-18 21:07:51 +00:00
Timothy A. Bish 4cbfbbb10c fix for: https://issues.apache.org/jira/browse/AMQ-4385
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1457943 13f79535-47bb-0310-9956-ffa450edef68
2013-03-18 19:53:39 +00:00
Timothy A. Bish 95f17c2040 fix for: https://issues.apache.org/jira/browse/AMQ-4384
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1457917 13f79535-47bb-0310-9956-ffa450edef68
2013-03-18 18:52:32 +00:00
Timothy A. Bish f87f56294d fix and test for: https://issues.apache.org/jira/browse/AMQ-4373
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1456485 13f79535-47bb-0310-9956-ffa450edef68
2013-03-14 15:38:01 +00:00
Hiram R. Chirino 4c5197711a Fixes AMQ4368. Make sure we don't try to GC the database midway through a store operation.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1455661 13f79535-47bb-0310-9956-ffa450edef68
2013-03-12 18:22:59 +00:00
Hiram R. Chirino 846cf7df3f Added at test case and fix for AMQ-4351.
Avoids deadlock by not holding on to the pending and dispatch locks when we try to detach a durable sub from a topic.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1455290 13f79535-47bb-0310-9956-ffa450edef68
2013-03-11 19:18:23 +00:00
Gary Tully 885b8c9775 fix up tck violation on xasession interface after close expectations
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1454422 13f79535-47bb-0310-9956-ffa450edef68
2013-03-08 15:22:17 +00:00
Gary Tully c6c3b2351a https://issues.apache.org/jira/browse/AMQ-4364 - relevant test that works ok
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1454333 13f79535-47bb-0310-9956-ffa450edef68
2013-03-08 11:57:20 +00:00
Gary Tully fc15f130d1 https://issues.apache.org/jira/browse/AMQ-4362 - Broker-based redelivery plugin - support for maximumRedeliveries="-1"
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1454330 13f79535-47bb-0310-9956-ffa450edef68
2013-03-08 11:43:46 +00:00
Timothy A. Bish 2d46399ff3 fix for: https://issues.apache.org/jira/browse/AMQ-4363
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1453964 13f79535-47bb-0310-9956-ffa450edef68
2013-03-07 17:12:51 +00:00
Bosanac Dejan 5bc37afb3b test for some mbean queries
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1453871 13f79535-47bb-0310-9956-ffa450edef68
2013-03-07 13:55:39 +00:00
Timothy A. Bish c46c040122 Don't use hard coded port for the Broker.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1452371 13f79535-47bb-0310-9956-ffa450edef68
2013-03-04 16:27:03 +00:00
Timothy A. Bish d8aca93328 apply patch for: https://issues.apache.org/jira/browse/AMQ-4355
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1451608 13f79535-47bb-0310-9956-ffa450edef68
2013-03-01 14:55:20 +00:00
Gary Tully aa88843e72 fix pom exclusion for failing test
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1450243 13f79535-47bb-0310-9956-ffa450edef68
2013-02-26 16:05:07 +00:00
Gary Tully 4d9f7080d4 ensure test can find basedir
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1450226 13f79535-47bb-0310-9956-ffa450edef68
2013-02-26 15:40:53 +00:00
Timothy A. Bish 7e61d56ca2 fix for: https://issues.apache.org/jira/browse/AMQ-4345
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1449904 13f79535-47bb-0310-9956-ffa450edef68
2013-02-25 21:18:07 +00:00
Timothy A. Bish 8b3761c575 fix for: https://issues.apache.org/jira/browse/AMQ-4319
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1449797 13f79535-47bb-0310-9956-ffa450edef68
2013-02-25 18:24:20 +00:00
Gary Tully 74bccd57c6 some more sanity to this renew test, https://issues.apache.org/jira/browse/AMQ-4122
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1449184 13f79535-47bb-0310-9956-ffa450edef68
2013-02-22 19:51:04 +00:00
Timothy A. Bish 7a0b32b82b apply patch for: https://issues.apache.org/jira/browse/AMQ-4342
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1449157 13f79535-47bb-0310-9956-ffa450edef68
2013-02-22 18:25:13 +00:00
Gary Tully bebffd0e8f https://issues.apache.org/jira/browse/AMQ-4333 - fix and ensure existing test is executed
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1449080 13f79535-47bb-0310-9956-ffa450edef68
2013-02-22 15:47:36 +00:00
Timothy A. Bish d75e418c3d https://issues.apache.org/jira/browse/AMQ-4330
Merge back the isSlave() JMS API. 

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1449077 13f79535-47bb-0310-9956-ffa450edef68
2013-02-22 15:32:26 +00:00
Timothy A. Bish 6bf22224dd applied patch for: https://issues.apache.org/jira/browse/AMQ-4332
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1448299 13f79535-47bb-0310-9956-ffa450edef68
2013-02-20 17:04:40 +00:00
Gary Tully def8c77c07 Revert "Fix for https://issues.apache.org/jira/browse/AMQ-4000 Durable subscription not getting unregistered on networked broker, thanks torsten for the unit test!"
added DurableSubInBrokerNetworkTest to broken test profile till we get this resolved.

This reverts commit b7c32d924a.

Conflicts:
	activemq-unit-tests/src/test/java/org/apache/activemq/usecases/DurableSubInBrokerNetworkTest.java

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1448161 13f79535-47bb-0310-9956-ffa450edef68
2013-02-20 13:33:36 +00:00
Gary Tully 5b5a818f4d more exclusions - https://issues.apache.org/jira/browse/AMQ-4296
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1447725 13f79535-47bb-0310-9956-ffa450edef68
2013-02-19 14:13:49 +00:00
Gary Tully f4bed15738 https://issues.apache.org/jira/browse/AMQ-4328 - regression in AMQ3274Test, need to sync demand sub creation on async vm transport
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1447715 13f79535-47bb-0310-9956-ffa450edef68
2013-02-19 13:33:20 +00:00
Gary Tully 97655400e9 another leveldb scenario needing work - https://issues.apache.org/jira/browse/AMQ-4296
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1447701 13f79535-47bb-0310-9956-ffa450edef68
2013-02-19 12:50:29 +00:00
Gary Tully 548e52cde4 another leveldb scenario that needs some investigation, but use case seems dubious - https://issues.apache.org/jira/browse/AMQ-4296
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1447700 13f79535-47bb-0310-9956-ffa450edef68
2013-02-19 12:50:08 +00:00
Timothy A. Bish 3699e70433 fix for: https://issues.apache.org/jira/browse/AMQ-4331
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1447512 13f79535-47bb-0310-9956-ffa450edef68
2013-02-18 21:47:53 +00:00
Gary Tully f08a178c1d https://issues.apache.org/jira/browse/AMQ-4328 - fix and test. With a large backlog the flow can block when the vm transport is sync b/c the async requests can overlap with acks
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1447323 13f79535-47bb-0310-9956-ffa450edef68
2013-02-18 15:27:26 +00:00
Christian Posta 83b8df6574 Fix for https://issues.apache.org/jira/browse/AMQ-4000 Added test for multiple durable consumers across the network, per Gary's comments
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1446979 13f79535-47bb-0310-9956-ffa450edef68
2013-02-17 00:05:41 +00:00
Gary Tully 65bc9f3eaf https://issues.apache.org/jira/browse/AMQ-4323 - fix nd test
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1446577 13f79535-47bb-0310-9956-ffa450edef68
2013-02-15 13:33:01 +00:00
Christian Posta b7c32d924a Fix for https://issues.apache.org/jira/browse/AMQ-4000 Durable subscription not getting unregistered on networked broker, thanks torsten for the unit test!
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1446447 13f79535-47bb-0310-9956-ffa450edef68
2013-02-15 05:22:08 +00:00
Timothy A. Bish 7809e8067e fix and test for: https://issues.apache.org/jira/browse/AMQ-4321
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1446348 13f79535-47bb-0310-9956-ffa450edef68
2013-02-14 21:42:16 +00:00
Christian Posta aa32dbde83 Added a test that shows using virtual topics in a network of brokers to resolve some of the pain that comes up with durable subscriptions across a network. This test demonstrates the use of Virtual Topics and ConditionalNetworkBridgeFilterFactory with replayWhenNoConsumers=true
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1445772 13f79535-47bb-0310-9956-ffa450edef68
2013-02-13 17:58:30 +00:00
Timothy A. Bish 48effa8d2d https://issues.apache.org/jira/browse/AMQ-4296
turn the failing tests back on.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1445704 13f79535-47bb-0310-9956-ffa450edef68
2013-02-13 16:11:07 +00:00
Hiram R. Chirino b2fca26213 Remove deprecated modules. Converted many AMQ store tests to be LevelDB tests.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1445633 13f79535-47bb-0310-9956-ffa450edef68
2013-02-13 14:47:40 +00:00
Timothy A. Bish 2a64e88bd0 apply patch for: https://issues.apache.org/jira/browse/AMQ-4312
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1445436 13f79535-47bb-0310-9956-ffa450edef68
2013-02-13 00:39:57 +00:00
Christian Posta 571d452053 https://issues.apache.org/jira/browse/AMQ-4298 Add mutual authentication (needClientAuth) to https transport added tests as well
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1445299 13f79535-47bb-0310-9956-ffa450edef68
2013-02-12 18:27:53 +00:00
Bosanac Dejan 386b7bb844 improving building maven site
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1444071 13f79535-47bb-0310-9956-ffa450edef68
2013-02-08 15:30:53 +00:00
Timothy A. Bish 4743a20be3 Fix a bunch of warnings covering deprecated asserts and such.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1443600 13f79535-47bb-0310-9956-ffa450edef68
2013-02-07 16:43:15 +00:00
Timothy A. Bish c7d559fbcd Fix a bunch of warnings covering deprecated asserts and such.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1443267 13f79535-47bb-0310-9956-ffa450edef68
2013-02-06 22:56:12 +00:00
Timothy A. Bish 88b80e28ba Don't use a fixed port.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1443038 13f79535-47bb-0310-9956-ffa450edef68
2013-02-06 16:16:20 +00:00
Gary Tully 56174e770d [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1443026 13f79535-47bb-0310-9956-ffa450edef68
2013-02-06 15:45:26 +00:00
Gary Tully 5e257808f3 [maven-release-plugin] prepare release activemq-5.8.0
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1443024 13f79535-47bb-0310-9956-ffa450edef68
2013-02-06 15:43:41 +00:00
Gary Tully fc519e186a fix up missing license files - our rat check friend
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1442984 13f79535-47bb-0310-9956-ffa450edef68
2013-02-06 14:27:03 +00:00
Gary Tully 6a097b97fe https://issues.apache.org/jira/browse/AMQ-4296 - disable leveldb durable bits pending more work for 5.9
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1442953 13f79535-47bb-0310-9956-ffa450edef68
2013-02-06 13:14:02 +00:00
Timothy A. Bish 5219fa1a17 Fix warnings from use of deprecated asserts etc.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1442736 13f79535-47bb-0310-9956-ffa450edef68
2013-02-05 20:43:15 +00:00
Timothy A. Bish 1c9626b5a3 Remove use of deprecated asserts and add some logging.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1442723 13f79535-47bb-0310-9956-ffa450edef68
2013-02-05 20:15:47 +00:00
Timothy A. Bish 4650f998db Bumping the wait time a bit to account for older system and slow disks.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1442681 13f79535-47bb-0310-9956-ffa450edef68
2013-02-05 18:08:14 +00:00
Timothy A. Bish 5b533c7c37 Thin out the amount of synchronized code used in the test to make things simpler.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1442657 13f79535-47bb-0310-9956-ffa450edef68
2013-02-05 16:43:18 +00:00
Gary Tully 88d85ae552 https://issues.apache.org/jira/browse/AMQ-3331 - fix regression in BrokerNetworkWithStuckMessagesTest - vm connector exposed some turnips in there w.r.t the response correlator
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1442613 13f79535-47bb-0310-9956-ffa450edef68
2013-02-05 14:48:31 +00:00
Timothy A. Bish 7b19989e32 Disable the tests for now. Will look at these as part of v5.9
https://issues.apache.org/jira/browse/AMQ-4296

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1442191 13f79535-47bb-0310-9956-ffa450edef68
2013-02-04 17:27:43 +00:00
Gary Tully 274d228114 ensure connection is closed - fix intermittent failure
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1442172 13f79535-47bb-0310-9956-ffa450edef68
2013-02-04 16:50:53 +00:00
Timothy A. Bish 856e5061d7 Break up these tests as they are order dependent.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1441643 13f79535-47bb-0310-9956-ffa450edef68
2013-02-01 21:37:20 +00:00
Timothy A. Bish 972176ea33 Add a fix for: https://issues.apache.org/jira/browse/AMQ-4147
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1441240 13f79535-47bb-0310-9956-ffa450edef68
2013-01-31 22:47:25 +00:00
Timothy A. Bish 849baa6fbc Apply fix and test for: https://issues.apache.org/jira/browse/AMQ-4116
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1441212 13f79535-47bb-0310-9956-ffa450edef68
2013-01-31 21:50:04 +00:00
Timothy A. Bish 7f022c9379 apply fix for: https://issues.apache.org/jira/browse/AMQ-4288
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1441156 13f79535-47bb-0310-9956-ffa450edef68
2013-01-31 19:34:22 +00:00
Timothy A. Bish f88b21613b apply fix for: https://issues.apache.org/jira/browse/AMQ-4288
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1441085 13f79535-47bb-0310-9956-ffa450edef68
2013-01-31 17:44:04 +00:00
Timothy A. Bish b8bbca6773 apply fix for: https://issues.apache.org/jira/browse/AMQ-4288
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1441081 13f79535-47bb-0310-9956-ffa450edef68
2013-01-31 17:32:58 +00:00
Gary Tully 7e87cf2685 https://issues.apache.org/jira/browse/AMQ-4285 - tidied up test to be tolerant of pitfalls of request/reply with temps over a network
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1440988 13f79535-47bb-0310-9956-ffa450edef68
2013-01-31 14:41:35 +00:00
Timothy A. Bish 0f3fdd7aa7 Added in some more useful logging and cleaned up the stop code.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1440733 13f79535-47bb-0310-9956-ffa450edef68
2013-01-30 23:23:41 +00:00
Timothy A. Bish d2c901f0ca https://issues.apache.org/jira/browse/AMQ-4286
Cleans up test case and adds logging to help figure out what's failing. 

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1440672 13f79535-47bb-0310-9956-ffa450edef68
2013-01-30 21:12:59 +00:00
Gary Tully a8b6f8bb45 quick sanity of non duplex case
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1440502 13f79535-47bb-0310-9956-ffa450edef68
2013-01-30 16:21:02 +00:00
Gary Tully 30a9fe104d https://issues.apache.org/jira/browse/AMQ-4283 - fix and test
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1440415 13f79535-47bb-0310-9956-ffa450edef68
2013-01-30 13:49:55 +00:00
Timothy A. Bish 0b09fde97c Apply patch for: https://issues.apache.org/jira/browse/AMQ-4281
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1440012 13f79535-47bb-0310-9956-ffa450edef68
2013-01-29 17:31:30 +00:00
Timothy A. Bish ef24cc9a04 fix https://issues.apache.org/jira/browse/AMQ-4280
activemq-core module renamed to activemq-unit-tests

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1439685 13f79535-47bb-0310-9956-ffa450edef68
2013-01-28 23:09:54 +00:00