Commit Graph

3371 Commits

Author SHA1 Message Date
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
Gary Tully c4d8bc47a0 tidy up vm url handling, fix failover and ssl context: resolve https://issues.apache.org/activemq/browse/AMQ-2715 and add test for same, improve logging around network connector
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@938998 13f79535-47bb-0310-9956-ffa450edef68
2010-04-28 16:12:29 +00:00
Bosanac Dejan 80fd502dcd https://issues.apache.org/activemq/browse/AMQ-2323 - make test JMX independent
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@938823 13f79535-47bb-0310-9956-ffa450edef68
2010-04-28 08:59:46 +00:00
Bosanac Dejan 4b6c80277a https://issues.apache.org/activemq/browse/AMQ-2636 - adding missing diff serv names
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@938461 13f79535-47bb-0310-9956-ffa450edef68
2010-04-27 14:10:44 +00:00
Bosanac Dejan 5280808865 https://issues.apache.org/activemq/browse/AMQ-2183 - composite destinations and master/slave
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@938353 13f79535-47bb-0310-9956-ffa450edef68
2010-04-27 08:22:59 +00:00
Bosanac Dejan e0d7906605 moving a test to activemq-spring
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@938343 13f79535-47bb-0310-9956-ffa450edef68
2010-04-27 07:48:49 +00:00
Bosanac Dejan 093c901329 https://issues.apache.org/activemq/browse/AMQ-2705 - broker version in jmx and web console
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@937334 13f79535-47bb-0310-9956-ffa450edef68
2010-04-23 15:27:36 +00:00
Gary Tully 36cc71d077 add some more detailed logging
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@937308 13f79535-47bb-0310-9956-ffa450edef68
2010-04-23 14:12:03 +00:00
Robert Davies 9524835224 Apply patch for https://issues.apache.org/activemq/browse/AMQ-2636
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@937272 13f79535-47bb-0310-9956-ffa450edef68
2010-04-23 12:46:41 +00:00
Robert Davies 9740fb21a6 Apply fixECNBits patch for https://issues.apache.org/activemq/browse/AMQ-2636
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@937265 13f79535-47bb-0310-9956-ffa450edef68
2010-04-23 12:32:40 +00:00
Bosanac Dejan f8b0c22d0f https://issues.apache.org/activemq/browse/AMQ-2323 - dupliactes with composite destinations
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@936811 13f79535-47bb-0310-9956-ffa450edef68
2010-04-22 12:25:16 +00:00
Gary Tully 956c3e0df2 resolve hang in purge if message count stats are off and log a warning.. tidy up broker service waitForStarted logic which caused AMQ2102 test to block.. still issue with master/slave sync with AMQ2102
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@936798 13f79535-47bb-0310-9956-ffa450edef68
2010-04-22 12:01:15 +00:00
Gary Tully eb983f7c08 resolve https://issues.apache.org/activemq/browse/AMQ-2704 - add message audit to topic sub so that a regular sub can behave like store backed subscriptions which already suppress duplicates. Dup ocurrs from ring network topology where there are two equal and valid routes for a message, see test case
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@936390 13f79535-47bb-0310-9956-ffa450edef68
2010-04-21 16:45:30 +00:00
Gary Tully 6a73c40c18 resolve https://issues.apache.org/activemq/browse/AMQ-2651 - modified patch applied with thanks, did not change the default as there are a bunch of tests and user applications that depend on the current default
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@935954 13f79535-47bb-0310-9956-ffa450edef68
2010-04-20 15:13:18 +00:00
Bosanac Dejan 76de7c05e6 https://issues.apache.org/activemq/browse/AMQ-2702 - introducing activemq-spring module
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@935952 13f79535-47bb-0310-9956-ffa450edef68
2010-04-20 15:05:29 +00:00
Bosanac Dejan bb0aed0425 GenerateJDBCStatements - eliminate compiler warnings
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@935638 13f79535-47bb-0310-9956-ffa450edef68
2010-04-19 15:58:11 +00:00
Bosanac Dejan 358b522b8d Some improvements for org.apache.activemq.ra.JmsXARollback2CxTransactionTest test as it fails in hudson
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@935501 13f79535-47bb-0310-9956-ffa450edef68
2010-04-19 09:54:19 +00:00
Bosanac Dejan 789789f06b https://issues.apache.org/activemq/browse/AMQ-2697 - policies for temp destinations
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@934961 13f79535-47bb-0310-9956-ffa450edef68
2010-04-16 15:27:54 +00:00
Bosanac Dejan db9533b631 NetworkBrokerDetachTest refactoring
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@934871 13f79535-47bb-0310-9956-ffa450edef68
2010-04-16 13:52:21 +00:00
Bosanac Dejan fab6ba187d JmsSchedulerTest give it more time to handle slow machines and add some debugging
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@934839 13f79535-47bb-0310-9956-ffa450edef68
2010-04-16 12:14:52 +00:00
Bosanac Dejan 952d036856 https://issues.apache.org/activemq/browse/AMQ-2696 - last broker sequence id and durable subscribers
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@934408 13f79535-47bb-0310-9956-ffa450edef68
2010-04-15 13:52:06 +00:00
Gary Tully a0d2282a41 resolve https://issues.apache.org/activemq/browse/AMQ-2668 - implement destination PolicyEntry storeUsageHighWaterMark to allow rough store usage split across destinations. an individual dest can use a 70% high watermark leaving the default 100% for a DLQ, so that it is not blocked on a store limit
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@934352 13f79535-47bb-0310-9956-ffa450edef68
2010-04-15 10:04:55 +00:00
Bosanac Dejan e037e069bd https://issues.apache.org/activemq/browse/AMQ-2448 - increasing failure margin
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@933256 13f79535-47bb-0310-9956-ffa450edef68
2010-04-12 14:44:14 +00:00
Gary Tully 9e54516aba resolve https://issues.apache.org/activemq/browse/AMQ-2693 - loaded machine with slow thread creation can delay interruption processing past next dispatch which can be problematic. prefetch=1 will workaround
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@933240 13f79535-47bb-0310-9956-ffa450edef68
2010-04-12 14:03:18 +00:00
Bosanac Dejan fc52e42636 AMQ2102Test improvements
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@933190 13f79535-47bb-0310-9956-ffa450edef68
2010-04-12 10:56:23 +00:00
Bosanac Dejan 80a7ec59b4 https://issues.apache.org/activemq/browse/AMQ-2448 - thread leak when network trying to connect to unavailable broker
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@932403 13f79535-47bb-0310-9956-ffa450edef68
2010-04-09 13:31:36 +00:00
Gary Tully 05f82a9b6d resolve https://issues.apache.org/activemq/browse/AMQ-2691 - ensure suppressed durable subs are acked so that message can be removed and not recovered at a later date. Tidy up network bridge creation so that durables are supported by default and allow dynamicOnly to determine if durables are auto bridged. Avoid duplicate mbeans for durable subs on restart and allow active to reflect status of a sub
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@932342 13f79535-47bb-0310-9956-ffa450edef68
2010-04-09 10:36:00 +00:00
Bosanac Dejan ce8f83acf1 https://issues.apache.org/activemq/browse/AMQ-2448 - adding test case
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@931216 13f79535-47bb-0310-9956-ffa450edef68
2010-04-06 16:37:26 +00:00
Bosanac Dejan b53e4b545a https://issues.apache.org/activemq/browse/AMQ-2684 - encoding for web sockets and stomp
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@931089 13f79535-47bb-0310-9956-ffa450edef68
2010-04-06 11:04:12 +00:00
Bosanac Dejan 684f5dfef1 https://issues.apache.org/activemq/browse/AMQ-2684 - encoding for web sockets and stomp
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@931047 13f79535-47bb-0310-9956-ffa450edef68
2010-04-06 08:19:18 +00:00
Bosanac Dejan 3336a22ff9 https://issues.apache.org/activemq/browse/AMQ-2681 - adding license header
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@930212 13f79535-47bb-0310-9956-ffa450edef68
2010-04-02 09:45:15 +00:00
Bosanac Dejan d22e841db9 https://issues.apache.org/activemq/browse/AMQ-2681 - typo fixed and generate jdbc statements class
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@930206 13f79535-47bb-0310-9956-ffa450edef68
2010-04-02 09:38:46 +00:00
Gary Tully 4eafcccf62 resolve https://issues.apache.org/activemq/browse/AMQ-2556 - resolve leaks with XA_RDONLY - prepare needs to cleanup the transaction state, both on the broker and on the client connection/session/failover state
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@930135 13f79535-47bb-0310-9956-ffa450edef68
2010-04-01 23:25:20 +00:00
David Jencks c22ea7fab0 ACTIVEMQ-2384 remove hard dependency on spring
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@930041 13f79535-47bb-0310-9956-ffa450edef68
2010-04-01 16:56:13 +00:00
Bosanac Dejan fd65b8201a https://issues.apache.org/activemq/browse/AMQ-2681 - findMessageByIdStatement
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@929918 13f79535-47bb-0310-9956-ffa450edef68
2010-04-01 10:56:26 +00:00
Gary Tully 9822d58d04 resolve https://issues.apache.org/activemq/browse/AMQ-2384 - not exactly the patch but allowing the introspector to work, which is more generic with some tests, thanks phil for the impetus on this
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@929618 13f79535-47bb-0310-9956-ffa450edef68
2010-03-31 16:54:49 +00:00
Gary Tully 2dd5b7737b resolve https://issues.apache.org/activemq/browse/AMQ-2670 - revert XA connection manager, using out of band recovery via JMS api is a workaround for jboss pending RAR based auto recovery or enlistment, comments in the jira with the relevant config
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@929145 13f79535-47bb-0310-9956-ffa450edef68
2010-03-30 14:02:40 +00:00
Bosanac Dejan 99d51265ff http://issues.apache.org/activemq/browse/AMQ-2507 - use commons logging
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@929094 13f79535-47bb-0310-9956-ffa450edef68
2010-03-30 11:48:02 +00:00
Bosanac Dejan 73338477ad https://issues.apache.org/activemq/browse/AMQ-2669 - jmx slave attribute for shared filesystem (jdbc) MS configurations
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@927324 13f79535-47bb-0310-9956-ffa450edef68
2010-03-25 10:07:53 +00:00
Gary Tully ff006954d8 add additional test class : https://issues.apache.org/activemq/browse/AMQ-2622
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@927066 13f79535-47bb-0310-9956-ffa450edef68
2010-03-24 14:10:59 +00:00
Gary Tully e9f30febec make ObjectMessage.copy aware of setObjectMessageSerializationDefered so that copy on dispatch can operate on message dispatch fields but message serialization is still avoided - resolve: https://issues.apache.org/activemq/browse/AMQ-2622
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@927054 13f79535-47bb-0310-9956-ffa450edef68
2010-03-24 13:51:00 +00:00
Gary Tully 363a1cf599 resolve issue with roll over and cron parser, hudson builds in different TZ has repeated faiure on trunk, getNext may still need some work
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@926646 13f79535-47bb-0310-9956-ffa450edef68
2010-03-23 16:20:40 +00:00
Robert Davies c9addfb50e remove Log messages from BrokerInfo to so JmsAppender works
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@926165 13f79535-47bb-0310-9956-ffa450edef68
2010-03-22 16:34:49 +00:00
Robert Davies dfeecb4519 Applied updated patch for https://issues.apache.org/activemq/browse/AMQ-2636
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@926152 13f79535-47bb-0310-9956-ffa450edef68
2010-03-22 16:09:44 +00:00
Robert Davies 475eedc7a6 Fix order in which scheduler is used in the broker
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@925351 13f79535-47bb-0310-9956-ffa450edef68
2010-03-19 17:41:13 +00:00
Robert Davies cc40251451 make sure scheduling works with transactions
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@925221 13f79535-47bb-0310-9956-ffa450edef68
2010-03-19 14:08:07 +00:00
Robert Davies efd6bda979 default updateClusterClients = false - to ensure JUnit tests pass - which rely on a defined failover:// list
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@925035 13f79535-47bb-0310-9956-ffa450edef68
2010-03-18 23:00:03 +00:00
Gary Tully d914548559 resolve https://issues.apache.org/activemq/browse/AMQ-2656 xa=true in the environment will ensure an XACOnnectionFactory is created
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@924972 13f79535-47bb-0310-9956-ffa450edef68
2010-03-18 20:02:13 +00:00
Bosanac Dejan 1cec28cf27 https://issues.apache.org/activemq/browse/AMQ-2594 - proper init of broker and store seq
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@924752 13f79535-47bb-0310-9956-ffa450edef68
2010-03-18 13:05:43 +00:00
Bosanac Dejan 229043b7d9 cleaning log4j.properties
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@924709 13f79535-47bb-0310-9956-ffa450edef68
2010-03-18 11:11:22 +00:00
Robert Davies e75affa660 Fix for https://issues.apache.org/activemq/browse/AMQ-2646
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@924661 13f79535-47bb-0310-9956-ffa450edef68
2010-03-18 07:21:12 +00:00
Bosanac Dejan af65ba7242 https://issues.apache.org/activemq/browse/AMQ-2654 - subscription info space character
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@924353 13f79535-47bb-0310-9956-ffa450edef68
2010-03-17 16:25:02 +00:00
Robert Davies de04214bb5 Fix for https://issues.apache.org/activemq/browse/AMQ-2645
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@924350 13f79535-47bb-0310-9956-ffa450edef68
2010-03-17 16:18:14 +00:00
Robert Davies be55d0a661 added option to not update clients when broker removed from a cluster
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@924349 13f79535-47bb-0310-9956-ffa450edef68
2010-03-17 16:17:26 +00:00
Bosanac Dejan 5cc101beae https://issues.apache.org/activemq/browse/AMQ-2594 - including the test and adding some comments
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@923706 13f79535-47bb-0310-9956-ffa450edef68
2010-03-16 12:21:14 +00:00
Bosanac Dejan 8183ed5c90 https://issues.apache.org/activemq/browse/AMQ-2594 - synchronizing transaction store commit and triggering afterCommit event
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@923694 13f79535-47bb-0310-9956-ffa450edef68
2010-03-16 11:12:37 +00:00
Bosanac Dejan 24a7626b06 https://issues.apache.org/activemq/browse/AMQ-2594 - jdbc and broker seq id - intial commit
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@923300 13f79535-47bb-0310-9956-ffa450edef68
2010-03-15 15:37:58 +00:00
Robert Davies a1c427e0a3 Fix failing ReconnectTest
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@923272 13f79535-47bb-0310-9956-ffa450edef68
2010-03-15 14:49:18 +00:00
Robert Davies 909c1c3d18 Applied patch for https://issues.apache.org/activemq/browse/AMQ-2191
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@921822 13f79535-47bb-0310-9956-ffa450edef68
2010-03-11 12:20:10 +00:00
Robert Davies dc0f5b392b Add a cluster update filter
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@921821 13f79535-47bb-0310-9956-ffa450edef68
2010-03-11 12:17:10 +00:00
Bosanac Dejan 7ee5cdd276 https://issues.apache.org/activemq/browse/AMQ-2440 - fine tuning
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@920881 13f79535-47bb-0310-9956-ffa450edef68
2010-03-09 14:05:11 +00:00
Bosanac Dejan 83604eee1d https://issues.apache.org/activemq/browse/AMQ-2440 - limiting number of threads for the executor pool
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@920838 13f79535-47bb-0310-9956-ffa450edef68
2010-03-09 12:29:23 +00:00
Bosanac Dejan 3cbe3f1f92 https://issues.apache.org/activemq/browse/AMQ-2440 - fixing bug on marking worker as non empty
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@920827 13f79535-47bb-0310-9956-ffa450edef68
2010-03-09 12:18:47 +00:00
Robert Davies 54fa83da8b Apply patch for https://issues.apache.org/activemq/browse/AMQ-2636
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@920395 13f79535-47bb-0310-9956-ffa450edef68
2010-03-08 16:53:30 +00:00
Hiram R. Chirino 3634d64747 check for release after processig io tasks
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@920330 13f79535-47bb-0310-9956-ffa450edef68
2010-03-08 14:19:40 +00:00
Hiram R. Chirino 192ea889ee close the selection on shutdown
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@920325 13f79535-47bb-0310-9956-ffa450edef68
2010-03-08 14:07:29 +00:00
Robert Davies f392884e31 Fix for https://issues.apache.org/activemq/browse/AMQ-2632
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@920306 13f79535-47bb-0310-9956-ffa450edef68
2010-03-08 12:48:45 +00:00
Gary Tully cc18e703b2 fix validation
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@919793 13f79535-47bb-0310-9956-ffa450edef68
2010-03-06 16:01:38 +00:00
David Jencks 7cefb7ae73 AMQ-2637 widen osgi import version ranges
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@919561 13f79535-47bb-0310-9956-ffa450edef68
2010-03-05 19:45:10 +00:00
Gary Tully f82dc25eae resolve https://issues.apache.org/activemq/browse/AMQ-2635
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@918384 13f79535-47bb-0310-9956-ffa450edef68
2010-03-03 10:28:54 +00:00
Gary Tully f33e2190d0 resolve https://issues.apache.org/activemq/browse/AMQ-2630 - added test and restricted imlementation
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@918381 13f79535-47bb-0310-9956-ffa450edef68
2010-03-03 10:15:10 +00:00
Robert Davies f782fc0b4a makesure assertEquals() is comparing to long values
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@917969 13f79535-47bb-0310-9956-ffa450edef68
2010-03-02 11:20:42 +00:00
Gary Tully 50dadbb877 fix intermittent failure with test, was forwarding to same destination which made it timing dependent
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@917628 13f79535-47bb-0310-9956-ffa450edef68
2010-03-01 18:17:51 +00:00
Gary Tully 77116d41cc resolve test failures, all test xml must now validae post https://issues.apache.org/activemq/browse/AMQ-2547 - upgrading trunk to spring 3.0.1.RELEASE
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@916937 13f79535-47bb-0310-9956-ffa450edef68
2010-02-27 10:11:16 +00:00
Gary Tully 7f8c822a20 resolve https://issues.apache.org/activemq/browse/AMQ-906 - have retries with autoack and runtime exception from onMessage
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@916936 13f79535-47bb-0310-9956-ffa450edef68
2010-02-27 10:07:05 +00:00
Hiram R. Chirino 1f521da77e Updated the TransportConnector and TransportConnection to use a thread pool when initalizing and destroying connection to better support fast
connect and disconnect use cases.



git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@916780 13f79535-47bb-0310-9956-ffa450edef68
2010-02-26 18:40:31 +00:00
Hiram R. Chirino 662324caac Better selector synchonization to help resolve AMQ-2440
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@916762 13f79535-47bb-0310-9956-ffa450edef68
2010-02-26 17:14:40 +00:00
Gary Tully 3e4fc0a678 resolve https://issues.apache.org/activemq/browse/AMQ-2628 - add consumerId to message dicarded advisory to allow correlation with the dlq, change to the brokerservice advisory api
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@916255 13f79535-47bb-0310-9956-ffa450edef68
2010-02-25 11:39:53 +00:00
Gary Tully 156a6095c4 variation on https://issues.apache.org/activemq/browse/AMQ-2626 - add vmcursor eviction test, shows similar issues also fix potential hang when connection is shutdown and producer is waiting for space in pending messages
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@915809 13f79535-47bb-0310-9956-ffa450edef68
2010-02-24 14:46:21 +00:00
Gary Tully a2af47bd1d resolve https://issues.apache.org/activemq/browse/AMQ-2626 - ensure reference count is decremented on non evicted messages
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@915770 13f79535-47bb-0310-9956-ffa450edef68
2010-02-24 12:53:37 +00:00
Gary Tully f24edca190 resolve some issues with out of order remove from plist
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@915281 13f79535-47bb-0310-9956-ffa450edef68
2010-02-23 11:07:53 +00:00
Robert Davies d71eefc0bf separated initialisation from start() - to prevent unnecessary creation of temporary storage
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@915028 13f79535-47bb-0310-9956-ffa450edef68
2010-02-22 19:31:23 +00:00
Robert Davies 241af099f1 removed topic test
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@915010 13f79535-47bb-0310-9956-ffa450edef68
2010-02-22 18:40:04 +00:00
Robert Davies ac0462acef Fix for https://issues.apache.org/activemq/browse/AMQ-2616
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@912652 13f79535-47bb-0310-9956-ffa450edef68
2010-02-22 16:54:23 +00:00
Robert Davies eb51a69c1f Fix for https://issues.apache.org/activemq/browse/AMQ-2533
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@912496 13f79535-47bb-0310-9956-ffa450edef68
2010-02-22 07:05:04 +00:00
Robert Davies b341d4334f Validate that subscriptions are removed across a network of brokers
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@912495 13f79535-47bb-0310-9956-ffa450edef68
2010-02-22 06:59:53 +00:00
Robert Davies 1c26c9aba0 Applied patch for https://issues.apache.org/activemq/browse/AMQ-2455
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@912312 13f79535-47bb-0310-9956-ffa450edef68
2010-02-21 07:36:55 +00:00
Robert Davies baf9301a52 speed up Durable Topic Subscribers somewhat
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@912087 13f79535-47bb-0310-9956-ffa450edef68
2010-02-20 08:37:20 +00:00
Gary Tully 5619cd01a2 resolve https://issues.apache.org/activemq/browse/AMQ-2610 - org.apache.activemq.broker.region.cursors.PendingMessageCursor.next() now increments the reference count before returning a message reference. this allows control over references when browsing or peeking rather than moving/removing
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@911650 13f79535-47bb-0310-9956-ffa450edef68
2010-02-18 23:49:41 +00:00
Bosanac Dejan ceed011907 https://issues.apache.org/activemq/browse/AMQ-2617 - refactor ProtocolConverter so we can reuse it
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@911413 13f79535-47bb-0310-9956-ffa450edef68
2010-02-18 14:20:03 +00:00
Robert Davies c75001c5a4 updated some perf tests
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@911076 13f79535-47bb-0310-9956-ffa450edef68
2010-02-17 17:07:40 +00:00
Gary Tully af31f2dc00 fix plist destroy, intermittent failure of src/test/java/org/apache/activemq/broker/region/QueuePurgeTest.java
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@911055 13f79535-47bb-0310-9956-ffa450edef68
2010-02-17 16:29:16 +00:00
Gary Tully 0567645ec6 resolve https://issues.apache.org/activemq/browse/AMQ-2608, fix applied with thanks
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@910637 13f79535-47bb-0310-9956-ffa450edef68
2010-02-16 18:19:36 +00:00
Gary Tully 5bf2329ee7 resolve https://issues.apache.org/activemq/browse/AMQ-2607
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@910315 13f79535-47bb-0310-9956-ffa450edef68
2010-02-15 19:43:54 +00:00
Gary Tully d3fb1aabce resolve https://issues.apache.org/activemq/browse/AMQ-2599 - tidy up exmple config to make it compliant with the schema - added simpe schema validation test and extended the broker start test, mvn test in assembly will now validate all the configs. added destroyApplicationContextOnStop to ensure jetty and other additions to the context are cleaned up when broker stops, allows mulitple brokers to rerun in the same jvm
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@910238 13f79535-47bb-0310-9956-ffa450edef68
2010-02-15 15:34:58 +00:00
Robert Davies a65881cf4e Fix for https://issues.apache.org/activemq/browse/AMQ-2604
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@910163 13f79535-47bb-0310-9956-ffa450edef68
2010-02-15 05:55:31 +00:00
Robert Davies 799c033ead make the make counts a little larger
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@909773 13f79535-47bb-0310-9956-ffa450edef68
2010-02-13 08:49:56 +00:00
Robert Davies 84c76a94a0 expose all brokers registered
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@909298 13f79535-47bb-0310-9956-ffa450edef68
2010-02-12 08:51:58 +00:00
Gary Tully b84da17004 keep to java5 api
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@908949 13f79535-47bb-0310-9956-ffa450edef68
2010-02-11 12:46:42 +00:00
Guillaume Nodet 3ce41d42c5 AMQ-2602: avoid activemq osgi bundles to import their own packages
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@908905 13f79535-47bb-0310-9956-ffa450edef68
2010-02-11 09:57:46 +00:00
Robert Davies e3154c3cd6 Added cron support for scheduled delivery - this is further enhancements for
https://issues.apache.org/activemq/browse/AMQ-451

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@908867 13f79535-47bb-0310-9956-ffa450edef68
2010-02-11 08:18:36 +00:00
Gary Tully 0701d7d0e6 exercise all unicode for byte array stream write/readUTF to validate
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@908618 13f79535-47bb-0310-9956-ffa450edef68
2010-02-10 18:15:16 +00:00
David Jencks fa9f4ac9cc AMQ-2601 make Activator class back into an activator, and use it in activemq-core
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@908373 13f79535-47bb-0310-9956-ffa450edef68
2010-02-10 07:49:07 +00:00
David Jencks 09fab742ff AMQ-2601 Make amq more blueprint-friendly, move away from spring lifecycle interfaces
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@908182 13f79535-47bb-0310-9956-ffa450edef68
2010-02-09 19:56:21 +00:00
David Jencks cd694f728c minor formatting and javadoc fixes
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@908154 13f79535-47bb-0310-9956-ffa450edef68
2010-02-09 18:54:16 +00:00
Gary Tully a109a98442 browser snapshot of paged in messages is only guaranteed to be > pageSize, test should assert that only
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@908121 13f79535-47bb-0310-9956-ffa450edef68
2010-02-09 17:19:49 +00:00
Gary Tully fde472195f resolve failure of JDBCStoreBrokerTest on slow machines, identified a sync issue with dispatch to queue browsers. Tidied up dispatch of queue browser to tie it to normal dispatch and avoid the timing/sync issue
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@908060 13f79535-47bb-0310-9956-ffa450edef68
2010-02-09 14:47:07 +00:00
Gary Tully 7799ed795e resolve regression with jobscheduller mbean - mock test is a little particular w.r.t to expected registered mbeans
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@907618 13f79535-47bb-0310-9956-ffa450edef68
2010-02-08 11:00:46 +00:00
Bosanac Dejan 31ec5bafd8 DurableConsumerTest - hopefully the last increase of wait time
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@907604 13f79535-47bb-0310-9956-ffa450edef68
2010-02-08 09:51:09 +00:00
Bosanac Dejan 80b421dd45 https://issues.apache.org/activemq/browse/AMQ-2594 - fixing test exclusion pattern
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@907595 13f79535-47bb-0310-9956-ffa450edef68
2010-02-08 09:35:39 +00:00
Robert Davies c7c8e5367e Added JMX support for JobScheduling
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@907197 13f79535-47bb-0310-9956-ffa450edef68
2010-02-06 08:57:24 +00:00
Gary Tully 39d071798a https://issues.apache.org/activemq/browse/AMQ-2590 - ensure beforeEnd is called once per transaction so ack on rollback is avoided, add more tests
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@907174 13f79535-47bb-0310-9956-ffa450edef68
2010-02-06 05:13:21 +00:00
Bosanac Dejan ecaacd852e DurableConsumerTest - give it even more time to complete on slow machines
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@906983 13f79535-47bb-0310-9956-ffa450edef68
2010-02-05 15:58:44 +00:00
Gary Tully a866d93b6f tidy up and enable auto fail as this hangs in 5.3 for some reason. stack trace will help diagnose
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@906861 13f79535-47bb-0310-9956-ffa450edef68
2010-02-05 09:13:39 +00:00
Gary Tully e561040c70 allow for transaction rolledback exception: https://issues.apache.org/activemq/browse/AMQ-2590
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@906697 13f79535-47bb-0310-9956-ffa450edef68
2010-02-04 22:33:33 +00:00
Bosanac Dejan 50dc880345 https://issues.apache.org/activemq/browse/AMQ-2594 - reverting related https://issues.apache.org/activemq/browse/AMQ-2563 changes, as more refactoring is needed
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@906560 13f79535-47bb-0310-9956-ffa450edef68
2010-02-04 16:46:51 +00:00
Gary Tully ab6bd79b26 get some more info out of this test
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@906457 13f79535-47bb-0310-9956-ffa450edef68
2010-02-04 11:34:47 +00:00
Gary Tully b836af84f0 further evolution of resolution for https://issues.apache.org/activemq/browse/AMQ-2590 - indoubt transactions are now rolledback, pending transactions can wait for jms.consumerFailoverRedeliveryWaitPeriod for redeliveries before rolling back. If previously delivered messages are not replayed the transaction is rolledback
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@906450 13f79535-47bb-0310-9956-ffa450edef68
2010-02-04 11:06:13 +00:00
Timothy A. Bish 1e8acfadb2 https://issues.apache.org/activemq/browse/AMQ-2490
Increase the receive timeout to fix errors on slow/loaded machines.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@906301 13f79535-47bb-0310-9956-ffa450edef68
2010-02-04 00:30:16 +00:00
Timothy A. Bish 4bff78d3b4 https://issues.apache.org/activemq/browse/AMQ-2490
Disable the user id tests for the SSL auth test case.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@906300 13f79535-47bb-0310-9956-ffa450edef68
2010-02-04 00:28:14 +00:00
Timothy A. Bish 3e022d8262 Update the Receipts test with a delay to prevent occasional failures.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@906270 13f79535-47bb-0310-9956-ffa450edef68
2010-02-03 22:41:06 +00:00
Timothy A. Bish 24f73a53c1 Fix for: https://issues.apache.org/activemq/browse/AMQ-1817
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@906101 13f79535-47bb-0310-9956-ffa450edef68
2010-02-03 16:09:42 +00:00
Timothy A. Bish 5ebfbf0387 Fix for: https://issues.apache.org/activemq/browse/AMQ-2254
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@906088 13f79535-47bb-0310-9956-ffa450edef68
2010-02-03 15:36:12 +00:00
Timothy A. Bish caabb6cb3d Fix for: https://issues.apache.org/activemq/browse/AMQ-2490
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@906071 13f79535-47bb-0310-9956-ffa450edef68
2010-02-03 14:42:33 +00:00
Bosanac Dejan 5170a8bba3 https://issues.apache.org/activemq/browse/AMQ-2563 - jdbc memory leak
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@906054 13f79535-47bb-0310-9956-ffa450edef68
2010-02-03 14:07:08 +00:00
Robert Davies 700f1e45de Further fix for https://issues.apache.org/activemq/browse/AMQ-2220
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@906045 13f79535-47bb-0310-9956-ffa450edef68
2010-02-03 13:59:29 +00:00
Robert Davies c008426c7a applied patch for https://issues.apache.org/activemq/browse/AMQ-1385
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@905978 13f79535-47bb-0310-9956-ffa450edef68
2010-02-03 10:32:23 +00:00
Robert Davies 02fe43b8b6 Applied patcg for https://issues.apache.org/activemq/browse/AMQ-2555
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@905973 13f79535-47bb-0310-9956-ffa450edef68
2010-02-03 10:23:34 +00:00
Robert Davies 9f2d289bee applied patch for https://issues.apache.org/activemq/browse/AMQ-2220
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@905958 13f79535-47bb-0310-9956-ffa450edef68
2010-02-03 09:49:21 +00:00
Robert Davies 204f91f935 Fix for https://issues.apache.org/activemq/browse/AMQ-2571
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@905926 13f79535-47bb-0310-9956-ffa450edef68
2010-02-03 08:02:49 +00:00
Timothy A. Bish 4d0a8a5c7e https://issues.apache.org/activemq/browse/AMQ-2196
Add option to ignore the values in the remote WireFormatInfo in case the user wants control over the Brokers inactivity timeouts.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@905769 13f79535-47bb-0310-9956-ffa450edef68
2010-02-02 20:10:39 +00:00
Gary Tully c32820d87b tidy up test case for https://issues.apache.org/activemq/browse/AMQ-2590
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@905640 13f79535-47bb-0310-9956-ffa450edef68
2010-02-02 14:16:41 +00:00
Gary Tully 59653a50f8 remove dependency on jmx and revert to direct calls on destinations to get stats and view on counters - resolve intermittent failures on hudson with a bit of luck as jmx introduces lots of timing issues
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@905582 13f79535-47bb-0310-9956-ffa450edef68
2010-02-02 11:22:28 +00:00
Gary Tully 62daac4b31 resolve https://issues.apache.org/activemq/browse/AMQ-2590 - commit may throw a TransactionRolledBackException in the event that after a failover recovery, the same messages are not redispatched - the transaction cannot be fully recreated so it must rollback
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@905432 13f79535-47bb-0310-9956-ffa450edef68
2010-02-01 22:41:17 +00:00
Gary Tully 722258e196 resolve: https://issues.apache.org/activemq/browse/AMQ-2589 - add null check
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@905349 13f79535-47bb-0310-9956-ffa450edef68
2010-02-01 18:09:32 +00:00
Bosanac Dejan a3607423c4 DurableConsumerTest - giving it more time to pass on slow machines
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@905235 13f79535-47bb-0310-9956-ffa450edef68
2010-02-01 10:14:15 +00:00
Gary Tully 7b700ee7a2 validate (wait for) mbean existance before returning an mbean view - get to the bottom of intermittent failure
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@904812 13f79535-47bb-0310-9956-ffa450edef68
2010-01-30 16:49:27 +00:00
Gary Tully 7a7ac1313b resolve https://issues.apache.org/activemq/browse/AMQ-2585 with thanks. modified version of test applied, min size override is only relevant on the broker as it is calculated on demand on the client
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@904585 13f79535-47bb-0310-9956-ffa450edef68
2010-01-29 18:40:42 +00:00
Gary Tully 2f65221065 give it a little more time after consumer created
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@904584 13f79535-47bb-0310-9956-ffa450edef68
2010-01-29 18:38:03 +00:00
Gary Tully 5a03c37faf resolve timing issue with reconnect in failover transport that can stall reconnect logic - resulted in intermittent failure of AMQ2183Test. reorg of test make it reproducable when master is waiting for slave to connect and its disconnects ocurr async so they can clash with inprogress reconnects - resolve https://issues.apache.org/activemq/browse/AMQ-2588
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@904568 13f79535-47bb-0310-9956-ffa450edef68
2010-01-29 17:39:20 +00:00
Bosanac Dejan fed9ac7955 https://issues.apache.org/activemq/browse/AMQ-2507 - improving test, avoiding false positives
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@904468 13f79535-47bb-0310-9956-ffa450edef68
2010-01-29 11:42:46 +00:00
Gary Tully 17cc428b21 doubling the timeout for slow/loaded machines - intermittent failur hudson
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@904451 13f79535-47bb-0310-9956-ffa450edef68
2010-01-29 10:31:10 +00:00
Gary Tully ce17f58cb3 wait for queues to drain, intermittent failure
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@904450 13f79535-47bb-0310-9956-ffa450edef68
2010-01-29 10:22:47 +00:00
Gary Tully 6205a0f9c8 push out the hang threshold for loaded/slow machines - intermittent failure
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@904444 13f79535-47bb-0310-9956-ffa450edef68
2010-01-29 10:07:37 +00:00
Gary Tully 98a0f39b34 ensure destination exists even if empty after recovery, intermittent failure in hudson
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@904441 13f79535-47bb-0310-9956-ffa450edef68
2010-01-29 10:00:47 +00:00
Hiram R. Chirino 02d57284a4 Fix for AMQ-2586
Topics will now report a queue size of 0.



git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@904243 13f79535-47bb-0310-9956-ffa450edef68
2010-01-28 20:00:48 +00:00
Bosanac Dejan 83128fc45b https://issues.apache.org/activemq/browse/AMQ-2507 - producer flow control timeout
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@904160 13f79535-47bb-0310-9956-ffa450edef68
2010-01-28 17:07:16 +00:00
Gary Tully 0d9c588ed7 resolve intermitent failure on loaded machines, consumer could complete before producer thread got to do any work at all
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@903758 13f79535-47bb-0310-9956-ffa450edef68
2010-01-27 17:46:08 +00:00
Gary Tully 19bfd9d3b5 resolve hudson failure with DurableConsumerTest related to kahaDB under the FilePendingMessageCursor - fixes the cursor got duplicates error and improves the test now that there are no more duplicates. relates to https://issues.apache.org/activemq/browse/AMQ-2575
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@903741 13f79535-47bb-0310-9956-ffa450edef68
2010-01-27 17:15:09 +00:00
Robert Davies 8b1e16de48 renamed to follow Test naming convention
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@903487 13f79535-47bb-0310-9956-ffa450edef68
2010-01-26 23:31:06 +00:00
Gary Tully 8eeedce809 dsiable shutdown hook as it causes autofail exit to hang which defeats the purpos - want a stack trace if it hangs again
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@903344 13f79535-47bb-0310-9956-ffa450edef68
2010-01-26 18:00:40 +00:00
Gary Tully def2a34915 store can be null for a temp q, npe will hide out of sync error message, observed once in AMQ2102Test
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@903225 13f79535-47bb-0310-9956-ffa450edef68
2010-01-26 13:59:27 +00:00
Gary Tully b85b71e297 instancenotfound exception wrapped in undeclaredthrowable by proxy, just ignore all for the wait period so slow machines can let it pass eventually
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@903180 13f79535-47bb-0310-9956-ffa450edef68
2010-01-26 11:35:33 +00:00
Bosanac Dejan a770a00373 DiscoveryNetworkReconnectTest - giving it even more time to reconnect to help stabilise on slow machines
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@903177 13f79535-47bb-0310-9956-ffa450edef68
2010-01-26 11:30:33 +00:00
Gary Tully f82df4585d make this autofail so we get a stack trace if it hangs in hudson again
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@902924 13f79535-47bb-0310-9956-ffa450edef68
2010-01-25 18:58:23 +00:00
Gary Tully 8d3ca90303 resolve: https://issues.apache.org/activemq/browse/AMQ-2579 - use ConsumerControl with destination to update prefetch once recovery is complete. restored consumers are pull only pending recovery completion on the client side. Update WireFormat version to 6 - fix for 5.4 due to wireformat update
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@902908 13f79535-47bb-0310-9956-ffa450edef68
2010-01-25 18:19:54 +00:00
Robert Davies 0f27c464b4 speed up tests - by deleting database directly
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@902907 13f79535-47bb-0310-9956-ffa450edef68
2010-01-25 18:17:17 +00:00
Bosanac Dejan 57b8927743 making ExpiredMessagesTest pass on very slow machines
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@902816 13f79535-47bb-0310-9956-ffa450edef68
2010-01-25 14:21:27 +00:00
Bosanac Dejan d2791aee90 https://issues.apache.org/activemq/browse/AMQ-2570 - excluding spring dependencies for spring osgi
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@902728 13f79535-47bb-0310-9956-ffa450edef68
2010-01-25 08:49:35 +00:00
Gary Tully 6efc268572 resolve intermittent failure of org.apache.activemq.bugs.AMQ2149Test as a result of https://issues.apache.org/activemq/browse/AMQ-2573. An new command to indicate when recovery is complete on a sub is needed to gate dispatch on a recovered connection, can do this for 5.4. An outstanding ack transaction is now ignored but an outstand send transaction can still cause a potential hang till we introduce the new recovery complete command
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@902056 13f79535-47bb-0310-9956-ffa450edef68
2010-01-22 10:59:46 +00:00
Robert Davies 8af25fd239 Fix for http://issues.apache.org/activemq/browse/AMQ-2530
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@902009 13f79535-47bb-0310-9956-ffa450edef68
2010-01-22 06:48:29 +00:00
Robert Davies dad4f49213 Fixed failing test
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@901928 13f79535-47bb-0310-9956-ffa450edef68
2010-01-21 23:44:29 +00:00
Timothy A. Bish a438496645 fix for https://issues.apache.org/activemq/browse/AMQ-2548 don't close the ftp connection until the stream is closed.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@901911 13f79535-47bb-0310-9956-ffa450edef68
2010-01-21 23:02:28 +00:00
Robert Davies e166ae3937 Added test case for http://issues.apache.org/activemq/browse/AMQ-2571
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@901832 13f79535-47bb-0310-9956-ffa450edef68
2010-01-21 19:19:09 +00:00
Hiram R. Chirino a33d6684eb Adding a isEmpty() method to the btree indexes.. related to the fix created for AMQ-2512
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@901763 13f79535-47bb-0310-9956-ffa450edef68
2010-01-21 16:37:37 +00:00
Robert Davies affd91eda3 Improvement for https://issues.apache.org/activemq/browse/AMQ-2512
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@901300 13f79535-47bb-0310-9956-ffa450edef68
2010-01-20 17:42:00 +00:00
Gary Tully 862cd718ed resolve https://issues.apache.org/activemq/browse/AMQ-2573 - rollback of audit check needs to be synced with redispatch after failover transport resumption, otherwise some redispatched unconsumed messages can get auto-acked as duplicates in error
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@901273 13f79535-47bb-0310-9956-ffa450edef68
2010-01-20 16:49:22 +00:00
Gary Tully 8de3bd29bf resolve https://issues.apache.org/activemq/browse/AMQ-2567
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@901269 13f79535-47bb-0310-9956-ffa450edef68
2010-01-20 16:41:30 +00:00
Robert Davies ee55abb921 Fix for https://issues.apache.org/activemq/browse/AMQ-2575
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@901188 13f79535-47bb-0310-9956-ffa450edef68
2010-01-20 13:27:05 +00:00
Bosanac Dejan 0a3c0e5300 https://issues.apache.org/activemq/browse/AMQ-2574 - stop osgi bundle on application context close
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@901171 13f79535-47bb-0310-9956-ffa450edef68
2010-01-20 12:54:07 +00:00
Robert Davies 27a6f1c6ab added logging for Timestamp plugin
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@900526 13f79535-47bb-0310-9956-ffa450edef68
2010-01-18 19:52:50 +00:00
Robert Davies 2e98d40065 added size() method to return amount of disk space the store occupies on disk
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@900420 13f79535-47bb-0310-9956-ffa450edef68
2010-01-18 15:17:44 +00:00
Bosanac Dejan 27186c5ce2 DiscoveryNetworkReconnectTest - prevent test failing on slower machines - more fixes
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@900383 13f79535-47bb-0310-9956-ffa450edef68
2010-01-18 13:15:23 +00:00
Bosanac Dejan 2ac5e7aa3e prevent test failing on slower machines
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@900363 13f79535-47bb-0310-9956-ffa450edef68
2010-01-18 12:19:54 +00:00
Gary Tully 7ceb4cbc43 resolve https://issues.apache.org/activemq/browse/AMQ-2572 - issue with unconsumed prefetched messages being ignored as duplicates - timing issue with consumer close and session dispatch
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@900318 13f79535-47bb-0310-9956-ffa450edef68
2010-01-18 09:43:21 +00:00
Timothy A. Bish 6ea3a22bee fix for: http://issues.apache.org/activemq/browse/AMQ-1882
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@900020 13f79535-47bb-0310-9956-ffa450edef68
2010-01-16 20:27:33 +00:00
Robert Davies 630184adfa test case for https://issues.apache.org/activemq/browse/AMQ-2568
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@899640 13f79535-47bb-0310-9956-ffa450edef68
2010-01-15 14:22:44 +00:00
Robert Davies 7ae2055c59 Added fix for https://issues.apache.org/activemq/browse/AMQ-451
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@899633 13f79535-47bb-0310-9956-ffa450edef68
2010-01-15 14:09:30 +00:00
Willem Ning Jiang d4794e2420 AMQ-2569 Updated the spring.schemas file in activemq-core with the released activemq-core version
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@899542 13f79535-47bb-0310-9956-ffa450edef68
2010-01-15 06:36:06 +00:00
Robert Davies e300b8768c Added test case for https://issues.apache.org/activemq/browse/AMQ-2561
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@899205 13f79535-47bb-0310-9956-ffa450edef68
2010-01-14 14:04:53 +00:00
Gary Tully a1a676647c add a few more test variants for inflight: https://issues.apache.org/activemq/browse/AMQ-2566
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@899145 13f79535-47bb-0310-9956-ffa450edef68
2010-01-14 10:17:54 +00:00
Bosanac Dejan 3ea1015a92 https://issues.apache.org/activemq/browse/AMQ-2488 - dynamic osgi import for activemq-core
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@898812 13f79535-47bb-0310-9956-ffa450edef68
2010-01-13 15:54:07 +00:00
Gary Tully 80f7e38807 resolve https://issues.apache.org/activemq/browse/AMQ-2566, inflight out of sync after delivery to dlq. Also tidy failover transaction test from: https://issues.apache.org/activemq/browse/AMQ-2560
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@898797 13f79535-47bb-0310-9956-ffa450edef68
2010-01-13 15:18:24 +00:00
Bosanac Dejan db6827346b https://issues.apache.org/activemq/browse/AMQ-2440 - more stomp+nip (and just nio) transport improvements
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@898774 13f79535-47bb-0310-9956-ffa450edef68
2010-01-13 14:38:52 +00:00
Gary Tully a593e35d82 resolve intermittent failure of InactivityMonitorTest, test needed to pass negotiation to enable inactivity monitor with a version > 1
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@898730 13f79535-47bb-0310-9956-ffa450edef68
2010-01-13 12:22:22 +00:00
Gary Tully 16e060bd7e have this test autofail on hang
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@898716 13f79535-47bb-0310-9956-ffa450edef68
2010-01-13 11:07:47 +00:00
Robert Davies 98bb7bfd90 expose the Journal property directoryArchive through KahaDB
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@898693 13f79535-47bb-0310-9956-ffa450edef68
2010-01-13 09:58:32 +00:00
Robert Davies f8cb8475ed expose the Journal property archiveDataLogs through KahaDB
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@898689 13f79535-47bb-0310-9956-ffa450edef68
2010-01-13 09:20:24 +00:00
Gary Tully 9cf216cce1 resolve intermittent ZeroPrefetchConsumerTest failure - prefetch excension decrement needs to be conditional on prefecth=0, relates to changes to prefetchExtension for https://issues.apache.org/activemq/browse/AMQ-2560
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@898281 13f79535-47bb-0310-9956-ffa450edef68
2010-01-12 11:21:28 +00:00
Gary Tully 62eb5cf581 reduce unmatched ack exceptions, tidy up prefetchExtension https://issues.apache.org/activemq/browse/AMQ-2560
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@897988 13f79535-47bb-0310-9956-ffa450edef68
2010-01-11 18:22:01 +00:00
Bosanac Dejan a9e7e94054 https://issues.apache.org/activemq/browse/AMQ-2440 - first shot at refactoring stomp+nio - handles load much better than previous solution, but seems to still leak threads - future improvements expected
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@897939 13f79535-47bb-0310-9956-ffa450edef68
2010-01-11 16:54:49 +00:00
Bosanac Dejan 5362623d56 moving StompLoadTest to sys tests
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@897203 13f79535-47bb-0310-9956-ffa450edef68
2010-01-08 13:45:47 +00:00
Bosanac Dejan 3b7a297129 moving StompLoadTest to systest subproject
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@897199 13f79535-47bb-0310-9956-ffa450edef68
2010-01-08 13:41:08 +00:00
Gary Tully 0bc545b5d1 resolve potential lost ack with failover and an in progress consumer transaction that results in an Unmatched ack exception - resolve: https://issues.apache.org/activemq/browse/AMQ-2560
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@897061 13f79535-47bb-0310-9956-ffa450edef68
2010-01-08 00:17:37 +00:00
Gary Tully 97e0fccdae resolve https://issues.apache.org/activemq/browse/AMQ-2523 - have Usage use a shared executor with a limited pool of 10 threads and an unbounded queue. Fix potential dropped dispatch attempts when messages waiting for space fail due to memory again being full, can result is hung consumer. In this case, a new notification for not full needs to be registered. Added relevant test case.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@895975 13f79535-47bb-0310-9956-ffa450edef68
2010-01-05 10:29:19 +00:00
Bosanac Dejan 155495485e https://issues.apache.org/activemq/browse/AMQ-2553 - browsing dlq over transacted session
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@894347 13f79535-47bb-0310-9956-ffa450edef68
2009-12-29 10:46:47 +00:00
Willem Ning Jiang 57843ea8a9 AMQ-2550 Fixed the issue of org.osgi.framework import
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@893834 13f79535-47bb-0310-9956-ffa450edef68
2009-12-25 02:47:09 +00:00
Gary Tully 5fb52355d6 last piece of https://issues.apache.org/activemq/browse/AMQ-2540 - fix order or audit recovery replay
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@893661 13f79535-47bb-0310-9956-ffa450edef68
2009-12-24 00:38:28 +00:00
Bosanac Dejan 6cde61831e adapting jdbc audit test
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@892816 13f79535-47bb-0310-9956-ffa450edef68
2009-12-21 13:30:29 +00:00
Bosanac Dejan ae840c4b04 https://issues.apache.org/activemq/browse/AMQ-2473 - improving jdbc audit recovery
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@892759 13f79535-47bb-0310-9956-ffa450edef68
2009-12-21 10:53:44 +00:00
Bosanac Dejan 5ffcaf4052 https://issues.apache.org/activemq/browse/AMQ-2473 - fix find all message ids statement
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@892729 13f79535-47bb-0310-9956-ffa450edef68
2009-12-21 08:49:56 +00:00
Gary Tully 58e6532c7e add commit replay test to assert dups suppressed for KahaDB
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@892291 13f79535-47bb-0310-9956-ffa450edef68
2009-12-18 16:09:29 +00:00
Gary Tully 8732f70793 first cut of audit recovery for https://issues.apache.org/activemq/browse/AMQ-2540 - test case reproduces. Little more tidy up needed such that the query is limited and such that the audit is recovered at the persistence adapter rather than at the store level - also related to https://issues.apache.org/activemq/browse/AMQ-2473
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@892242 13f79535-47bb-0310-9956-ffa450edef68
2009-12-18 13:03:40 +00:00
Bosanac Dejan c6de4d7e56 https://issues.apache.org/activemq/browse/AMQ-2508 - SecurityContext.isInOneOf()
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@892220 13f79535-47bb-0310-9956-ffa450edef68
2009-12-18 11:12:32 +00:00
Gary Tully 08d89ff881 trun off exponential backoff so that reconnect will happen before the timeout after restart, intermittent failure in hudson
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@892194 13f79535-47bb-0310-9956-ffa450edef68
2009-12-18 09:29:54 +00:00
Bosanac Dejan 3a1bdc6249 https://issues.apache.org/activemq/browse/AMQ-2539 - adding temp destinations and security
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@891786 13f79535-47bb-0310-9956-ffa450edef68
2009-12-17 16:18:46 +00:00
Gary Tully 1606c59b9e test for replayed committed transaction on lost commit reply
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@891622 13f79535-47bb-0310-9956-ffa450edef68
2009-12-17 10:50:02 +00:00
Gary Tully b9e51d6492 resolve https://issues.apache.org/activemq/browse/AMQ-2473 - issue with jmstemplate were producers are closed before transaction commits which is fine save when failover ocurrs. the producers need to be replayed to allow tracked messages to be replayed. added the capability to track and relay transaction producers. Can be disabled if producers out live transactions
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@891582 13f79535-47bb-0310-9956-ffa450edef68
2009-12-17 08:42:52 +00:00
Bosanac Dejan be01a5bd80 https://issues.apache.org/activemq/browse/AMQ-2529 - browse ove network - cleaning the test
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@889710 13f79535-47bb-0310-9956-ffa450edef68
2009-12-11 17:21:35 +00:00
Bosanac Dejan 10dae9c659 https://issues.apache.org/activemq/browse/AMQ-2529 - browse over network
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@889677 13f79535-47bb-0310-9956-ffa450edef68
2009-12-11 16:11:07 +00:00
Bosanac Dejan c3801c4bc4 https://issues.apache.org/activemq/browse/AMQ-2519 - JDBC store and duplicate messages
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@889167 13f79535-47bb-0310-9956-ffa450edef68
2009-12-10 10:05:11 +00:00
Gary Tully e80bf00b5b resolve https://issues.apache.org/activemq/browse/AMQ-2527 - add timeout to waitForSlave and make the following more reseliant to slow machines, VMTransportWaitForTest,MasterSlaveSlaveDieTest,SimpleNetworkTest,NetworkBrokerDetachTest,DuplexNetworkMBeanTest,MultiBrokersMultiClientsTest,AMQ2102Test - related to changes for https://issues.apache.org/activemq/browse/AMQ-1112
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@888974 13f79535-47bb-0310-9956-ffa450edef68
2009-12-09 21:09:21 +00:00
Gary Tully f1f4e2c9d9 add current limit to info flow control message
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@888846 13f79535-47bb-0310-9956-ffa450edef68
2009-12-09 15:49:12 +00:00
Bosanac Dejan 6e1ba4a93e https://issues.apache.org/activemq/browse/AMQ-2513 - adapting DiscoveryNetworkReconnectTest
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@888426 13f79535-47bb-0310-9956-ffa450edef68
2009-12-08 15:08:03 +00:00
Bosanac Dejan c9ca34a27a https://issues.apache.org/activemq/browse/AMQ-2525 - Prevent broker deadlock if jmxconnector start hangs
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@888367 13f79535-47bb-0310-9956-ffa450edef68
2009-12-08 12:22:24 +00:00
Bosanac Dejan df52a09063 https://issues.apache.org/activemq/browse/AMQ-2513 - adding test case
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@888333 13f79535-47bb-0310-9956-ffa450edef68
2009-12-08 11:19:40 +00:00
Bosanac Dejan 4969866569 https://issues.apache.org/activemq/browse/AMQ-2513 - JMX bug - javax.management.InstanceNotFoundException
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@888323 13f79535-47bb-0310-9956-ffa450edef68
2009-12-08 11:12:45 +00:00
Gary Tully 8f8f9ac529 don't account for wait time in cleanup log message
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@886136 13f79535-47bb-0310-9956-ffa450edef68
2009-12-02 13:30:33 +00:00
Bosanac Dejan d49b6e5a0f https://issues.apache.org/activemq/browse/AMQ-2519 - duplicate messages and jdbc store
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@885841 13f79535-47bb-0310-9956-ffa450edef68
2009-12-01 17:20:29 +00:00
Gary Tully b59b8ab296 disable BrokerNetworkWithStuckMessagesTest as it currently fails, locally and in hudson
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@885711 13f79535-47bb-0310-9956-ffa450edef68
2009-12-01 10:06:59 +00:00
Bosanac Dejan 5f6f23e3c9 http://issues.apache.org/activemq/browse/AMQ-1498 - broker recovery missing subscriber
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@885488 13f79535-47bb-0310-9956-ffa450edef68
2009-11-30 16:47:36 +00:00
Gary Tully adb7fccda0 resolve https://issues.apache.org/activemq/browse/AMQ-2516 - broker send to dlq now uses broker security context so it will bypass the authentication plugin when configured
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@884778 13f79535-47bb-0310-9956-ffa450edef68
2009-11-27 08:19:19 +00:00
Bosanac Dejan 13f9ec8555 https://issues.apache.org/activemq/browse/AMQ-2515 - Optimized Acknowledgements and interrupted transport
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@884633 13f79535-47bb-0310-9956-ffa450edef68
2009-11-26 16:46:38 +00:00
Hiram R. Chirino 8978ac0772 Fix for AMQ-2511: Inactivity monitor does not time out stale connections.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@884267 13f79535-47bb-0310-9956-ffa450edef68
2009-11-25 20:56:28 +00:00
Colin W Macnaughton 48764becbd Adding a blockedProducerWarningInterval attribute to destinations to control the rate at which warnings about blocked producers are generated (otherwise the warnings can flood the log).
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@884234 13f79535-47bb-0310-9956-ffa450edef68
2009-11-25 19:35:09 +00:00
Gary Tully 83df5cef54 resolve https://issues.apache.org/activemq/browse/AMQ-2489 - duplicate delivery acks resulted in broker exceptions with client or inividual ack - delivery acks now only for unacked messages - down side is pending messages in broker remain on expiry awaiting ack from ackLaer that dependes on prefetch value - but this is reasonable and to be expected. they will be removed on close or subsequent acks in any event
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@883458 13f79535-47bb-0310-9956-ffa450edef68
2009-11-23 18:43:01 +00:00
Gary Tully d7a8bc89e8 resolve compilation error, test still fails though
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@883450 13f79535-47bb-0310-9956-ffa450edef68
2009-11-23 18:35:58 +00:00
Bruce Snyder c26dd6a5e1 Updated test for AMQ-2324 and AMQ-2484
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@883411 13f79535-47bb-0310-9956-ffa450edef68
2009-11-23 17:02:39 +00:00
Bosanac Dejan 1695cff244 PurgeTest- assert there are no messages in the queue, by trying to browse them
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@883327 13f79535-47bb-0310-9956-ffa450edef68
2009-11-23 13:02:27 +00:00
Gary Tully 2a238f7c71 some more resiliance to slow hardware for this test
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@882510 13f79535-47bb-0310-9956-ffa450edef68
2009-11-20 11:34:14 +00:00
Bosanac Dejan 0728ec9e75 https://issues.apache.org/activemq/browse/AMQ-2042 - added handling of 'no disk space' in default handler
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@882144 13f79535-47bb-0310-9956-ffa450edef68
2009-11-19 13:50:46 +00:00
Bosanac Dejan 04b3f8e49b https://issues.apache.org/activemq/browse/AMQ-2042 - making amq store resilent to 'no space left'
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@882126 13f79535-47bb-0310-9956-ffa450edef68
2009-11-19 12:25:52 +00:00
Gary Tully 9b260dc37e resolve https://issues.apache.org/activemq/browse/AMQ-2487 - usage management of storecursor iterator was broken in that a browse would decrement the usage. memory management across move and retry operations is now correct. modified some tests to validate memory usage
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@882096 13f79535-47bb-0310-9956-ffa450edef68
2009-11-19 10:33:41 +00:00
Robert Davies 7036dabdd8 bad commit - my bad - remove, remove remove :)
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@881322 13f79535-47bb-0310-9956-ffa450edef68
2009-11-17 15:10:04 +00:00
Robert Davies 07cb724669 Fix for https://issues.apache.org/activemq/browse/AMQ-2475
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@881313 13f79535-47bb-0310-9956-ffa450edef68
2009-11-17 14:55:45 +00:00
Bosanac Dejan b4de4f5b09 https://issues.apache.org/activemq/browse/AMQ-2499 - minor improvement - case sensitivity
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@881277 13f79535-47bb-0310-9956-ffa450edef68
2009-11-17 13:31:20 +00:00
Bosanac Dejan 1466d6cc3a https://issues.apache.org/activemq/browse/AMQ-2499 - don't show passwords in log files
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@881274 13f79535-47bb-0310-9956-ffa450edef68
2009-11-17 13:26:16 +00:00
Bosanac Dejan a55efe952c https://issues.apache.org/activemq/browse/AMQ-2499 - reverting previous commit
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@881270 13f79535-47bb-0310-9956-ffa450edef68
2009-11-17 13:19:35 +00:00
Bosanac Dejan 0dc6e0c622 https://issues.apache.org/activemq/browse/AMQ-2499 - don't show passwords in log files
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@881267 13f79535-47bb-0310-9956-ffa450edef68
2009-11-17 13:16:05 +00:00
Bruce Snyder a15b39569b Changes to the test for AMQ-2324 and AMQ-2484; trying to get it to pass consistently
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@881174 13f79535-47bb-0310-9956-ffa450edef68
2009-11-17 06:43:17 +00:00
Bruce Snyder f6cf0bafc2 First draft of a test for AMQ-2324 and AMQ-2484
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@880838 13f79535-47bb-0310-9956-ffa450edef68
2009-11-16 16:37:10 +00:00
Bosanac Dejan a19e27a9fc https://issues.apache.org/activemq/browse/AMQ-2042 - enable kahadb to recover from 'no space available'
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@880792 13f79535-47bb-0310-9956-ffa450edef68
2009-11-16 15:22:19 +00:00
Gary Tully c63eb5cc23 resolve https://issues.apache.org/activemq/browse/AMQ-2492 - patch applied with thanks
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@880699 13f79535-47bb-0310-9956-ffa450edef68
2009-11-16 10:28:25 +00:00
Gary Tully 11274e0b74 resolve https://issues.apache.org/activemq/browse/AMQ-2493 - patch applied with thanks
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@880696 13f79535-47bb-0310-9956-ffa450edef68
2009-11-16 10:17:35 +00:00
Bosanac Dejan e8a641c6b7 http://issues.apache.org/activemq/browse/AMQ-2042 - adding configurable io exception handling
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@835888 13f79535-47bb-0310-9956-ffa450edef68
2009-11-13 15:50:32 +00:00
Gary Tully c808bebd00 resolve https://issues.apache.org/activemq/browse/AMQ-2483 and https://issues.apache.org/activemq/browse/AMQ-2028, keep track of outstanding wakeup requests in a queue with regular task runner avoids build up in determintic task runner. Exposed useDeterministicTaskRunner to validate some test that fail with the -DuseDedicatedTaskRunner=true system property. With broker.useDedicatedTask=false, Queues will use pooled executor for dispatch.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@835874 13f79535-47bb-0310-9956-ffa450edef68
2009-11-13 15:22:07 +00:00
Bosanac Dejan f528aa5b1d https://issues.apache.org/activemq/browse/AMQ-2486 - systemExitOnShutdown hang
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@835816 13f79535-47bb-0310-9956-ffa450edef68
2009-11-13 11:26:16 +00:00
Colin W Macnaughton 414a6463ef Fix for http://issues.apache.org/activemq/browse/AMQ-2439: IllegalState issue.
Tightening synchronization in DemandForwardingBridge to avoid subscription clean up and ack processing race condition. 

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@835715 13f79535-47bb-0310-9956-ffa450edef68
2009-11-13 03:02:49 +00:00
Bosanac Dejan bf2077f484 http://issues.apache.org/activemq/browse/AMQ-2042 - fix for amq persistence store
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@835412 13f79535-47bb-0310-9956-ffa450edef68
2009-11-12 15:13:36 +00:00
Bosanac Dejan d34dcb4830 http://issues.apache.org/activemq/browse/AMQ-2042 - fix for kaha persistence store
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@835373 13f79535-47bb-0310-9956-ffa450edef68
2009-11-12 12:56:29 +00:00
Bosanac Dejan db65c4365b https://issues.apache.org/activemq/browse/AMQ-2486 - systemExitOnShutdown hangs
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@835339 13f79535-47bb-0310-9956-ffa450edef68
2009-11-12 11:26:57 +00:00
Gary Tully ce18ec8b0f resolve https://issues.apache.org/activemq/browse/AMQ-2487, patch applied, test added
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@835325 13f79535-47bb-0310-9956-ffa450edef68
2009-11-12 10:40:58 +00:00
Bosanac Dejan b1a9130149 http://issues.apache.org/activemq/browse/AMQ-2042 - shutdown if kahadb cannot access disk
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@834922 13f79535-47bb-0310-9956-ffa450edef68
2009-11-11 15:50:45 +00:00
Gary Tully 3536b1e665 resolve https://issues.apache.org/activemq/browse/AMQ-2481 - no need to force a page in but sync between expiry from browse and from pageIn needed some tweaks, expired messages need to be removed from the cursor in the event of expiry from browse. Also resolve unit test failures from https://issues.apache.org/activemq/browse/AMQ-2481
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@834543 13f79535-47bb-0310-9956-ffa450edef68
2009-11-10 16:57:28 +00:00
Gary Tully 748e419b75 wait a little longer on slow machines where recovery can take a while
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@833497 13f79535-47bb-0310-9956-ffa450edef68
2009-11-06 17:54:15 +00:00
Bosanac Dejan bf91745bf5 additional fix for https://issues.apache.org/activemq/browse/AMQ-2306 - jmx for slave brokers
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@833441 13f79535-47bb-0310-9956-ffa450edef68
2009-11-06 15:29:40 +00:00
Gary Tully 814c49f058 resolve intermittent failure of DiscoveryNetworkReconnectTest due to network timing issues
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@833435 13f79535-47bb-0310-9956-ffa450edef68
2009-11-06 15:14:05 +00:00
Bosanac Dejan b3873fb3e4 https://issues.apache.org/activemq/browse/AMQ-2306 - jmx for slave brokers
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@833395 13f79535-47bb-0310-9956-ffa450edef68
2009-11-06 13:56:28 +00:00