Commit Graph

4962 Commits

Author SHA1 Message Date
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
Bosanac Dejan bf20aa514c https://issues.apache.org/jira/browse/AMQ-3015 - deleting obsolete tests
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1044418 13f79535-47bb-0310-9956-ffa450edef68
2010-12-10 16:22:41 +00:00
Bosanac Dejan 31ed6d550e https://issues.apache.org/jira/browse/AMQ-3015 - js client does not establish session properly
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1044412 13f79535-47bb-0310-9956-ffa450edef68
2010-12-10 15:56:55 +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 08a2967764 add keepalive to initiator
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1044061 13f79535-47bb-0310-9956-ffa450edef68
2010-12-09 18:18:04 +00:00
Gary Tully 426a3a17fe remove spurious perf logging code: https://issues.apache.org/jira/browse/AMQ-3076
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1043912 13f79535-47bb-0310-9956-ffa450edef68
2010-12-09 11:58:17 +00:00
Bosanac Dejan f51c4cc63f more testing of http inactivity monitor
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1043556 13f79535-47bb-0310-9956-ffa450edef68
2010-12-08 18:02:36 +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
Bosanac Dejan a332127cc2 making a test work through the proxy
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1042819 13f79535-47bb-0310-9956-ffa450edef68
2010-12-06 22:28:49 +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
Gary Tully dbaf2b1c8c fix version post release - back to snap
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1039325 13f79535-47bb-0310-9956-ffa450edef68
2010-11-26 12:15:12 +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
Bosanac Dejan e8a32d56f8 updating activemq-version
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1039281 13f79535-47bb-0310-9956-ffa450edef68
2010-11-26 09:37:39 +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 00daefc58e https://issues.apache.org/activemq/browse/AMQ-3054 - add property placeholder to activemq-jdbc.xml
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1038976 13f79535-47bb-0310-9956-ffa450edef68
2010-11-25 10:05:57 +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
Bosanac Dejan d6ad7c7cd0 https://issues.apache.org/activemq/browse/AMQ-3028 - sync pageCache
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1038566 13f79535-47bb-0310-9956-ffa450edef68
2010-11-24 11:48:27 +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
Bosanac Dejan ad6cb20044 https://issues.apache.org/activemq/browse/AMQ-3050 - return value for activemq stop command
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1038539 13f79535-47bb-0310-9956-ffa450edef68
2010-11-24 09:33:22 +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
Bosanac Dejan fe1bf48a1d https://issues.apache.org/activemq/browse/AMQ-3044 - adding example in activemq-security.xml
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1036530 13f79535-47bb-0310-9956-ffa450edef68
2010-11-18 16:59:42 +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
Bosanac Dejan d31e6beb56 https://issues.apache.org/activemq/browse/AMQ-3035 - SSL_OPTS
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1035211 13f79535-47bb-0310-9956-ffa450edef68
2010-11-15 10:26:14 +00:00