Commit Graph

3878 Commits

Author SHA1 Message Date
Bosanac Dejan 4e33fb114b https://issues.apache.org/jira/browse/AMQ-3038 - delete temp destinations when connection is closed
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1061365 13f79535-47bb-0310-9956-ffa450edef68
2011-01-20 16:11:29 +00:00
Bosanac Dejan 9c78797f5d https://issues.apache.org/jira/browse/AMQ-3010 - timeout for ActiveMQInputStream
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1061304 13f79535-47bb-0310-9956-ffa450edef68
2011-01-20 14:03:30 +00:00
Bosanac Dejan 53ea4caa20 https://issues.apache.org/jira/browse/AMQ-3040 - ConnectionState.getTempDestinations() typo
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1061299 13f79535-47bb-0310-9956-ffa450edef68
2011-01-20 13:44:22 +00:00
Bosanac Dejan e511e76d4f https://issues.apache.org/jira/browse/AMQ-3041 - unregister mbean for temp dest
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1061296 13f79535-47bb-0310-9956-ffa450edef68
2011-01-20 13:35:39 +00:00
Bosanac Dejan ec30bf0c95 https://issues.apache.org/jira/browse/AMQ-2821 - destination gc, use proper connection context
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1061287 13f79535-47bb-0310-9956-ffa450edef68
2011-01-20 13:11:19 +00:00
Bosanac Dejan 600c7c2c7c https://issues.apache.org/jira/browse/AMQ-3146 - original destination from stomp
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1060871 13f79535-47bb-0310-9956-ffa450edef68
2011-01-19 17:15:38 +00:00
Bosanac Dejan b026971933 https://issues.apache.org/jira/browse/AMQ-3100 - audit logging provide more data in audit loge event object
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1060803 13f79535-47bb-0310-9956-ffa450edef68
2011-01-19 13:13:50 +00:00
Bosanac Dejan a0a1e643e4 https://issues.apache.org/jira/browse/AMQ-2821 - test case for gc inactive destinations
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1060353 13f79535-47bb-0310-9956-ffa450edef68
2011-01-18 12:50:08 +00:00
Bosanac Dejan 52b13d0ba2 https://issues.apache.org/jira/browse/AMQ-3143 - changing store usage via JMX
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1059981 13f79535-47bb-0310-9956-ffa450edef68
2011-01-17 16:43:26 +00:00
Gary Tully f7d63386d9 additional attribute in trace
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1059890 13f79535-47bb-0310-9956-ffa450edef68
2011-01-17 11:36:04 +00:00
Gary Tully 1b9e94fb46 fix compile error with hogtest
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1059077 13f79535-47bb-0310-9956-ffa450edef68
2011-01-14 17:15:36 +00:00
Gary Tully 219c5d32cd test for possible bug to colaborate on
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1059063 13f79535-47bb-0310-9956-ffa450edef68
2011-01-14 16:36:53 +00:00
Gary Tully 1edb58ab89 add destination name to debug log message
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1058928 13f79535-47bb-0310-9956-ffa450edef68
2011-01-14 10:30:39 +00:00
Gary Tully cc64a51c16 get derby to shutdown after each test
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1058927 13f79535-47bb-0310-9956-ffa450edef68
2011-01-14 10:27:24 +00:00
Bosanac Dejan 5f01344411 https://issues.apache.org/jira/browse/AMQ-3100 - setting factory instead of using system property
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1058613 13f79535-47bb-0310-9956-ffa450edef68
2011-01-13 15:41:33 +00:00
Gary Tully 14d5dcee8c https://issues.apache.org/jira/browse/AMQ-3134 - Add support of MS SQL JDBC driver (version 3.0)
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1058582 13f79535-47bb-0310-9956-ffa450edef68
2011-01-13 14:36:18 +00:00
Gary Tully c752230573 https://issues.apache.org/jira/browse/AMQ-3077 - ArraysIndexOutOfBoundsException : -32768 in "BrokerService[xxx] Task" thread - brokerInfo and peerBroker infro explosion problems. A peer is a oneway relationship with networks, broker infos were being accumulated in duplicate for each connector and for multiple connectors. The peer broker info was maintained for each which caused the problem marshalling. re: https://issues.apache.org/jira/browse/AMQ-2632 - the configuration is now respected so it can be selectively enabled and rebalance only occurs if we randomly choose an alternative. The nested peer broker info is not propagated in a connection control
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1058577 13f79535-47bb-0310-9956-ffa450edef68
2011-01-13 14:18:14 +00:00
Bosanac Dejan 7b1cdbc080 https://issues.apache.org/jira/browse/AMQ-3100 - refactoring to support multiple service factories
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1058490 13f79535-47bb-0310-9956-ffa450edef68
2011-01-13 10:36:05 +00:00
Hiram R. Chirino 921d6ca25d Fixes AMQ-3130
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1057833 13f79535-47bb-0310-9956-ffa450edef68
2011-01-11 20:16:17 +00:00
Gary Tully 5ca9763343 https://issues.apache.org/jira/browse/AMQ-3124 - Failover transport client gets corrupted connectedBrokers data - additional null check, for advisory broker use case
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1057586 13f79535-47bb-0310-9956-ffa450edef68
2011-01-11 11:34:54 +00:00
Gary Tully 0ed0ba584c https://issues.apache.org/jira/browse/AMQ-3124 - Failover transport client gets corrupted connectedBrokers data - apply variant of suggested patch with thanks. Stripping server side url options is the right way to go, reusing api used by discovery publisher to same effect, additional test
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1057565 13f79535-47bb-0310-9956-ffa450edef68
2011-01-11 10:28:43 +00:00
Gary Tully 55c3ef9fda https://issues.apache.org/jira/browse/AMQ-3125 - updateClusterFilter/ClientsOnRemove broken when running JMX broker, patch applied with thanks
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1057244 13f79535-47bb-0310-9956-ffa450edef68
2011-01-10 15:44:03 +00:00
Bosanac Dejan 182da6531d https://issues.apache.org/jira/browse/AMQ-3119 - proxy connector and failover
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1057186 13f79535-47bb-0310-9956-ffa450edef68
2011-01-10 13:30:27 +00:00
Gary Tully dce325b144 make manual test a little easier to run
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1057179 13f79535-47bb-0310-9956-ffa450edef68
2011-01-10 13:04:52 +00:00
Gary Tully 9e40b914de resolve https://issues.apache.org/jira/browse/AMQ-3122 - ignore zero length journal files on start, sync write state on shutdown to ensure metadata is not ahead of journal in the event of no space on disk and journal write failure
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1056327 13f79535-47bb-0310-9956-ffa450edef68
2011-01-07 14:12:46 +00:00
Gary Tully 2803b18fb6 fix failure, brittle jmock test case following: https://issues.apache.org/jira/browse/AMQ-3109 - additional advisory mbeans need to be accounted for
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1056316 13f79535-47bb-0310-9956-ffa450edef68
2011-01-07 13:53:16 +00:00
Bosanac Dejan 86565eb0e1 https://issues.apache.org/jira/browse/AMQ-3119 - proxy connector and failover
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1055873 13f79535-47bb-0310-9956-ffa450edef68
2011-01-06 13:44:31 +00:00
Gary Tully 6c721fcff5 resolve: https://issues.apache.org/jira/browse/AMQ-3115
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1055395 13f79535-47bb-0310-9956-ffa450edef68
2011-01-05 10:26:34 +00:00
Gary Tully 715bf260f4 resolve: https://issues.apache.org/jira/browse/AMQ-2963 - revert setting destination on message: https://issues.apache.org/jira/browse/AMQ-2029, just set on transformed copy as format is provider dependent
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1055021 13f79535-47bb-0310-9956-ffa450edef68
2011-01-04 13:02:03 +00:00
Bosanac Dejan bd49b5250a https://issues.apache.org/jira/browse/AMQ-3109 - show 'createdByDuplex' in advisories and web console
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1054106 13f79535-47bb-0310-9956-ffa450edef68
2010-12-31 12:53:07 +00:00
Bosanac Dejan 3e15501439 https://issues.apache.org/jira/browse/AMQ-3107 - make sure advisories work for bridges created by duplex
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1054096 13f79535-47bb-0310-9956-ffa450edef68
2010-12-31 11:18:14 +00:00
Bosanac Dejan 2a2dcd5ec4 https://issues.apache.org/jira/browse/AMQ-3109 - mbeans for bridges created by duplex connector
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1053942 13f79535-47bb-0310-9956-ffa450edef68
2010-12-30 17:03:35 +00:00
Bosanac Dejan 663d5db7f1 https://issues.apache.org/jira/browse/AMQ-3107 - advisories for network bridge
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1053641 13f79535-47bb-0310-9956-ffa450edef68
2010-12-29 14:32:37 +00:00
Bosanac Dejan e0c5024fcf https://issues.apache.org/jira/browse/AMQ-2683 - producer flow control for topics
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1053055 13f79535-47bb-0310-9956-ffa450edef68
2010-12-27 12:32:03 +00:00
Bosanac Dejan 1f9cc43890 https://issues.apache.org/jira/browse/AMQ-3100 - refactoring to use ServiceLoader
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1052501 13f79535-47bb-0310-9956-ffa450edef68
2010-12-24 13:09:27 +00:00
Bosanac Dejan 10a403b6ab https://issues.apache.org/jira/browse/AMQ-3100 - refactoring to enable different logger implementations
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1051972 13f79535-47bb-0310-9956-ffa450edef68
2010-12-22 16:28:35 +00:00
Bosanac Dejan a2d4eb5cee https://issues.apache.org/jira/browse/AMQ-3100 - audit logging for web console
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1051842 13f79535-47bb-0310-9956-ffa450edef68
2010-12-22 11:17:13 +00:00
Bosanac Dejan 7267896d56 https://issues.apache.org/jira/browse/AMQ-3100 - JMX audit improvement
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1051521 13f79535-47bb-0310-9956-ffa450edef68
2010-12-21 15:13:33 +00:00
Bosanac Dejan 2306d96241 https://issues.apache.org/jira/browse/AMQ-3100 - audit logging for JMX
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1051497 13f79535-47bb-0310-9956-ffa450edef68
2010-12-21 14:02:17 +00:00
Gary Tully e35519f3a1 resolve: https://issues.apache.org/jira/browse/AMQ-3095 - with test
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1050463 13f79535-47bb-0310-9956-ffa450edef68
2010-12-17 18:33:13 +00:00
Bosanac Dejan 11d79743bf adding some logging to detect issues with file names more easily
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1050387 13f79535-47bb-0310-9956-ffa450edef68
2010-12-17 14:00:22 +00:00
Bosanac Dejan 55794fe070 tidying up jmx test to behave better in CI environments
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1050372 13f79535-47bb-0310-9956-ffa450edef68
2010-12-17 13:10:41 +00:00
Gary Tully a91a181474 use autofail such that a hang in this test will not block the test run and give us a stack trace
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1050371 13f79535-47bb-0310-9956-ffa450edef68
2010-12-17 13:01:00 +00:00
Gary Tully 6983978564 try and ensure derby shutsdown between tests
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1050345 13f79535-47bb-0310-9956-ffa450edef68
2010-12-17 11:03:15 +00:00
Gary Tully 72bf2f85cc allow for slow disk on test machine
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1050089 13f79535-47bb-0310-9956-ffa450edef68
2010-12-16 18:28:04 +00:00
Gary Tully 7a7b380def allow tests to run if port 1099 is in use
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1050087 13f79535-47bb-0310-9956-ffa450edef68
2010-12-16 18:20:56 +00:00
Bosanac Dejan 44d6be4e33 https://issues.apache.org/jira/browse/AMQ-3092 - Deleting a Queue from the console results in lost messages
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1050059 13f79535-47bb-0310-9956-ffa450edef68
2010-12-16 17:07:24 +00:00
Gary Tully 6348481c18 additional broker side improvements for https://issues.apache.org/jira/browse/AMQ-2852 - have discovery and network connector and vm async tasks delegate to the the default thread pool executor, serialized the test to ensure shutdown is called once after verification
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1049527 13f79535-47bb-0310-9956-ffa450edef68
2010-12-15 12:44:47 +00:00
Gary Tully 738e9a19ea resolve: https://issues.apache.org/jira/browse/AMQ-3085 with test
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1049521 13f79535-47bb-0310-9956-ffa450edef68
2010-12-15 12:21:43 +00:00
Bosanac Dejan c75ff7f163 https://issues.apache.org/jira/browse/AMQ-3084 - typo in SubscriptionView
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1049466 13f79535-47bb-0310-9956-ffa450edef68
2010-12-15 09:50:36 +00:00
Gary Tully 1355cf5810 resolve: https://issues.apache.org/jira/browse/AMQ-2852 - have async close use default thread pool and have inactivity monitor include the task runner in its resource usage such that it can be shutdown. provide accessor to shutdown the default thread pool such that a webapp can cleanup if needed, org.apache.activemq.thread.DefaultThreadPools#shutdown - additional tests to cover same
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1049184 13f79535-47bb-0310-9956-ffa450edef68
2010-12-14 17:28:10 +00:00
Gary Tully 1a0c582028 fix up file names to match driver string, resolve reopened : https://issues.apache.org/jira/browse/AMQ-2492 with thanks
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1049128 13f79535-47bb-0310-9956-ffa450edef68
2010-12-14 15:36:11 +00:00
Gary Tully 9c768579e8 resolve https://issues.apache.org/jira/browse/AMQ-3075 - a constraint name needs to be provided for postgres but this is not the general case. extracted the end of the alter statement to allow the postgress adapter to override and provided accessor for the constraint name in case of auto generation issues
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1049122 13f79535-47bb-0310-9956-ffa450edef68
2010-12-14 15:18:01 +00:00
Gary Tully ccd2e94f4e resolve: https://issues.apache.org/jira/browse/AMQ-3033 - dangling ref to timer
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1049105 13f79535-47bb-0310-9956-ffa450edef68
2010-12-14 14:27:59 +00:00
Gary Tully 3ddb71c65b respect storeHasMessages such that the store batch size, form max page size is respected, improves preformance by negating the replay of high priority inflight messages as a the tail of a backlog is recovered. Fix order issue with high priority cache such that sequence order of lower priority messages is respected. additional test for same and default audit size to 10 when priority is enabled
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1045219 13f79535-47bb-0310-9956-ffa450edef68
2010-12-13 16:20:40 +00:00
Bosanac Dejan 054fc6aca5 https://issues.apache.org/jira/browse/AMQ-3081 - Durable subscriptions are not removed from mbean
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1044465 13f79535-47bb-0310-9956-ffa450edef68
2010-12-10 18:14:05 +00:00
Gary Tully 6519c3e232 better support for immediate priority higher message dispatch for durable subs, tidy up audit and page size config for durables, use destination batch size to page in, remove extranious calls to store getSize(), test for duplicate delivery, audit needs to be large when priority is used and needs to be statically configured, prefetch is a bad model in with priority spread, restrict priority values to 0-9 as impl is restricted to 0-9 jms range
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1044368 13f79535-47bb-0310-9956-ffa450edef68
2010-12-10 14:18:54 +00:00
Gary Tully afa3f24107 remove misleading comment
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1044348 13f79535-47bb-0310-9956-ffa450edef68
2010-12-10 13:24:47 +00:00
Gary Tully 5b5d60f9d1 validate low range default to true after window move
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1044346 13f79535-47bb-0310-9956-ffa450edef68
2010-12-10 13:22:53 +00:00
Gary Tully 6ed942a3ee fix regression with DiscoveryTransportNoBrokerTest - https://issues.apache.org/jira/browse/AMQ-3049 - reconnectDelay of -1 not appropriate for sleep
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1044340 13f79535-47bb-0310-9956-ffa450edef68
2010-12-10 13:07:00 +00:00
Gary Tully 938a5fce16 resolve https://issues.apache.org/jira/browse/AMQ-3071 and add test
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1043076 13f79535-47bb-0310-9956-ffa450edef68
2010-12-07 15:00:32 +00:00
Timothy A. Bish c0c55ae2a5 test case and fix for: https://issues.apache.org/jira/browse/AMQ-3062
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1042394 13f79535-47bb-0310-9956-ffa450edef68
2010-12-05 18:09:09 +00:00
Gary Tully 78a54c9353 apply patch from https://issues.apache.org/jira/browse/AMQ-3067 with thanks and additional test
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1041351 13f79535-47bb-0310-9956-ffa450edef68
2010-12-02 12:41:58 +00:00
Gary Tully 7d5494258b ensure new high priority messages get dispatched immediately rather than at the end of the next batch, configurable via PendingDurableSubscriberMessageStoragePolicy.immediatePriorityDispatch default true, most relevant with prefetch=1
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1040151 13f79535-47bb-0310-9956-ffa450edef68
2010-11-29 15:33:03 +00:00
Gary Tully 81f3935cf3 resolve: https://issues.apache.org/activemq/browse/AMQ-3056 - do not throw on redelivery ack for a topic
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1039392 13f79535-47bb-0310-9956-ffa450edef68
2010-11-26 14:45:17 +00:00
Bosanac Dejan 81c5b9d6d3 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1039294 13f79535-47bb-0310-9956-ffa450edef68
2010-11-26 10:01:45 +00:00
Bosanac Dejan 2781601db1 [maven-release-plugin] prepare release activemq-5.4.2
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1039292 13f79535-47bb-0310-9956-ffa450edef68
2010-11-26 10:01:35 +00:00
Gary Tully 8191f19672 resolve regression with offline durable subs and jdbc, if there are no messages in the store and some consumed messages, the durable is not reactivated and subsequent messages can get deleted before they are consumed. Reduce the duplicate replays to a topic store cursor by tracking the last recovered. additional test
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1039108 13f79535-47bb-0310-9956-ffa450edef68
2010-11-25 17:29:02 +00:00
Bosanac Dejan 7fd8cc03d3 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1039020 13f79535-47bb-0310-9956-ffa450edef68
2010-11-25 12:32:08 +00:00
Bosanac Dejan 97a2838007 [maven-release-plugin] prepare release activemq-5.4.2
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1039018 13f79535-47bb-0310-9956-ffa450edef68
2010-11-25 12:32:01 +00:00
Gary Tully fa6d939a2e remove 1.6 ism, let it compile with jdk 1.5
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1038996 13f79535-47bb-0310-9956-ffa450edef68
2010-11-25 10:34:16 +00:00
Bosanac Dejan 9d4f30c018 https://issues.apache.org/activemq/browse/AMQ-3017 - fllesystem blob strategy
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1038971 13f79535-47bb-0310-9956-ffa450edef68
2010-11-25 09:46:27 +00:00
Gary Tully fc8155926f https://issues.apache.org/activemq/browse/AMQ-2985 - fix order so alter table works for oracle - ORA-30649:missing directory keyword
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1038758 13f79535-47bb-0310-9956-ffa450edef68
2010-11-24 18:38:04 +00:00
Bosanac Dejan 9862d93d95 https://issues.apache.org/activemq/browse/AMQ-3052 - memory leak in SimpleAuthenticationBroker
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1038658 13f79535-47bb-0310-9956-ffa450edef68
2010-11-24 16:03:22 +00:00
Gary Tully aec047d08b https://issues.apache.org/activemq/browse/AMQ-2985 - fix npe on remove consumer track new consumer last ack at lowest priority such that there can be no replay
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1038643 13f79535-47bb-0310-9956-ffa450edef68
2010-11-24 15:15:39 +00:00
Gary Tully 6eafe9327e https://issues.apache.org/activemq/browse/AMQ-2985 - fix regression of DurableSubscriptionUnsubscribeTest, check for empty topic
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1038551 13f79535-47bb-0310-9956-ffa450edef68
2010-11-24 11:30:49 +00:00
Gary Tully 21664a9609 https://issues.apache.org/activemq/browse/AMQ-2695 - rework getMessageCount to just use the index, build on changes from - https://issues.apache.org/activemq/browse/AMQ-2985
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1038296 13f79535-47bb-0310-9956-ffa450edef68
2010-11-23 19:36:35 +00:00
Gary Tully 8871c67e8f resolve https://issues.apache.org/activemq/browse/AMQ-2985 - issue with duplicates. track acklocations at send time such that out of order acks can remove messages, ensures unmatched messages do not build up. track priority with subscriptionAcks such that a restart or batch reset can select the correct cursor and not wrap around producing duplicates. ensure orderly upgrade of store. additional long running test (4 min) that validates
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1038276 13f79535-47bb-0310-9956-ffa450edef68
2010-11-23 18:54:55 +00:00
Bosanac Dejan 32db9c5a93 https://issues.apache.org/activemq/browse/AMQ-3049 - failover and initialReconnectDelay
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1038036 13f79535-47bb-0310-9956-ffa450edef68
2010-11-23 10:20:29 +00:00
Bosanac Dejan fd4e13634b https://issues.apache.org/activemq/browse/AMQ-2950 - prevent ConcurrentModificationException when removing the connection
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1037675 13f79535-47bb-0310-9956-ffa450edef68
2010-11-22 11:34:39 +00:00
Gary Tully 3f0cf98407 resolve issue with kahadb durable subs with selectors after restart, persist the ack locations, kahadb version to 3 with auto upgrade from 1 or 2. https://issues.apache.org/activemq/browse/AMQ-2985
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1036524 13f79535-47bb-0310-9956-ffa450edef68
2010-11-18 16:44:50 +00:00
Bosanac Dejan fe3660dfcd https://issues.apache.org/activemq/browse/AMQ-3044 - secure jmx connector
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1036455 13f79535-47bb-0310-9956-ffa450edef68
2010-11-18 13:40:24 +00:00
Gary Tully 3596f3706f resolve potential concurrent mod of LinkedHashMap, reads can modify as map is access ordered
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1036448 13f79535-47bb-0310-9956-ffa450edef68
2010-11-18 13:26:33 +00:00
Gary Tully eb034b4bc9 applied patch and test from https://issues.apache.org/activemq/browse/AMQ-3029 with thanks
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1035264 13f79535-47bb-0310-9956-ffa450edef68
2010-11-15 13:20:31 +00:00
Gary Tully 4fbf92de82 improve jdbc durable sub performance for long running subs and resolve regression in selector test, related to https://issues.apache.org/activemq/browse/AMQ-2985, https://issues.apache.org/activemq/browse/AMQ-2980, expose maxRows on jdbc persistence adapter to allow it to be increased for really large selectors
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1035202 13f79535-47bb-0310-9956-ffa450edef68
2010-11-15 10:00:56 +00:00
Gary Tully 4679c8a788 remove priority flag from default jdbc impl as that is shared across dests, leads to conflict between priority and non priority dests, limit rowSize returned from durable fetch so we don't hog memory or return too few matches: https://issues.apache.org/activemq/browse/AMQ-2980
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1034466 13f79535-47bb-0310-9956-ffa450edef68
2010-11-12 16:51:26 +00:00
Bruce Snyder c9c6e62a60 AMQ-3022 - Reverting changes for transaction suspend/resume due to broken tests
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1034430 13f79535-47bb-0310-9956-ffa450edef68
2010-11-12 15:39:37 +00:00
Gary Tully 5ce31fae87 resolve https://issues.apache.org/activemq/browse/AMQ-2939 - allow xbean config validation to be disabled, url of the form xbean:...?validate=false will do it
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1034032 13f79535-47bb-0310-9956-ffa450edef68
2010-11-11 18:40:26 +00:00
Bosanac Dejan 52aaa0a7f3 fixing licenses
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1033853 13f79535-47bb-0310-9956-ffa450edef68
2010-11-11 09:26:35 +00:00
Gary Tully 49824ecab6 enable scheduler for test config: https://issues.apache.org/activemq/browse/AMQ-2967
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1033834 13f79535-47bb-0310-9956-ffa450edef68
2010-11-11 08:25:42 +00:00
Gary Tully 6aacb034ee resolution to duplicate issue from https://issues.apache.org/activemq/browse/AMQ-2980 - contention over active flag caused premature dispatch on reactivation such that there could be duplicates, fixing the contention sorts this, final piece of the puzzle, test now works as expected
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1033607 13f79535-47bb-0310-9956-ffa450edef68
2010-11-10 17:44:06 +00:00
Gary Tully 6dea944be6 fix issue from new test for https://issues.apache.org/activemq/browse/AMQ-2985 - when acking as unmatched, the matching messages that lie inbetwen the sequences need to be added to the ack locations to ensure they don't get deleted when other consumers are done with them. test now enabled for kahaDB
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1033581 13f79535-47bb-0310-9956-ffa450edef68
2010-11-10 16:44:23 +00:00
Gary Tully 5baf5f5e76 improve logging by adding sub key
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1033487 13f79535-47bb-0310-9956-ffa450edef68
2010-11-10 14:26:30 +00:00
Gary Tully d8b11896ab additional test for https://issues.apache.org/activemq/browse/AMQ-2985 that shows issue with kahadb and overlapping durable and non durable subs with occasional filter match
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1033469 13f79535-47bb-0310-9956-ffa450edef68
2010-11-10 13:53:53 +00:00
Bosanac Dejan 69dc0d4940 https://issues.apache.org/activemq/browse/AMQ-2980 - modify the test case to show dupliacte problem
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1033468 13f79535-47bb-0310-9956-ffa450edef68
2010-11-10 13:52:40 +00:00
Gary Tully fa4481c421 more improvements on https://issues.apache.org/activemq/browse/AMQ-2980 - split prioritised and regular statements, have ack row per priority and fix up deletion and interleaved durable subs. Simpler slq improves throughput
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1033076 13f79535-47bb-0310-9956-ffa450edef68
2010-11-09 16:34:54 +00:00
Bosanac Dejan 3e8abcc43f https://issues.apache.org/activemq/browse/AMQ-3020 - imrpove test timings
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1032969 13f79535-47bb-0310-9956-ffa450edef68
2010-11-09 12:40:38 +00:00
Bosanac Dejan a23bb3053d https://issues.apache.org/activemq/browse/AMQ-3020 - remove obsolete test
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1032919 13f79535-47bb-0310-9956-ffa450edef68
2010-11-09 10:59:19 +00:00
Bosanac Dejan 4f327e091b https://issues.apache.org/activemq/browse/AMQ-3020 - missing properties file
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1032904 13f79535-47bb-0310-9956-ffa450edef68
2010-11-09 10:06:33 +00:00
Bruce Snyder 4411ff6680 AMQ-3022 - Improve error message when a transaction is attempted to be suspended/resumed
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1032658 13f79535-47bb-0310-9956-ffa450edef68
2010-11-08 18:19:23 +00:00
Bosanac Dejan 34f19297d4 https://issues.apache.org/activemq/browse/AMQ-3020 - supress browsers over network
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1032647 13f79535-47bb-0310-9956-ffa450edef68
2010-11-08 17:45:35 +00:00
Bosanac Dejan 7983abfcd6 https://issues.apache.org/activemq/browse/AMQ-3020 - test case
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1032591 13f79535-47bb-0310-9956-ffa450edef68
2010-11-08 14:51:11 +00:00
Gary Tully b6a9c70ef0 allow a 0 closeTimeout to mean infinite, currently it turns the sync request into an async request
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1031761 13f79535-47bb-0310-9956-ffa450edef68
2010-11-05 20:05:18 +00:00
Bosanac Dejan 2bdddc2021 https://issues.apache.org/activemq/browse/AMQ-3020 - intial tests
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1031656 13f79535-47bb-0310-9956-ffa450edef68
2010-11-05 16:27:58 +00:00
Gary Tully ca668019a0 starter test case for https://issues.apache.org/activemq/browse/AMQ-2908 - it works though
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1031136 13f79535-47bb-0310-9956-ffa450edef68
2010-11-04 18:37:00 +00:00
Gary Tully 06cbebc8da further resolution to https://issues.apache.org/activemq/browse/AMQ-2980, concurrent producers was still problematic as the store needed to be traversed multiple times, requiring ack locations per priority. Resolution to https://issues.apache.org/activemq/browse/AMQ-2551 fell out of decreasing the cleanup interval in some of the tests, cleanup needs an exclusive lock so it won't cause contention
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1030928 13f79535-47bb-0310-9956-ffa450edef68
2010-11-04 13:13:37 +00:00
Bosanac Dejan e96229803d https://issues.apache.org/activemq/browse/AMQ-3013 - additional fix
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1030888 13f79535-47bb-0310-9956-ffa450edef68
2010-11-04 11:48:32 +00:00
Bosanac Dejan 4fc1712cdc https://issues.apache.org/activemq/browse/AMQ-3013 - durable subs and jmx
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1030490 13f79535-47bb-0310-9956-ffa450edef68
2010-11-03 15:06:21 +00:00
Gary Tully 66a945a8f1 resolve duplicate issue with concurrent durable subs and dlq, suppress the duplicates in the default Dead letter strategy. With no duplicates, concurrentStoreAndDispatchQueues true is fine. resolve https://issues.apache.org/activemq/browse/AMQ-2584
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1030013 13f79535-47bb-0310-9956-ffa450edef68
2010-11-02 12:05:00 +00:00
Gary Tully 0c3117aac5 additional offiline test, and enable the jdbc variants - https://issues.apache.org/activemq/browse/AMQ-2985
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1028702 13f79535-47bb-0310-9956-ffa450edef68
2010-10-29 11:46:31 +00:00
Gary Tully 518f0ce146 revert to manual additions to the schema mapping so that previous versions are not dropped from the map: resolve https://issues.apache.org/activemq/browse/AMQ-3005
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1028288 13f79535-47bb-0310-9956-ffa450edef68
2010-10-28 13:18:56 +00:00
Gary Tully 5edede1d0b partial fix for https://issues.apache.org/activemq/browse/AMQ-2939 - allow the management context port values to be properties by ensuring that their schema is of type string rather than integer
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1028278 13f79535-47bb-0310-9956-ffa450edef68
2010-10-28 12:47:47 +00:00
Gary Tully 4d265fd5d5 verify that all journal files are reclaimed after duplicate messages with concurrentStoreAndDispatchQueues=false, durable subs must be unsubscribed also https://issues.apache.org/activemq/browse/AMQ-2584
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1028277 13f79535-47bb-0310-9956-ffa450edef68
2010-10-28 12:36:35 +00:00
Bruce Snyder 8a1f994bf5 AMQ-2965 - Patched to allow ActiveMQ to start up when DNS resolution is unavailable
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1028143 13f79535-47bb-0310-9956-ffa450edef68
2010-10-27 23:56:40 +00:00
Gary Tully c290a17460 add test variant that demonstrates the need to disable the audit on the dlq when there is a concurrent consumer with multiple durable subs, some duplicate sends will not be caught (if they are acked in the mean time) so that audit stop needs to be disabled such that they can be consumed. This points to the need for a dlq per durable sub. work around for: https://issues.apache.org/activemq/browse/AMQ-2584
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1027886 13f79535-47bb-0310-9956-ffa450edef68
2010-10-27 10:18:36 +00:00
Bosanac Dejan ef1a3c1f67 https://issues.apache.org/activemq/browse/AMQ-2983 - sticky kahadb log files concurrent tx
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1027863 13f79535-47bb-0310-9956-ffa450edef68
2010-10-27 09:14:46 +00:00
Gary Tully 6fd292d885 fix regression of https://issues.apache.org/activemq/browse/AMQ-2870 from refactoring of fix for https://issues.apache.org/activemq/browse/AMQ-2985 - unmatched acks are now stored as negative sequence ids so that we can differenciate between a durables that have acked messages after receipt and those that have acked because of unmatched. Unmatched messages are now deleted in the normal way
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1027644 13f79535-47bb-0310-9956-ffa450edef68
2010-10-26 16:52:08 +00:00
Gary Tully 3b51a692be resolve https://issues.apache.org/activemq/browse/AMQ-2999 - use widlcard address for tcp connector
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1027461 13f79535-47bb-0310-9956-ffa450edef68
2010-10-26 11:01:57 +00:00
Bosanac Dejan 1aa6cbc56a https://issues.apache.org/activemq/browse/AMQ-2982 - sticky kahadb log files on rollback
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1027453 13f79535-47bb-0310-9956-ffa450edef68
2010-10-26 10:33:05 +00:00
Bosanac Dejan 6ebc82c5c4 https://issues.apache.org/activemq/browse/AMQ-2982 - sticky kahadb log files on rollback
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1027451 13f79535-47bb-0310-9956-ffa450edef68
2010-10-26 10:32:31 +00:00
Gary Tully 107509fac3 ensure datasource is not shutdown for setup
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1027447 13f79535-47bb-0310-9956-ffa450edef68
2010-10-26 10:25:18 +00:00
Timothy A. Bish 8262eec63d apply patch for: https://issues.apache.org/activemq/browse/AMQ-2988
with modifications to make the properties map unmodifiable and use the generic Collections.emptyMap method instead of creating a new empty map.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1027282 13f79535-47bb-0310-9956-ffa450edef68
2010-10-25 21:58:04 +00:00
Gary Tully 5477bc007f fix xbean qdox parser error with static initialiser, use block instead
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1026545 13f79535-47bb-0310-9956-ffa450edef68
2010-10-23 02:13:58 +00:00
Gary Tully 6ddbba4850 additional tests and refactoring of fix for https://issues.apache.org/activemq/browse/AMQ-2985, not updating subscriptionAck with an unmatched message resolves recovery of unmatched selector durables, reveting the previous change
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1026543 13f79535-47bb-0310-9956-ffa450edef68
2010-10-23 01:36:13 +00:00
Gary Tully 514ef7de46 additional tests and refactoring of fix for https://issues.apache.org/activemq/browse/AMQ-2985, selector scan was off by one and unmatched acking skipped some messages leaving them available to subsequent consumers. Also acking always left the first consumed message available for a reconnected durable
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1026457 13f79535-47bb-0310-9956-ffa450edef68
2010-10-22 19:31:18 +00:00
Bosanac Dejan df7cb7727b https://issues.apache.org/activemq/browse/AMQ-2970 - refactor to avoid duplicate getConnectionContext() method
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1026254 13f79535-47bb-0310-9956-ffa450edef68
2010-10-22 08:55:08 +00:00
Gary Tully 9e885efca2 seems to be regression from: https://issues.apache.org/activemq/browse/AMQ-2970 - but there is some mix up with the creation of an admin connection context. having the BrokerView do the right thing works for the moment... but this needs some more eyes, test shows the issue when context is missing
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1026092 13f79535-47bb-0310-9956-ffa450edef68
2010-10-21 18:17:42 +00:00
Bosanac Dejan 57737968fb add some traces to enable easier monitor of message flow
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1026008 13f79535-47bb-0310-9956-ffa450edef68
2010-10-21 14:14:38 +00:00
Gary Tully 3432a75110 jdbc variant of https://issues.apache.org/activemq/browse/AMQ-2985 - jdbc store cannot ack out of order, the cleanup task query needed to be priority aware. fix for https://issues.apache.org/activemq/browse/AMQ-2980 JDBC - priority needed to be considered in count and recovery, additional tests included
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1025939 13f79535-47bb-0310-9956-ffa450edef68
2010-10-21 10:58:51 +00:00
Bosanac Dejan ea82d5de5b https://issues.apache.org/activemq/browse/AMQ-2993 - virtual topics and advisory messages
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1025905 13f79535-47bb-0310-9956-ffa450edef68
2010-10-21 09:32:47 +00:00
Timothy A. Bish a60eeaa7ae apply patch (with modification to fix a null pointer violation case) fixes: https://issues.apache.org/activemq/browse/AMQ-2990
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1025620 13f79535-47bb-0310-9956-ffa450edef68
2010-10-20 15:48:56 +00:00
Bosanac Dejan 51ef021073 https://issues.apache.org/activemq/browse/AMQ-2986 - JMX and store percent usage
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1023795 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18 13:38:26 +00:00
Gary Tully e4cd23e35d enable schedualing for these tests https://issues.apache.org/activemq/browse/AMQ-2967
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1023714 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18 09:53:10 +00:00
Gary Tully 5cbb4db7f6 resolve https://issues.apache.org/activemq/browse/AMQ-2985 - the use of selectors means replay and recovery from the begining of the store. unmatched are removed on initial dispatch
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1023704 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18 09:27:43 +00:00
Gary Tully 9705671546 resolve https://issues.apache.org/activemq/browse/AMQ-2980 for kahaDB
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1022890 13f79535-47bb-0310-9956-ffa450edef68
2010-10-15 12:29:39 +00:00
Gary Tully 80528f64a8 resolve failovertransactiontest hang in hudson
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1022058 13f79535-47bb-0310-9956-ffa450edef68
2010-10-13 10:08:10 +00:00
Bosanac Dejan 3a2d93958d https://issues.apache.org/activemq/browse/AMQ-2973 - removing composite subscription
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1021768 13f79535-47bb-0310-9956-ffa450edef68
2010-10-12 13:29:37 +00:00
Gary Tully 1e900b300a a little more debug info on file gc, https://issues.apache.org/activemq/browse/AMQ-2955
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1021747 13f79535-47bb-0310-9956-ffa450edef68
2010-10-12 11:32:53 +00:00
Gary Tully a5135f175d don't emit messages by default, only when explicitly configured as there are a dev debug aid, there are no simple handles exposed to effect the runtime values: https://issues.apache.org/activemq/browse/AMQ-2837
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1021478 13f79535-47bb-0310-9956-ffa450edef68
2010-10-11 19:31:07 +00:00
Gary Tully c1da3ac3bd resolve https://issues.apache.org/activemq/browse/AMQ-2103 and https://issues.apache.org/activemq/browse/AMQ-2966, implement fix for 2103 using boolean policy for queues named reduceMemoryFootprint, when set, after a message is persisted, the internal state is cleared. This works at a natural sync point in the broker and avoids contention. The contention to marshall with the original patch results in AMQ-2966
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1021466 13f79535-47bb-0310-9956-ffa450edef68
2010-10-11 19:06:02 +00:00
Bosanac Dejan 17851fac05 https://issues.apache.org/activemq/browse/AMQ-2970 - advisory and jmx create/delete destination
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1021425 13f79535-47bb-0310-9956-ffa450edef68
2010-10-11 16:50:12 +00:00
Gary Tully b625db2462 revert test mod from https://issues.apache.org/activemq/browse/AMQ-2103 - resolution to: https://issues.apache.org/activemq/browse/AMQ-2966
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1005871 13f79535-47bb-0310-9956-ffa450edef68
2010-10-08 15:56:45 +00:00
Gary Tully 92b3ae2cd0 disable schedualler by default: resolve: https://issues.apache.org/activemq/browse/AMQ-2967, https://issues.apache.org/activemq/browse/AMQ-2959
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1005858 13f79535-47bb-0310-9956-ffa450edef68
2010-10-08 15:22:57 +00:00
Gary Tully dd68c61e65 resolve https://issues.apache.org/activemq/browse/AMQ-2736, logic issue in code that keeps data files with acks around pending message file gc. thanks jgenender - test case to follow
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1005806 13f79535-47bb-0310-9956-ffa450edef68
2010-10-08 12:28:42 +00:00
Bosanac Dejan 8e83b7f123 https://issues.apache.org/activemq/browse/AMQ-2950 - additional fix to support parallel transactions
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1005794 13f79535-47bb-0310-9956-ffa450edef68
2010-10-08 12:08:32 +00:00
Gary Tully 8e70e010a0 resolve: https://issues.apache.org/activemq/browse/AMQ-2966 - related to fix for: https://issues.apache.org/activemq/browse/AMQ-2103, test via camel component - simple forwarder using vm transport
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1005773 13f79535-47bb-0310-9956-ffa450edef68
2010-10-08 11:00:26 +00:00
Gary Tully fb6c2da31d resolve failing test in hudson, dangling broker prevents restart
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1005409 13f79535-47bb-0310-9956-ffa450edef68
2010-10-07 11:02:35 +00:00
Gary Tully c4911bda04 resolve https://issues.apache.org/activemq/browse/AMQ-2902 - ensure there is no exception on graceful close of vm transport, also have stack trace for transport exceptions at debug level, just toString at info level, test included, thanks
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1005094 13f79535-47bb-0310-9956-ffa450edef68
2010-10-06 15:58:26 +00:00
Bosanac Dejan 06d6e08f48 https://issues.apache.org/activemq/browse/AMQ-2954 - test scheduling after restart
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1004640 13f79535-47bb-0310-9956-ffa450edef68
2010-10-05 13:51:55 +00:00
Gary Tully 04b2690628 add limit to the log message on temp store full
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1004603 13f79535-47bb-0310-9956-ffa450edef68
2010-10-05 10:26:14 +00:00
Gary Tully c94b4075e9 resolve issue with page file recovery replaying write buffer at wrong offest, also have schedualler flush writes on new store creation, issue visible with unclean shutdown - https://issues.apache.org/activemq/browse/AMQ-2935
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1004600 13f79535-47bb-0310-9956-ffa450edef68
2010-10-05 10:15:32 +00:00
Timothy A. Bish 667f26a155 fix for: https://issues.apache.org/activemq/browse/AMQ-2941
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1004411 13f79535-47bb-0310-9956-ffa450edef68
2010-10-04 20:35:18 +00:00
Timothy A. Bish 5f490541f4 Fixing a race between the session being closed and the call to commit in the async handler that caused some exceptions occasionally in the test run.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1003908 13f79535-47bb-0310-9956-ffa450edef68
2010-10-02 22:23:55 +00:00
Bosanac Dejan 227ed96df0 https://issues.apache.org/activemq/browse/AMQ-2952 - message groups with small prefetch
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1003096 13f79535-47bb-0310-9956-ffa450edef68
2010-09-30 15:07:55 +00:00
Bosanac Dejan c0daffa381 https://issues.apache.org/activemq/browse/AMQ-2950 - xa transaction rollback on connection close
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1002604 13f79535-47bb-0310-9956-ffa450edef68
2010-09-29 13:10:52 +00:00
Timothy A. Bish 54bce47a81 fix for: https://issues.apache.org/activemq/browse/AMQ-2932
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1000651 13f79535-47bb-0310-9956-ffa450edef68
2010-09-23 22:24:36 +00:00
Bosanac Dejan 996b7a53a3 https://issues.apache.org/activemq/browse/AMQ-2927 - support for configuring custom broker id
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@999924 13f79535-47bb-0310-9956-ffa450edef68
2010-09-22 13:04:59 +00:00
Bosanac Dejan 9041c3fc78 https://issues.apache.org/activemq/browse/AMQ-2927 - test case
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@999816 13f79535-47bb-0310-9956-ffa450edef68
2010-09-22 08:50:54 +00:00
Bosanac Dejan acb8164bc6 https://issues.apache.org/activemq/browse/AMQ-2927 - test case in the making
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@999814 13f79535-47bb-0310-9956-ffa450edef68
2010-09-22 08:50:24 +00:00
Hadrian Zbarcea 4802804da3 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@998393 13f79535-47bb-0310-9956-ffa450edef68
2010-09-18 02:24:50 +00:00
Hadrian Zbarcea 037b306ca6 [maven-release-plugin] prepare release activemq-5.4.1
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@998391 13f79535-47bb-0310-9956-ffa450edef68
2010-09-18 02:24:21 +00:00
Hadrian Zbarcea 1b3d4f805a refined rat exclusions
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@998388 13f79535-47bb-0310-9956-ffa450edef68
2010-09-18 01:34:26 +00:00
Gary Tully ba78db89a3 test that did not stop broker in teardown, schedualer db lock on startup shows it: https://issues.apache.org/activemq/browse/AMQ-2897
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@998015 13f79535-47bb-0310-9956-ffa450edef68
2010-09-17 08:29:08 +00:00
Gary Tully cf7a935b06 resolve https://issues.apache.org/activemq/browse/AMQ-2910 - fix and test, index on temp plist store was not being protected
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@997849 13f79535-47bb-0310-9956-ffa450edef68
2010-09-16 17:09:22 +00:00
Gary Tully f9379664f7 propagate the closeTimeout attribute to a new connection
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@997719 13f79535-47bb-0310-9956-ffa450edef68
2010-09-16 12:32:54 +00:00
Gary Tully f0de24c8e3 explicitly set redelivery policy to ensure no default 1 sec delay, speed up test
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@997647 13f79535-47bb-0310-9956-ffa450edef68
2010-09-16 09:08:15 +00:00
Gary Tully dc5ebcd51c speed up test, redelivery delay of 1sec for 200 messages * 6 * 3, should be 0
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@997645 13f79535-47bb-0310-9956-ffa450edef68
2010-09-16 09:02:09 +00:00
Gary Tully cb519da097 test that did not stop broker in teardown, schedualler on startup shows it up: https://issues.apache.org/activemq/browse/AMQ-2897
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@997412 13f79535-47bb-0310-9956-ffa450edef68
2010-09-15 17:38:25 +00:00
Bosanac Dejan a0b017611b https://issues.apache.org/activemq/browse/AMQ-2919 - Deflater.end() should be called from ActiveMQBytesMessage
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@997290 13f79535-47bb-0310-9956-ffa450edef68
2010-09-15 11:38:27 +00:00
Gary Tully 5bf3696c81 resolve another hanging test, broker not stopped on teardown: https://issues.apache.org/activemq/browse/AMQ-2897
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@997250 13f79535-47bb-0310-9956-ffa450edef68
2010-09-15 10:07:37 +00:00
Gary Tully 487834164c resolve another hanging test, broker names need to be added to differenciat sehadualler stores: https://issues.apache.org/activemq/browse/AMQ-2897
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@997225 13f79535-47bb-0310-9956-ffa450edef68
2010-09-15 08:26:27 +00:00
Gary Tully f2816deb1c fix hanging test that did not stop broker in shutdown, schedualler on startup shows it up: https://issues.apache.org/activemq/browse/AMQ-2897
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@996962 13f79535-47bb-0310-9956-ffa450edef68
2010-09-14 15:52:55 +00:00
Timothy A. Bish 6672740da0 fix for: https://issues.apache.org/activemq/browse/AMQ-2915
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@996646 13f79535-47bb-0310-9956-ffa450edef68
2010-09-13 19:10:46 +00:00
Gary Tully 0cc5fd3652 add missing class for: https://issues.apache.org/activemq/browse/AMQ-2880
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@995786 13f79535-47bb-0310-9956-ffa450edef68
2010-09-10 13:20:27 +00:00
Gary Tully eedda6f2d1 follow up on comment to https://issues.apache.org/activemq/browse/AMQ-2556 - ensure ended tx are removed in the event that prepare results in an exception
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@995397 13f79535-47bb-0310-9956-ffa450edef68
2010-09-09 12:26:05 +00:00
Gary Tully 9f0c86cc6d commit test case with policy maxPageSize workaround in place that demonstrates it works as expected - https://issues.apache.org/activemq/browse/AMQ-2217
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@995381 13f79535-47bb-0310-9956-ffa450edef68
2010-09-09 11:22:27 +00:00
Gary Tully adb76e5eb1 make default schedualler dir broker name dependent so there is no clash among embedded brokers - follow up to https://issues.apache.org/activemq/browse/AMQ-2897
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@995154 13f79535-47bb-0310-9956-ffa450edef68
2010-09-08 17:03:02 +00:00
Gary Tully e5896c022c resolve https://issues.apache.org/activemq/browse/AMQ-2880 - variant of patch applied with test case, added one and two phase variants, context needed to deal with failure as did xa transaction
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@995119 13f79535-47bb-0310-9956-ffa450edef68
2010-09-08 16:27:44 +00:00
Bosanac Dejan e8a4a32c83 https://issues.apache.org/activemq/browse/AMQ-2897 - start job scheduler on start
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@995016 13f79535-47bb-0310-9956-ffa450edef68
2010-09-08 12:19:43 +00:00
Gary Tully 0585bc10cd resolve https://issues.apache.org/activemq/browse/AMQ-2622 - additional test for the hybrid case of vm and non vm consuimers of deferred serilizable object messages
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@994990 13f79535-47bb-0310-9956-ffa450edef68
2010-09-08 11:23:35 +00:00
Gary Tully 4c4f0d18ce resolve: https://issues.apache.org/activemq/browse/AMQ-2904 - fix issue with network connector failover recreating consumer in pull mode, add test. related to: https://issues.apache.org/activemq/browse/AMQ-2579
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@993382 13f79535-47bb-0310-9956-ffa450edef68
2010-09-07 14:40:58 +00:00
Bosanac Dejan 20118f2604 https://issues.apache.org/activemq/browse/AMQ-2813 - BrokerService @PostConstruct
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@992984 13f79535-47bb-0310-9956-ffa450edef68
2010-09-06 09:37:19 +00:00
Gary Tully db5ba04cd2 https://issues.apache.org/activemq/browse/AMQ-2891 - add some progress info messages for cursor recovery, kicks in a 50000 messages
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@992241 13f79535-47bb-0310-9956-ffa450edef68
2010-09-03 09:19:50 +00:00
Bosanac Dejan 28bc447954 https://issues.apache.org/activemq/browse/AMQ-2460 - encrypted passwords
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@991934 13f79535-47bb-0310-9956-ffa450edef68
2010-09-02 13:47:40 +00:00
Gary Tully 9eb93f1d6d resolve https://issues.apache.org/activemq/browse/AMQ-2880 - rollback jms transaction, inflight ack on the event of a store transaction failure
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@991218 13f79535-47bb-0310-9956-ffa450edef68
2010-08-31 15:28:04 +00:00
Timothy A. Bish f8a601a85b fix for: https://issues.apache.org/activemq/browse/AMQ-2883
readLength counter not reset after reading the content of the first BytesMessage.

Added new test that sends multiple BytesMessages to cover this case.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@990827 13f79535-47bb-0310-9956-ffa450edef68
2010-08-30 15:47:16 +00:00
Gary Tully c458bd1a1f record the destination of a dup in the warn message, helps diagnose
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@990158 13f79535-47bb-0310-9956-ffa450edef68
2010-08-27 14:08:40 +00:00
Gary Tully ee4c8eeaba resolve https://issues.apache.org/activemq/browse/AMQ-2764 - add inactivity monitor to http transport, enabled by default with 30 second default idle timeout, configure via transport url params as there is no negeotion via wire format info over http. Now a duplex return connection can expire when there is no inactivity. Also processed shutdown so in the normal case a duplex connector can be disposed when the remote broker stops, the inactivity monitor deal with the abortive closure case
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@990107 13f79535-47bb-0310-9956-ffa450edef68
2010-08-27 11:34:04 +00:00
Gary Tully fafaf7d6ea follow up to fix for https://issues.apache.org/activemq/browse/AMQ-2877 - one test depended on the lack of pull replay to validate redeliver in a transaciton, re worked the test to make it work with this change
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@990106 13f79535-47bb-0310-9956-ffa450edef68
2010-08-27 11:28:37 +00:00
Gary Tully 550637b84c add simple vm properties test
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@990066 13f79535-47bb-0310-9956-ffa450edef68
2010-08-27 08:31:00 +00:00
Gary Tully 966de0ce55 resolve: https://issues.apache.org/activemq/browse/AMQ-2877 - track messagepull commands in the failover state tracker
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@988974 13f79535-47bb-0310-9956-ffa450edef68
2010-08-25 10:15:12 +00:00
Gary Tully a27eab4e36 resolve: https://issues.apache.org/activemq/browse/AMQ-2876 - ensure an acked message is not expired when processing the ack
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@988455 13f79535-47bb-0310-9956-ffa450edef68
2010-08-24 09:50:25 +00:00
Gary Tully e121ccc990 resolve https://issues.apache.org/activemq/browse/AMQ-2840 - revert to 5.3 behaviour for tck compliance, add new getAllPropertyNames method that returns all props, including JMS standard props and JMSX extnsion props
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@987443 13f79535-47bb-0310-9956-ffa450edef68
2010-08-20 09:48:45 +00:00
Gary Tully cf3db575a5 resolve https://issues.apache.org/activemq/browse/AMQ-2840 - Eugene's carefull reading of the sepc results in the JMSX props being returned in the enumeration
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@987193 13f79535-47bb-0310-9956-ffa450edef68
2010-08-19 15:30:49 +00:00
Gary Tully c62b951c52 resolve https://issues.apache.org/activemq/browse/AMQ-2872
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@987113 13f79535-47bb-0310-9956-ffa450edef68
2010-08-19 10:09:36 +00:00
Gary Tully 5b8bcf784e fix regression - spec compliance with patch for https://issues.apache.org/activemq/browse/AMQ-2840, standard headers must be omitted from getPropopertyNames()
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@987090 13f79535-47bb-0310-9956-ffa450edef68
2010-08-19 09:05:21 +00:00
Gary Tully c5da5f829a resolve https://issues.apache.org/activemq/browse/AMQ-2584 for AMQ store, if a write was outstanding when a second add arrives, the addition was ignored but the additonal file reference was not ignored leading to a dangling ref to a data file that prevented it being reclaimed
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@986734 13f79535-47bb-0310-9956-ffa450edef68
2010-08-18 15:20:15 +00:00
Gary Tully 815c2f32bc resolve https://issues.apache.org/activemq/browse/AMQ-2584 for kahaDB, AMQ store still needs work, seems to be a different issue
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@986651 13f79535-47bb-0310-9956-ffa450edef68
2010-08-18 13:04:25 +00:00
Gary Tully e7503f147f follow on from resolution to test case, disable concurrentStoreAndDispatchTopics by default as it can lead to the store and cursor getting out of order and when the cache is exhausted, messages can potentially be missed. https://issues.apache.org/activemq/browse/AMQ-2864
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@986264 13f79535-47bb-0310-9956-ffa450edef68
2010-08-17 11:10:14 +00:00
Gary Tully 4de6878919 resolve https://issues.apache.org/activemq/browse/AMQ-2870 - fix typo
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@986073 13f79535-47bb-0310-9956-ffa450edef68
2010-08-16 17:42:11 +00:00
Gary Tully 306f8a0774 resolve https://issues.apache.org/activemq/browse/AMQ-2870 - have durable sub ack an unmatched message straight away
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@985993 13f79535-47bb-0310-9956-ffa450edef68
2010-08-16 15:38:56 +00:00
Hadrian Zbarcea d2380c8e8a [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@985386 13f79535-47bb-0310-9956-ffa450edef68
2010-08-13 22:14:13 +00:00
Hadrian Zbarcea a440b6c677 [maven-release-plugin] prepare release activemq-5.4.0
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@985384 13f79535-47bb-0310-9956-ffa450edef68
2010-08-13 22:13:50 +00:00
Bosanac Dejan d3bb57d0bc [maven-release-plugin] rollback the release of activemq-5.4.0
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@985250 13f79535-47bb-0310-9956-ffa450edef68
2010-08-13 15:41:21 +00:00
Bosanac Dejan 760f56875a [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@985239 13f79535-47bb-0310-9956-ffa450edef68
2010-08-13 15:25:21 +00:00
Bosanac Dejan d3fc97aba2 [maven-release-plugin] prepare release activemq-5.4.0
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@985237 13f79535-47bb-0310-9956-ffa450edef68
2010-08-13 15:24:34 +00:00
Bosanac Dejan d649a9184b rollbacking the previous RC
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@985222 13f79535-47bb-0310-9956-ffa450edef68
2010-08-13 14:54:03 +00:00
Gary Tully 52675ab3e7 resolve: https://issues.apache.org/activemq/browse/AMQ-2867, addition to https://issues.apache.org/activemq/browse/AMQ-2507 - if no response received and timeout > 0 a RequestTimedOutIOException is thrown on the client side
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@985201 13f79535-47bb-0310-9956-ffa450edef68
2010-08-13 13:55:32 +00:00
Gary Tully 46e2e6e363 resolve https://issues.apache.org/activemq/browse/AMQ-2868 - make it bullit proof with a transaction completion sync that serializes updates to a cusror and store so that they are always in order
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@985155 13f79535-47bb-0310-9956-ffa450edef68
2010-08-13 11:02:34 +00:00
Bosanac Dejan e32c1ba9f8 https://issues.apache.org/activemq/browse/AMQ-2598 - additional fix
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@985154 13f79535-47bb-0310-9956-ffa450edef68
2010-08-13 10:53:48 +00:00
Gary Tully 72278d5e0f resolve https://issues.apache.org/activemq/browse/AMQ-2857 apply variant of patch to support mysql 5.5 -introduce typeStatement default to ENGING can be set to TYPE, thanks
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@985151 13f79535-47bb-0310-9956-ffa450edef68
2010-08-13 10:21:15 +00:00
Bosanac Dejan 784b93df4d https://issues.apache.org/activemq/browse/AMQ-2598 - URISupport.parseParameters() now supports composite urls
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@984826 13f79535-47bb-0310-9956-ffa450edef68
2010-08-12 15:16:47 +00:00
Bosanac Dejan 89944c7988 https://issues.apache.org/activemq/browse/AMQ-2598 - applying parameters for composite urls in discovery agent
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@984738 13f79535-47bb-0310-9956-ffa450edef68
2010-08-12 12:19:31 +00:00
Timothy A. Bish 612b044169 fix for: https://issues.apache.org/activemq/browse/AMQ-2866
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@984489 13f79535-47bb-0310-9956-ffa450edef68
2010-08-11 17:38:26 +00:00
Hadrian Zbarcea 0fad136cc6 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@984126 13f79535-47bb-0310-9956-ffa450edef68
2010-08-10 17:07:29 +00:00
Hadrian Zbarcea 30d7a7d7d3 [maven-release-plugin] prepare release activemq-5.4.0
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@984124 13f79535-47bb-0310-9956-ffa450edef68
2010-08-10 17:06:59 +00:00
Bosanac Dejan ab28b31451 adding license headers
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@984091 13f79535-47bb-0310-9956-ffa450edef68
2010-08-10 15:37:47 +00:00
Bosanac Dejan 261ccabf65 adding license headers
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@984049 13f79535-47bb-0310-9956-ffa450edef68
2010-08-10 14:24:26 +00:00
Gary Tully 604ec7cc9f validate if concurrentstore and dispatch topics causes an issue for message order with durable subs, actually turn if off! : https://issues.apache.org/activemq/browse/AMQ-2864
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@983971 13f79535-47bb-0310-9956-ffa450edef68
2010-08-10 12:47:59 +00:00
Gary Tully 4625a468a0 validate if concurrentstore and dispatch topics causes an issue for message order with durable subs: https://issues.apache.org/activemq/browse/AMQ-2864
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@983966 13f79535-47bb-0310-9956-ffa450edef68
2010-08-10 12:43:16 +00:00
Hadrian Zbarcea ac652da52d [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@983897 13f79535-47bb-0310-9956-ffa450edef68
2010-08-10 09:02:54 +00:00
Hadrian Zbarcea 3f8cb55122 [maven-release-plugin] prepare release activemq-5.4.0
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@983895 13f79535-47bb-0310-9956-ffa450edef68
2010-08-10 09:02:36 +00:00
Bosanac Dejan 948e386fbd adding license header
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@983886 13f79535-47bb-0310-9956-ffa450edef68
2010-08-10 08:50:09 +00:00
Hadrian Zbarcea 45116abe3a [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@983854 13f79535-47bb-0310-9956-ffa450edef68
2010-08-10 02:16:19 +00:00
Hadrian Zbarcea 3796cf4497 [maven-release-plugin] prepare release activemq-5.4.0
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@983852 13f79535-47bb-0310-9956-ffa450edef68
2010-08-10 02:15:55 +00:00
Gary Tully 7629eafd0a resolve https://issues.apache.org/activemq/browse/AMQ-2119 - have transport errors log at info level rather than debug
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@983584 13f79535-47bb-0310-9956-ffa450edef68
2010-08-09 11:06:00 +00:00
Gary Tully 670a9c4c56 resolve: https://issues.apache.org/activemq/browse/AMQ-2776 - apply variant of patch. also related to https://issues.apache.org/activemq/browse/AMQ-2771, avoid unnecessary local host name resolution
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@983565 13f79535-47bb-0310-9956-ffa450edef68
2010-08-09 09:38:46 +00:00
Gary Tully 7f7a95b457 resolve: https://issues.apache.org/activemq/browse/AMQ-2840 - add test and apply patch with thanks
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@983564 13f79535-47bb-0310-9956-ffa450edef68
2010-08-09 09:12:45 +00:00
Gary Tully ab2cd1133d resolve https://issues.apache.org/activemq/browse/AMQ-2659 - allow XAConnection/Session to be used without an XA transaction, defaults to auto_ack mode. Can still be only used transactionally with an XA transaction
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@983057 13f79535-47bb-0310-9956-ffa450edef68
2010-08-06 17:05:59 +00:00
Bosanac Dejan 34dcc17aa3 test case for https://issues.apache.org/activemq/browse/AMQ-2203 - start=false
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@983035 13f79535-47bb-0310-9956-ffa450edef68
2010-08-06 15:58:46 +00:00
Bosanac Dejan 144a362aee test case for https://issues.apache.org/activemq/browse/AMQ-2203 - start=false
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@983027 13f79535-47bb-0310-9956-ffa450edef68
2010-08-06 15:35:09 +00:00
Gary Tully b18255665f resolve: https://issues.apache.org/activemq/browse/AMQ-2125 - remove the error log, replace with warn as these are can ocurr on failover in normal usage, but are indicative of another consumer getting the message
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@982990 13f79535-47bb-0310-9956-ffa450edef68
2010-08-06 14:30:04 +00:00
Gary Tully 05101de839 resolve: https://issues.apache.org/activemq/browse/AMQ-2771 - it does not makes sense to have a hack for osx enabled by defaultm it is counter intuitive, can be enabled via transport option useLocalHost if needed in special cases
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@982962 13f79535-47bb-0310-9956-ffa450edef68
2010-08-06 13:50:58 +00:00
Gary Tully 01495a00e9 fix failure of org.apache.activemq.store.kahadb.KahaDBMessagePriorityTest - getMessageCount left cursor at end of data, reset needed at the end
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@982955 13f79535-47bb-0310-9956-ffa450edef68
2010-08-06 13:35:45 +00:00
Bosanac Dejan 474a30d7ce reverting to annotation spec 1.0 and including activemq-ra in the feature
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@982934 13f79535-47bb-0310-9956-ffa450edef68
2010-08-06 11:34:06 +00:00
Gary Tully 74495451af revert http://svn.apache.org/viewvc?rev=982099&view=rev - seems to make tests fail locally, now work ok - mvn clean test -Dtest=SimpleNetworkTest,ThreeBrokerQueueNetworkTest
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@982912 13f79535-47bb-0310-9956-ffa450edef68
2010-08-06 09:16:56 +00:00
Gary Tully c23f9e6584 resolve: fix https://issues.apache.org/activemq/browse/AMQ-1847 - set initialRedeliveryDelay=0 to get non delayed first redelivery, use deliveryDelay to set the base for subsequent redelivery. existing users with an initialRedeliveryDelay set will now see it being respected.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@982903 13f79535-47bb-0310-9956-ffa450edef68
2010-08-06 08:10:52 +00:00
Bosanac Dejan 6b81869fc6 upgrade to geronimo annotation spec 1.1
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@982677 13f79535-47bb-0310-9956-ffa450edef68
2010-08-05 16:08:02 +00:00
Bosanac Dejan 8cb9ef312f fix for JmsDurableTopicSlowReceiveTest - we must update cursor after iterating
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@982511 13f79535-47bb-0310-9956-ffa450edef68
2010-08-05 09:04:14 +00:00
Bosanac Dejan 6dffe4debe https://issues.apache.org/activemq/browse/AMQ-2861 - composite destinations and cursor memory usage
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@982317 13f79535-47bb-0310-9956-ffa450edef68
2010-08-04 16:15:31 +00:00
Gary Tully 0af6b063e7 revert http://fisheye6.atlassian.com/changelog/activemq/?cs=958009 - concurrent dispatch with transaction completion breaks when the cache is disabled, either through memory limit or through durable subs with existing messages in the store. cannot see the use case though as the transaction semantic is broken if a message can get dispatched but a commit can still fail. With dispatch ocurring postCommit like before, the option for kahaDB to do concurrent transaction dispatch is disabled
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@982240 13f79535-47bb-0310-9956-ffa450edef68
2010-08-04 12:56:42 +00:00
Gary Tully 6f7e3fc1d5 resolve failure if DestinationRemoveRestartTest - destinations were auto created in the store on resetbatch which ocurred on shutdown
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@982180 13f79535-47bb-0310-9956-ffa450edef68
2010-08-04 09:41:54 +00:00
Hadrian Zbarcea 8c4bb36bbe Speed tests up a bit. Bridge formation fails for a few tests
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@982099 13f79535-47bb-0310-9956-ffa450edef68
2010-08-04 01:35:42 +00:00
Gary Tully c1acb4030d validate properties added to disvovered transports
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@981840 13f79535-47bb-0310-9956-ffa450edef68
2010-08-03 12:20:00 +00:00
Gary Tully 969e7585f3 resolve issue with kahaDB based variant of AMQ2149Test - revert http://svn.apache.org/viewvc?rev=958330&view=rev
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@980462 13f79535-47bb-0310-9956-ffa450edef68
2010-07-29 15:04:07 +00:00
Robert Davies cba046834c changes for https://issues.apache.org/activemq/browse/AMQ-2789 - message priority
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@980458 13f79535-47bb-0310-9956-ffa450edef68
2010-07-29 14:52:03 +00:00
Gary Tully e6c4d7e81e resolve intermittent hudson failure with test, may not always produce dups so verify that case
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@980095 13f79535-47bb-0310-9956-ffa450edef68
2010-07-28 15:30:22 +00:00
Gary Tully 4f32c6bcc1 regression with https://issues.apache.org/activemq/browse/AMQ-2849 - FanoutTransportFactory needed to remove used parameters from original rather than from copy... resolve hang in FanoutTest
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@980025 13f79535-47bb-0310-9956-ffa450edef68
2010-07-28 11:44:53 +00:00
Gary Tully 6b4509cdea apply patch from https://issues.apache.org/activemq/browse/AMQ-2774
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@980014 13f79535-47bb-0310-9956-ffa450edef68
2010-07-28 10:43:27 +00:00
Robert Davies 43c2315257 version 1 kahaDB
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@980007 13f79535-47bb-0310-9956-ffa450edef68
2010-07-28 09:47:23 +00:00
Robert Davies e8ff71d371 added version 1 database for KahaDB
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@980004 13f79535-47bb-0310-9956-ffa450edef68
2010-07-28 09:29:25 +00:00
Robert Davies 91ae1712f4 added version 1 database for KahaDB
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@980002 13f79535-47bb-0310-9956-ffa450edef68
2010-07-28 09:25:54 +00:00
Robert Davies cca20b81d7 fixed an issue for copying directories
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@979977 13f79535-47bb-0310-9956-ffa450edef68
2010-07-28 08:07:12 +00:00
Gary Tully 5e0e4248de resolve https://issues.apache.org/activemq/browse/AMQ-2850, still needs a kahadb variant
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@979775 13f79535-47bb-0310-9956-ffa450edef68
2010-07-27 17:04:24 +00:00
Gary Tully af5d8d154a resolve: https://issues.apache.org/activemq/browse/AMQ-2842 - patch applied with thanks
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@979324 13f79535-47bb-0310-9956-ffa450edef68
2010-07-26 15:24:11 +00:00
Gary Tully 9ecc679b38 resolve: https://issues.apache.org/activemq/browse/AMQ-2849 - patch applied with thanks
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@979277 13f79535-47bb-0310-9956-ffa450edef68
2010-07-26 13:34:24 +00:00
Robert Davies 0004917cd8 updated copy() method to copy directories
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@979216 13f79535-47bb-0310-9956-ffa450edef68
2010-07-26 09:52:17 +00:00
Robert Davies 5f400b3853 prevent npe
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@978813 13f79535-47bb-0310-9956-ffa450edef68
2010-07-24 06:44:15 +00:00
Gary Tully f206a1bd11 resolve https://issues.apache.org/activemq/browse/AMQ-2580 - patch was good for AMQ store, fix needed for kahaDB and JDBC now done, test case was great, thanks.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@967134 13f79535-47bb-0310-9956-ffa450edef68
2010-07-23 15:31:10 +00:00
Gary Tully 21e641d496 fix issue with size of SimplePriorityMessageDispatchChannel, cause intermittent failure of FailoverConsumerUnconsumedTest
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@967052 13f79535-47bb-0310-9956-ffa450edef68
2010-07-23 11:42:31 +00:00
Bosanac Dejan 2677c6bf0e https://issues.apache.org/activemq/browse/AMQ-2843 - support database schema upgrades
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@967008 13f79535-47bb-0310-9956-ffa450edef68
2010-07-23 09:01:08 +00:00
Bosanac Dejan 4f5e620d1c https://issues.apache.org/activemq/browse/AMQ-2843 - first stab at supporting priority for durable subs
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@966712 13f79535-47bb-0310-9956-ffa450edef68
2010-07-22 15:46:18 +00:00
Gary Tully 383d12ed0e resolve: https://issues.apache.org/activemq/browse/AMQ-2741 - visibility of abort slow consumer policy in via jmx
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@966319 13f79535-47bb-0310-9956-ffa450edef68
2010-07-21 17:09:33 +00:00
Bosanac Dejan 12f0195913 https://issues.apache.org/activemq/browse/AMQ-2843 - first stab at adding priority for queues in JDBC store
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@966291 13f79535-47bb-0310-9956-ffa450edef68
2010-07-21 16:06:39 +00:00
Bosanac Dejan c4425caa2f https://issues.apache.org/activemq/browse/AMQ-2789 and https://issues.apache.org/activemq/browse/AMQ-2843 - adds tests for cursors and stores and fixes a PrioritizedPendingList bug
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@966223 13f79535-47bb-0310-9956-ffa450edef68
2010-07-21 13:38:40 +00:00
Bosanac Dejan 03f38ae402 https://issues.apache.org/activemq/browse/AMQ-2843 - add mechanism for stores to know whether to use prioritized recovery or not
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@966145 13f79535-47bb-0310-9956-ffa450edef68
2010-07-21 08:59:42 +00:00
Bosanac Dejan 8ed8dd41c4 https://issues.apache.org/activemq/browse/AMQ-2841 - log stomp protocol errors
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@965897 13f79535-47bb-0310-9956-ffa450edef68
2010-07-20 16:25:52 +00:00
Bosanac Dejan 11705e70b4 https://issues.apache.org/activemq/browse/AMQ-2702 - remove runtime spring dependency
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@965820 13f79535-47bb-0310-9956-ffa450edef68
2010-07-20 12:07:27 +00:00
Robert Davies c6af867113 Patch applied for https://issues.apache.org/activemq/browse/AMQ-2833
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@965542 13f79535-47bb-0310-9956-ffa450edef68
2010-07-19 16:10:22 +00:00
Gary Tully 607f1ef669 resolve: https://issues.apache.org/activemq/browse/AMQ-2836 - copy message before logging
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@965517 13f79535-47bb-0310-9956-ffa450edef68
2010-07-19 14:59:27 +00:00
Gary Tully d85895666a resolve https://issues.apache.org/activemq/browse/AMQ-2832 - impl for AMQ pa
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@964866 13f79535-47bb-0310-9956-ffa450edef68
2010-07-16 17:30:25 +00:00
Bosanac Dejan 145c80a298 https://issues.apache.org/activemq/browse/AMQ-2574 - removing runtime OSGi dependency
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@964847 13f79535-47bb-0310-9956-ffa450edef68
2010-07-16 16:20:21 +00:00
Gary Tully f2517c01b8 resolve https://issues.apache.org/activemq/browse/AMQ-2832 - track ack file references to prevent cleanup of data files with acks for inuse message files, impl for kahaDB
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@964804 13f79535-47bb-0310-9956-ffa450edef68
2010-07-16 14:19:27 +00:00
Gary Tully a7f9164464 resolve NPE on stop when reconnect fails - resolve https://issues.apache.org/activemq/browse/AMQ-2811
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@964367 13f79535-47bb-0310-9956-ffa450edef68
2010-07-15 10:18:02 +00:00
Bosanac Dejan 3817ed9a97 https://issues.apache.org/activemq/browse/AMQ-2825 - jettison 1.2
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@964087 13f79535-47bb-0310-9956-ffa450edef68
2010-07-14 15:51:37 +00:00
Gary Tully 54a1520393 add test that validates https://issues.apache.org/activemq/browse/AMQ-1893 is resolved on trunk
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@964051 13f79535-47bb-0310-9956-ffa450edef68
2010-07-14 13:56:17 +00:00
Gary Tully 73433372e9 rework fix for https://issues.apache.org/activemq/browse/AMQ-1730 - better support for unordered message consumption when there are multiple short lived consumers, eg with spring mlc and concurrent consumers > 1
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@963894 13f79535-47bb-0310-9956-ffa450edef68
2010-07-13 22:40:58 +00:00
Bosanac Dejan 03349fecda https://issues.apache.org/activemq/browse/AMQ-2817 - prevent test from failing
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@963678 13f79535-47bb-0310-9956-ffa450edef68
2010-07-13 11:08:35 +00:00
Gary Tully b1d7a78c0a further reduction in contention on inflight transacitons in kahaDB store
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@963674 13f79535-47bb-0310-9956-ffa450edef68
2010-07-13 10:54:59 +00:00
Bosanac Dejan 584d52c1f0 https://issues.apache.org/activemq/browse/AMQ-2822 - stomp+nio and content-length
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@963282 13f79535-47bb-0310-9956-ffa450edef68
2010-07-12 13:57:11 +00:00
Robert Davies cee683f84c Fix for https://issues.apache.org/activemq/browse/AMQ-2475
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@963118 13f79535-47bb-0310-9956-ffa450edef68
2010-07-11 17:51:51 +00:00
Robert Davies ea0ceacef0 Fix for https://issues.apache.org/activemq/browse/AMQ-2070
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@963104 13f79535-47bb-0310-9956-ffa450edef68
2010-07-11 16:33:03 +00:00
Robert Davies 70314ea8a6 Fix for https://issues.apache.org/activemq/browse/AMQ-2821
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@963096 13f79535-47bb-0310-9956-ffa450edef68
2010-07-11 16:09:02 +00:00
Robert Davies 2705e3606f Fix for https://issues.apache.org/activemq/browse/AMQ-2821
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@963095 13f79535-47bb-0310-9956-ffa450edef68
2010-07-11 16:08:15 +00:00
Robert Davies 26430893ae set name of temporary store to tmpDB
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@962620 13f79535-47bb-0310-9956-ffa450edef68
2010-07-09 17:58:54 +00:00
Bosanac Dejan 681cf04da9 https://issues.apache.org/activemq/browse/AMQ-2817 - sanitize stomp headers
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@962512 13f79535-47bb-0310-9956-ffa450edef68
2010-07-09 12:55:21 +00:00
Gary Tully 5763561d60 resolve PerDestinationStoreLimitTest - have store size reflect stored messages rather than disk usage (so now it reports used rather than allocated disk soace excluding the index) such that 100MB messages gives store size ~100MB while disk utilisation may be bigger. getDiskSize still exsits to get totall allocated space on disk. This allows configured limits to be more accuratly enforced and fixes this test regression. Also calculation is accumulative rather than on demand so it much faster
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@962468 13f79535-47bb-0310-9956-ffa450edef68
2010-07-09 09:52:43 +00:00
Gary Tully a6a6a708ff resolve https://issues.apache.org/activemq/browse/AMQ-2800, https://issues.apache.org/activemq/browse/AMQ-2542, https://issues.apache.org/activemq/browse/AMQ-2803 - implement duplicate checker in transport for a failover: reconnect, uses last seqid from store. iimplemented for kahaDB and JDBC
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@961783 13f79535-47bb-0310-9956-ffa450edef68
2010-07-08 14:23:21 +00:00
Robert Davies 89e538db7c Only start Producer Flow Control thread when needed
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@961500 13f79535-47bb-0310-9956-ffa450edef68
2010-07-07 20:31:40 +00:00
Robert Davies b47da808d7 Improve concurrency
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@961484 13f79535-47bb-0310-9956-ffa450edef68
2010-07-07 19:34:09 +00:00
Robert Davies 720ff40ac0 fixed a potential hole around lock usage
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@961272 13f79535-47bb-0310-9956-ffa450edef68
2010-07-07 07:35:31 +00:00
Robert Davies 28180b35bd Improve concurrency by using read/write locks
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@961245 13f79535-47bb-0310-9956-ffa450edef68
2010-07-07 05:10:17 +00:00
Gary Tully cc700dd841 reinstate this test case
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@960869 13f79535-47bb-0310-9956-ffa450edef68
2010-07-06 10:58:06 +00:00
Gary Tully 4160249750 resolve https://issues.apache.org/activemq/browse/AMQ-2603 - update to org.apache.geronimo.specs:geronimo-j2ee-management_1.1_spec:1.0.1
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@960857 13f79535-47bb-0310-9956-ffa450edef68
2010-07-06 09:55:17 +00:00
Robert Davies 179bd54e22 synchronization around creation of preparedTransactions
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@960645 13f79535-47bb-0310-9956-ffa450edef68
2010-07-05 17:18:10 +00:00
Robert Davies 95ba6efceb updated doc
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@960632 13f79535-47bb-0310-9956-ffa450edef68
2010-07-05 16:27:57 +00:00
Robert Davies caea2f22f0 remove unnecessary started flag
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@960590 13f79535-47bb-0310-9956-ffa450edef68
2010-07-05 13:16:36 +00:00
Robert Davies 6a5030b9f5 removed unnecessary synchronization around dispatch list
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@960444 13f79535-47bb-0310-9956-ffa450edef68
2010-07-05 05:06:18 +00:00
Robert Davies 42ee51fe9a Applied patch for https://issues.apache.org/activemq/browse/AMQ-2795
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@960298 13f79535-47bb-0310-9956-ffa450edef68
2010-07-04 06:28:36 +00:00
Robert Davies c14c7e791d Fix for https://issues.apache.org/activemq/browse/AMQ-2807
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@960296 13f79535-47bb-0310-9956-ffa450edef68
2010-07-04 05:49:20 +00:00
Gary Tully 76f842d371 improve async task concurrency, contention over indexMutex for transactions and taskMap, not per destination. Added some metrics enabled by system properties to help further diagnosis of journal usage
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@960060 13f79535-47bb-0310-9956-ffa450edef68
2010-07-02 17:11:00 +00:00
Gary Tully d1e35e6c3a add trivial boolean selector test
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@959298 13f79535-47bb-0310-9956-ffa450edef68
2010-06-30 13:12:19 +00:00
Robert Davies 452ceae26e Name the BrokerService TaskRunner
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@959200 13f79535-47bb-0310-9956-ffa450edef68
2010-06-30 05:57:45 +00:00
Robert Davies d1b5029dc6 Remove the need to check if the store is empty when checking to enable cache
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@958330 13f79535-47bb-0310-9956-ffa450edef68
2010-06-27 06:07:02 +00:00
Robert Davies dd48ebea00 Use KahaDB (as now the default store)
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@958329 13f79535-47bb-0310-9956-ffa450edef68
2010-06-27 06:05:46 +00:00
Timothy A. Bish 9807ee3253 fix for: https://issues.apache.org/activemq/browse/AMQ-2098
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@958103 13f79535-47bb-0310-9956-ffa450edef68
2010-06-25 20:23:56 +00:00
Robert Davies ddb2c91c20 transaction performance enhancements
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@958009 13f79535-47bb-0310-9956-ffa450edef68
2010-06-25 15:45:47 +00:00
Gary Tully 39c536395a work around: javax.net.ssl.SSLHandshakeException: renegotiation is not allowed - http://java.sun.com/javase/javaseforbusiness/docs/TLSReadme.html for SslBrokerServiceTest with latest jdk security fixes
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@957916 13f79535-47bb-0310-9956-ffa450edef68
2010-06-25 12:23:07 +00:00
Gary Tully fb591e7b89 fix intermittent failure in JDBCNegativeQueueTest, sync store add and cursor add such that cursor is always in order w.r.t the store. Hense, when the cursor cache is exhausted, resuming from the store is just fine. Without the sync, moving from cache to store can result in duplicate messages, out of order messages and on occasion missing messages. disabling the cache resolved all of the above but kills performance. Syncing the sore add and cursor add is the correct solution, but it has an impact on concurrent transaction completion for a destination, paralell completion across destinations can still continue, so there is still some batching potential
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@957899 13f79535-47bb-0310-9956-ffa450edef68
2010-06-25 11:49:01 +00:00
Robert Davies 00879cf683 changes for https://issues.apache.org/activemq/browse/AMQ-2791
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@957881 13f79535-47bb-0310-9956-ffa450edef68
2010-06-25 10:28:17 +00:00
Bosanac Dejan eeacd65a2b https://issues.apache.org/activemq/browse/AMQ-2081 - anonymous access
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@957509 13f79535-47bb-0310-9956-ffa450edef68
2010-06-24 11:16:09 +00:00
Bosanac Dejan 1f063e8557 https://issues.apache.org/activemq/browse/AMQ-2790 - check connection to prevent NPEs
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@957213 13f79535-47bb-0310-9956-ffa450edef68
2010-06-23 14:23:51 +00:00
Bosanac Dejan ac77a047c0 https://issues.apache.org/activemq/browse/AMQ-2695 - counter fix
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@957210 13f79535-47bb-0310-9956-ffa450edef68
2010-06-23 14:11:19 +00:00
Bosanac Dejan d53609ff08 https://issues.apache.org/activemq/browse/AMQ-2695 - kahadb store directory location
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@957194 13f79535-47bb-0310-9956-ffa450edef68
2010-06-23 13:39:14 +00:00
Bosanac Dejan 9f417a2e5a https://issues.apache.org/activemq/browse/AMQ-2695 - additional fix for amq store
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@957181 13f79535-47bb-0310-9956-ffa450edef68
2010-06-23 13:06:19 +00:00
Bosanac Dejan 2aa2278fc2 https://issues.apache.org/activemq/browse/AMQ-2793 - KahaDB default dir
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@957154 13f79535-47bb-0310-9956-ffa450edef68
2010-06-23 11:00:43 +00:00
Robert Davies 7ad152bac8 Ensure executor constructed correctly
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@957005 13f79535-47bb-0310-9956-ffa450edef68
2010-06-22 20:08:12 +00:00
Robert Davies c14dc3a06f Fix for https://issues.apache.org/activemq/browse/AMQ-2790
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@956918 13f79535-47bb-0310-9956-ffa450edef68
2010-06-22 15:20:49 +00:00
Bosanac Dejan a8b0d39915 intermittent failures on slow machines
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@956570 13f79535-47bb-0310-9956-ffa450edef68
2010-06-21 13:14:06 +00:00
Robert Davies 69e3b6c8c8 Fix for https://issues.apache.org/activemq/browse/AMQ-2786
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@956481 13f79535-47bb-0310-9956-ffa450edef68
2010-06-21 07:57:32 +00:00
Gary Tully d55404445a give it more time to build up writes
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@955993 13f79535-47bb-0310-9956-ffa450edef68
2010-06-18 13:08:31 +00:00
Gary Tully e85dda9c64 have KahaDB lock work in vm, so master slave tests can work ok. preserver kaha behaiour in this regard as it makes testing simpler. fix npe on shutdown if start fails
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@955973 13f79535-47bb-0310-9956-ffa450edef68
2010-06-18 12:27:51 +00:00
Bosanac Dejan ae5300b190 https://issues.apache.org/activemq/browse/AMQ-2782 - removing temp destinations over the network
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@955621 13f79535-47bb-0310-9956-ffa450edef68
2010-06-17 14:56:23 +00:00
Bosanac Dejan 9703219972 https://issues.apache.org/activemq/browse/AMQ-2782 - test case
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@955505 13f79535-47bb-0310-9956-ffa450edef68
2010-06-17 08:33:37 +00:00
Robert Davies f42c91f43d Fix for https://issues.apache.org/activemq/browse/AMQ-2475
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@955504 13f79535-47bb-0310-9956-ffa450edef68
2010-06-17 08:24:26 +00:00
Robert Davies 1999d948bb handle Future correctly passed back from the store
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@955221 13f79535-47bb-0310-9956-ffa450edef68
2010-06-16 12:49:24 +00:00
Robert Davies ddf228227c Enable XBean property editors
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@955183 13f79535-47bb-0310-9956-ffa450edef68
2010-06-16 10:24:53 +00:00
Robert Davies 47181b7b07 Fix for https://issues.apache.org/activemq/browse/AMQ-2738
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@955179 13f79535-47bb-0310-9956-ffa450edef68
2010-06-16 10:17:06 +00:00
Robert Davies 37b7d9cfbd remove JDK 1.6 specific calls
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@955178 13f79535-47bb-0310-9956-ffa450edef68
2010-06-16 10:12:23 +00:00
Robert Davies 774a9daa4d fixed incorrect broker URL
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@955171 13f79535-47bb-0310-9956-ffa450edef68
2010-06-16 09:42:32 +00:00
Robert Davies e70308804f clear down async tasks on stop
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@955168 13f79535-47bb-0310-9956-ffa450edef68
2010-06-16 09:38:46 +00:00
Robert Davies 7a5abebea8 make concurrent store and dispatch with transactions optional
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@955149 13f79535-47bb-0310-9956-ffa450edef68
2010-06-16 07:40:33 +00:00
Robert Davies 27262c8463 Transactions dispatch and commit to the store asynchronously, though the commit only returns to the producer when they both complete for KahaDB
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@955039 13f79535-47bb-0310-9956-ffa450edef68
2010-06-15 20:33:41 +00:00
Gary Tully ad06a5f9c3 resolve https://issues.apache.org/activemq/browse/AMQ-2765 - rework fix for https://issues.apache.org/activemq/browse/AMQ-2772 - each consumer needs to indicate when interuption processing is complete. till there is a need to do other wise, the connection consumers (used by the RA managed connection) immediatly allow redelivery
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@954972 13f79535-47bb-0310-9956-ffa450edef68
2010-06-15 17:17:07 +00:00
Bosanac Dejan 370d56e300 https://issues.apache.org/activemq/browse/AMQ-2770 - durable subscription mbean
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@954893 13f79535-47bb-0310-9956-ffa450edef68
2010-06-15 14:06:43 +00:00
Robert Davies dc6dc7e540 updated performance tests
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@954604 13f79535-47bb-0310-9956-ffa450edef68
2010-06-14 19:35:17 +00:00
Robert Davies 794e62fbaa Fix for https://issues.apache.org/activemq/browse/AMQ-2777
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@954599 13f79535-47bb-0310-9956-ffa450edef68
2010-06-14 19:21:21 +00:00
Gary Tully 027d2e71b6 resolve https://issues.apache.org/activemq/browse/AMQ-2779 - add selectorAware option to a virtual topic such that only message matching some exisitng subscription selector are propagated to a subscription queue, this allows dynamic selector usage withough the build up of unmatched messages on a destination
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@954540 13f79535-47bb-0310-9956-ffa450edef68
2010-06-14 16:25:57 +00:00
Bosanac Dejan bc2b677c4d https://issues.apache.org/activemq/browse/AMQ-2695 - durable subs and selectors - test that verifies amq store
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@954412 13f79535-47bb-0310-9956-ffa450edef68
2010-06-14 11:20:40 +00:00
Bosanac Dejan d96c1cb7a3 https://issues.apache.org/activemq/browse/AMQ-2695 - durable subs and selectors - fix for kahadb
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@954406 13f79535-47bb-0310-9956-ffa450edef68
2010-06-14 10:34:54 +00:00
Gary Tully 6b18edc771 add test for https://issues.apache.org/activemq/browse/AMQ-2084 that works just fine
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@953739 13f79535-47bb-0310-9956-ffa450edef68
2010-06-11 15:48:46 +00:00
Bosanac Dejan 9444a7903e https://issues.apache.org/activemq/browse/AMQ-2769 - durable sub unsubscribe
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@953708 13f79535-47bb-0310-9956-ffa450edef68
2010-06-11 14:46:40 +00:00
Gary Tully e771b88479 resolve: https://issues.apache.org/activemq/browse/AMQ-2772 - patch applied with thanks and new test case created to protect the change
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@953696 13f79535-47bb-0310-9956-ffa450edef68
2010-06-11 13:40:49 +00:00
Bosanac Dejan 2b6f36dbfd first stab at resolving https://issues.apache.org/activemq/browse/AMQ-2695
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@953384 13f79535-47bb-0310-9956-ffa450edef68
2010-06-10 16:43:38 +00:00
Bosanac Dejan bb17d61516 https://issues.apache.org/activemq/browse/AMQ-2665 - additional fix
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@953382 13f79535-47bb-0310-9956-ffa450edef68
2010-06-10 16:39:27 +00:00
Bosanac Dejan 9c47f6b385 https://issues.apache.org/activemq/browse/AMQ-2665 - durable activation and predefined topics
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@952976 13f79535-47bb-0310-9956-ffa450edef68
2010-06-09 12:22:52 +00:00
Bosanac Dejan bf61bebd79 cleaning up AMQ2413Test
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@952962 13f79535-47bb-0310-9956-ffa450edef68
2010-06-09 11:14:10 +00:00
Bosanac Dejan 9fcf16eaab https://issues.apache.org/activemq/browse/AMQ-2663 - keepDurableSubsActive=false reactivation
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@952946 13f79535-47bb-0310-9956-ffa450edef68
2010-06-09 10:31:49 +00:00
Bosanac Dejan 121ecb5599 https://issues.apache.org/activemq/browse/AMQ-2767 - proxyToLocalBroker <proxyConnector> property
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@952642 13f79535-47bb-0310-9956-ffa450edef68
2010-06-08 12:58:28 +00:00
Bosanac Dejan 99ef19a43d https://issues.apache.org/activemq/browse/AMQ-2753 - additional test
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@951067 13f79535-47bb-0310-9956-ffa450edef68
2010-06-03 16:51:40 +00:00
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
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