Commit Graph

3128 Commits

Author SHA1 Message Date
Gary Tully 3c8df79eca add test to veriry loadbalance across network, effect of prefetch on vm client vs nework consumer, allowed prefetch to be configured via xml property (ie string in schema) for xml config
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@950515 13f79535-47bb-0310-9956-ffa450edef68
2010-06-02 12:08:58 +00:00
Gary Tully 3271401883 resolve durable restart test regressions with kahaDB as default store, the next message sequence id could get out of sync for a durable sub when drained and reused, fix for https://issues.apache.org/activemq/browse/AMQ-2755
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@950171 13f79535-47bb-0310-9956-ffa450edef68
2010-06-01 17:28:21 +00:00
Gary Tully 7f0ced9402 resolve regression in FailoverTransactionTest following change to fix resolve https://issues.apache.org/activemq/browse/AMQ-2751, fix needs to be conditional on delayed delivery otherwise it can effect async transacted redelivery on failover
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@949789 13f79535-47bb-0310-9956-ffa450edef68
2010-05-31 16:12:06 +00:00
Gary Tully 72015ca681 resolve https://issues.apache.org/activemq/browse/AMQ-2754 - fix issue with conduit sub removal
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@949742 13f79535-47bb-0310-9956-ffa450edef68
2010-05-31 13:44:17 +00:00
Gary Tully ecf068e23b first cut at resolution to: https://issues.apache.org/activemq/browse/AMQ-2753 - add priority network consumer dispatch policy that will ignore duplicates such that there can be redundancy in the network with the addition of suppressDuplicateTopicSubscriptions attribute on a network bridge
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@948911 13f79535-47bb-0310-9956-ffa450edef68
2010-05-27 17:02:41 +00:00
Gary Tully b50ede668d resolve https://issues.apache.org/activemq/browse/AMQ-2752 - allow timestamp broker plugin to optinally modify network messages, processNetworkMessages attribute
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@948858 13f79535-47bb-0310-9956-ffa450edef68
2010-05-27 15:22:43 +00:00
Gary Tully ae7df9fcaa help in diagnosis of https://issues.apache.org/activemq/browse/AMQ-2749 - provide log message when waiting for space to free up
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@948489 13f79535-47bb-0310-9956-ffa450edef68
2010-05-26 16:29:38 +00:00
Gary Tully 18adfefabe resolve https://issues.apache.org/activemq/browse/AMQ-2751 - duplicate suppression over eager with listener, session.recover from a message listener when default delayed redelivery is in place
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@948463 13f79535-47bb-0310-9956-ffa450edef68
2010-05-26 14:52:20 +00:00
Gary Tully 33f4190343 resolve regression in ThreeBrokerVirtualTopicNetworkTest - asnyc tasks need to use destination in key as id is not uniqueue with virtual topics. Also, on a failed cancle, we must wait for the write to compete so the ack/remove does not lag the write leaving an outstanding message. consequence of fixes for https://issues.apache.org/activemq/browse/AMQ-2620 and
https://issues.apache.org/activemq/browse/AMQ-2568

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@948209 13f79535-47bb-0310-9956-ffa450edef68
2010-05-25 21:20:40 +00:00
Bosanac Dejan aace7c6937 https://issues.apache.org/activemq/browse/AMQ-1464 - fanout regression
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@947757 13f79535-47bb-0310-9956-ffa450edef68
2010-05-24 18:43:39 +00:00
Gary Tully 35593638f5 resolve ConnectorXBeanConfigTest, broker service needs to null more impls at shutdown to allow restart to find new impls of scheudaler etc. consequence of fixes for https://issues.apache.org/activemq/browse/AMQ-2620 and
https://issues.apache.org/activemq/browse/AMQ-2568

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@947671 13f79535-47bb-0310-9956-ffa450edef68
2010-05-24 15:36:14 +00:00
Gary Tully e1389a6acc allow journal write batching, resolve global transaction lock and journal lock, let writes accumulate on the datafileappender rather than at the store, also tie transaction completion and after commit processing together with a callback rather than with a global lock so that concurrent commits can batch their writes - rework of fix for https://issues.apache.org/activemq/browse/AMQ-2594
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@947657 13f79535-47bb-0310-9956-ffa450edef68
2010-05-24 14:48:55 +00:00
Hiram R. Chirino da0490b501 Fix for failing case in XARecoveryBrokerTest related to https://issues.apache.org/activemq/browse/AMQ-2620
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@947653 13f79535-47bb-0310-9956-ffa450edef68
2010-05-24 14:32:21 +00:00
Gary Tully c92fe9992b make perf test num producers configurable via command line to allow easy comparison, make test use transacted sends
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@947638 13f79535-47bb-0310-9956-ffa450edef68
2010-05-24 13:28:51 +00:00
Gary Tully 10a976674e possibly resolve https://issues.apache.org/activemq/browse/AMQ-2564 - add test and fix issue with slave replication effecting response correlator when message is queued waiting for space, the id can get out of sync, causing a missed reply to the orignal producer, which would result in a hang
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@946974 13f79535-47bb-0310-9956-ffa450edef68
2010-05-21 11:40:27 +00:00
Gary Tully 4386e118a1 remove deps on 1.6 constructor, no point making 1.6 a requirement for this little feature
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@946964 13f79535-47bb-0310-9956-ffa450edef68
2010-05-21 10:08:22 +00:00
Robert Davies e2a383690c added transacted topic test
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@946725 13f79535-47bb-0310-9956-ffa450edef68
2010-05-20 17:39:09 +00:00
Robert Davies cd6f4f5650 Fix null pointer exception in doStop()
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@946681 13f79535-47bb-0310-9956-ffa450edef68
2010-05-20 16:06:48 +00:00
Robert Davies 1a5ad284ed fixes for https://issues.apache.org/activemq/browse/AMQ-2620 and
https://issues.apache.org/activemq/browse/AMQ-2568

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@946600 13f79535-47bb-0310-9956-ffa450edef68
2010-05-20 12:02:10 +00:00
Gary Tully 1b6d397aab https://issues.apache.org/activemq/browse/AMQ-378 - add AbortSlowConsumerStrategy destination policy that will abort consumers that are repeatildy slow or slow for a defined period. Slowness is a product of the prefetch and message production rate.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@946138 13f79535-47bb-0310-9956-ffa450edef68
2010-05-19 11:56:52 +00:00
Gary Tully 50daa35a32 resolve failure of org.apache.activemq.store.jdbc.JDBCStoreOrderTest - async ack when in a transaction and transaction store message store proxy missing async impl, belt and braces, fix async ack and add sync imple to proxy - following async changes from http://svn.apache.org/viewvc?rev=945102&view=rev
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@946135 13f79535-47bb-0310-9956-ffa450edef68
2010-05-19 11:48:38 +00:00
Gary Tully 3713a3bdeb resolve https://issues.apache.org/activemq/browse/AMQ-2737 - add the two new files, oops
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@945709 13f79535-47bb-0310-9956-ffa450edef68
2010-05-18 15:45:07 +00:00
Gary Tully 21891008c5 resolve https://issues.apache.org/activemq/browse/AMQ-2737 - have nio work with soWritetTimeout filter
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@945692 13f79535-47bb-0310-9956-ffa450edef68
2010-05-18 15:20:33 +00:00
Robert Davies 5405ec8c49 Explicitly set the PersistenceAdapterFactory
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@945600 13f79535-47bb-0310-9956-ffa450edef68
2010-05-18 11:52:23 +00:00
Bosanac Dejan 8cf566b4ca assert that reconnecting durable sub on a remote broker works
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@945594 13f79535-47bb-0310-9956-ffa450edef68
2010-05-18 11:32:22 +00:00
Robert Davies b09ed031aa removeTopicTask fixed
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@945495 13f79535-47bb-0310-9956-ffa450edef68
2010-05-18 04:55:30 +00:00
Bosanac Dejan 0d05af6614 https://issues.apache.org/activemq/browse/AMQ-2456 - JaasDualAuthentcationPlugin/Broker
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@945227 13f79535-47bb-0310-9956-ffa450edef68
2010-05-17 16:04:23 +00:00
Robert Davies ea843782b3 added support for concurrent dispatch and store of persistent messages in KahaDB
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@945102 13f79535-47bb-0310-9956-ffa450edef68
2010-05-17 11:53:28 +00:00
Bosanac Dejan eb6fec879f https://issues.apache.org/activemq/browse/AMQ-2667 - make fileserver jetty neutral
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@944278 13f79535-47bb-0310-9956-ffa450edef68
2010-05-14 14:19:14 +00:00
Bosanac Dejan af159dd82b https://issues.apache.org/activemq/browse/AMQ-2713 - delete blob message files from server
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@944167 13f79535-47bb-0310-9956-ffa450edef68
2010-05-14 09:21:42 +00:00
Gary Tully dee584b99e make keepAlive optional for inactivity monitor, useKeepAlive=false option, such that it can be used to abort slow consumers
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@944163 13f79535-47bb-0310-9956-ffa450edef68
2010-05-14 09:08:07 +00:00
Bosanac Dejan 41a1842d8c https://issues.apache.org/activemq/browse/AMQ-2732 - more test refactorings
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@943934 13f79535-47bb-0310-9956-ffa450edef68
2010-05-13 16:47:53 +00:00
Bosanac Dejan 3af93f1898 https://issues.apache.org/activemq/browse/AMQ-2732 - ftp blob permission denied
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@943916 13f79535-47bb-0310-9956-ffa450edef68
2010-05-13 15:38:03 +00:00
Bosanac Dejan a34c80858e https://issues.apache.org/activemq/browse/AMQ-2732 - ftp blob permission denied
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@943915 13f79535-47bb-0310-9956-ffa450edef68
2010-05-13 15:37:35 +00:00
Gary Tully c909e965c7 fix assertion on discarded count
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@943877 13f79535-47bb-0310-9956-ffa450edef68
2010-05-13 13:10:49 +00:00
Gary Tully 429869d034 a trivial lrucache test to validate resize is not crazy
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@943861 13f79535-47bb-0310-9956-ffa450edef68
2010-05-13 10:13:21 +00:00
Bosanac Dejan 3a6a56c633 https://issues.apache.org/activemq/browse/AMQ-2729 - failover uri query parsing
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@943860 13f79535-47bb-0310-9956-ffa450edef68
2010-05-13 10:09:44 +00:00
Gary Tully c3a64a8eb3 add little test to validate load balancing in a simple network
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@943856 13f79535-47bb-0310-9956-ffa450edef68
2010-05-13 09:40:36 +00:00
Gary Tully 0e1d63269d make tests more resiliant to running on slower/loaded machines
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@943091 13f79535-47bb-0310-9956-ffa450edef68
2010-05-11 11:50:22 +00:00
Gary Tully 4a2b796acc fix assertion, thanks Darek
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@943085 13f79535-47bb-0310-9956-ffa450edef68
2010-05-11 11:19:48 +00:00
Gary Tully 41c2a9c469 add test for prosperity
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@942715 13f79535-47bb-0310-9956-ffa450edef68
2010-05-10 12:01:35 +00:00
Bosanac Dejan 4e8143711a https://issues.apache.org/activemq/browse/AMQ-2706 - request-reply over network
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@942131 13f79535-47bb-0310-9956-ffa450edef68
2010-05-07 15:48:53 +00:00
Gary Tully aa3110e26c add simple test for localport uri notation in a connection factory: http://activemq.apache.org/how-do-i-define-a-local-address-and-local-port-for-tcp-or-ssl.html
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@942025 13f79535-47bb-0310-9956-ffa450edef68
2010-05-07 08:03:49 +00:00
Gary Tully 79d303d802 some maven future proofing - resolve warn about pom property references
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@941712 13f79535-47bb-0310-9956-ffa450edef68
2010-05-06 13:09:16 +00:00
Gary Tully 591e55ffce resolve https://issues.apache.org/activemq/browse/AMQ-2720 - ensure kahaDB getDestinations returns only durable topic destinations and add test case for duplicate messages in a network after restart
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@941281 13f79535-47bb-0310-9956-ffa450edef68
2010-05-05 13:37:13 +00:00
Bosanac Dejan a3344e61a9 https://issues.apache.org/activemq/browse/AMQ-2719 - order of redelivered messages
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@941174 13f79535-47bb-0310-9956-ffa450edef68
2010-05-05 07:09:37 +00:00
Gary Tully 9b7ce0e490 add setDecreaseNetworkConsumerPriority and send another message to try and find problem, still good
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@939682 13f79535-47bb-0310-9956-ffa450edef68
2010-04-30 14:16:33 +00:00
Gary Tully 14f7c669ec add additional brokers to form a ring of 3
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@939327 13f79535-47bb-0310-9956-ffa450edef68
2010-04-29 14:35:13 +00:00
Gary Tully 3340371bdd test case that validates network with virtual topics and broker restart
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@939318 13f79535-47bb-0310-9956-ffa450edef68
2010-04-29 14:19:51 +00:00
Gary Tully fe89b0264b validation test for https://issues.apache.org/activemq/browse/AMQ-2716, delete of reply queue
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@939249 13f79535-47bb-0310-9956-ffa450edef68
2010-04-29 10:10:28 +00:00