Commit Graph

3553 Commits

Author SHA1 Message Date
Gary Tully 971f61f0d3 remove dependency on jmx 1099 port
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1069783 13f79535-47bb-0310-9956-ffa450edef68
2011-02-11 12:42:15 +00:00
Gary Tully 237f83578f give bridge formation more time after a restart
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1069781 13f79535-47bb-0310-9956-ffa450edef68
2011-02-11 12:38:13 +00:00
Gary Tully 784ead59c7 test that seems to show missing durable messages after restat, needs investigation
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1069758 13f79535-47bb-0310-9956-ffa450edef68
2011-02-11 11:35:29 +00:00
Bosanac Dejan 8bf987b134 https://issues.apache.org/jira/browse/AMQ-3177 - use slf4j instead of jcl
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1069405 13f79535-47bb-0310-9956-ffa450edef68
2011-02-10 14:24:01 +00:00
Gary Tully a204c793b2 wait for complete formation of network before verification, some more time for slower machines
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1069352 13f79535-47bb-0310-9956-ffa450edef68
2011-02-10 12:11:17 +00:00
Gary Tully 7f002de964 remove dependency on jmx 1099 port
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1069347 13f79535-47bb-0310-9956-ffa450edef68
2011-02-10 12:02:09 +00:00
Gary Tully 55ae21c381 remove dependency on jmx 1099 port
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1069344 13f79535-47bb-0310-9956-ffa450edef68
2011-02-10 11:56:31 +00:00
Gary Tully 27d0ff4011 https://issues.apache.org/jira/browse/AMQ-3176 - Potential deadlock in duplex network connector recreation, resulting in dangling connections. https://issues.apache.org/jira/browse/AMQ-3129 - Can only have one duplex networkConnection per transportConnection. Rework of https://issues.apache.org/jira/browse/AMQ-2774. NetworkConnector.name attribute (default NC) is used to differenciate duplex network connectors so it needs to be unique to allow multiple to be configured. Removing existing matching network connectors on a reconnect is now thread safe
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1069339 13f79535-47bb-0310-9956-ffa450edef68
2011-02-10 11:02:48 +00:00
Timothy A. Bish 3d82d74862 Apply fix and test for: https://issues.apache.org/jira/browse/AMQ-3141
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1068952 13f79535-47bb-0310-9956-ffa450edef68
2011-02-09 16:05:24 +00:00
Timothy A. Bish 595e44c64c Adding test and fix for https://issues.apache.org/jira/browse/AMQ-3140 using included patch with modifications.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1068935 13f79535-47bb-0310-9956-ffa450edef68
2011-02-09 15:23:38 +00:00
Bosanac Dejan ab412fa136 some virtual destination with wildcard consumers tests
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1068336 13f79535-47bb-0310-9956-ffa450edef68
2011-02-08 11:24:59 +00:00
Gary Tully eae88fe309 test that shows issues with backlog for durable subs
across three stores

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1067187 13f79535-47bb-0310-9956-ffa450edef68
2011-02-04 14:57:26 +00:00
Bosanac Dejan 1a177f374a adding test for virtual destinations in networks
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1066402 13f79535-47bb-0310-9956-ffa450edef68
2011-02-02 10:26:06 +00:00
Gary Tully aae3ea27f7 resolve regression in JDBCXACommitExceptionTest from https://issues.apache.org/activemq/browse/AMQ-2880
Change http://svn.apache.org/viewvc?rev=1064858&view=rev demostrated need to separate jms transacted
session recovery from xa recovery.
Issue related to using XASession without transactions. https://issues.apache.org/jira/browse/AMQ-2659
fix makes XASession indicated it is transacted during commit processing so that a close does not precipiate
an auto ack. ended transactions, available till forget will keep transacted=true

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1065688 13f79535-47bb-0310-9956-ffa450edef68
2011-01-31 17:20:18 +00:00
Gary Tully 29c0dff26a it can take more than 30 seconds for network of 20 to get in line on a slower box, so incease the default delay
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1065591 13f79535-47bb-0310-9956-ffa450edef68
2011-01-31 13:11:27 +00:00
Gary Tully 31c01f8916 new xa test - jdbc and jms
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1064858 13f79535-47bb-0310-9956-ffa450edef68
2011-01-28 20:20:06 +00:00
Gary Tully acc3d4f7cb https://issues.apache.org/jira/browse/AMQ-3167 - possible skipped Queue messages in memory limited configuration with fast consumers
resolve off by one error in messageOrderIndex setBatch

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1064660 13f79535-47bb-0310-9956-ffa450edef68
2011-01-28 13:25:22 +00:00
Gary Tully aadd682d09 https://issues.apache.org/jira/browse/AMQ-3159 - Log file offset in addition to file location in checkpointUpdate()
patch applied with thanks.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1063712 13f79535-47bb-0310-9956-ffa450edef68
2011-01-26 13:39:27 +00:00
Gary Tully 62c6c8f8d8 https://issues.apache.org/jira/browse/AMQ-3161 - Race condition in ActiveMQ Journal Checkpoint worker thread cleanup leads to multiple running instances
patch applied with thanks, one small mod, left un synced check in store(..) such that locking only occurs if thread needs a restart

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1063710 13f79535-47bb-0310-9956-ffa450edef68
2011-01-26 13:30:42 +00:00
Gary Tully 62609f099a https://issues.apache.org/jira/browse/AMQ-3162 - ActiveMQ checkpoint worker makes unnecessary repeated calls to Journal.getFileMap(), leading to excessive memory usage
applied variation of the patch with thanks. Now make one call to find the current set of referenced files.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1063669 13f79535-47bb-0310-9956-ffa450edef68
2011-01-26 10:40:35 +00:00
Gary Tully ed6a4c7067 https://issues.apache.org/jira/browse/AMQ-3038 - fix unit test regression, a temp dest may have a null conneciton if it was added from an advisory
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1063248 13f79535-47bb-0310-9956-ffa450edef68
2011-01-25 12:15:50 +00:00
Bosanac Dejan cb9f176752 https://issues.apache.org/jira/browse/AMQ-3143 - additional commit for storeUsage limit change
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1063214 13f79535-47bb-0310-9956-ffa450edef68
2011-01-25 10:39:11 +00:00
Gary Tully 610c5bf4d8 https://issues.apache.org/jira/browse/AMQ-3148 - LoggingBrokerPlugin addConnection(..) log output is meaningless
patch applied with thanks.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1062756 13f79535-47bb-0310-9956-ffa450edef68
2011-01-24 12:40:26 +00:00
Bosanac Dejan 27484b9324 https://issues.apache.org/jira/browse/AMQ-3120 - test case in the making
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1061899 13f79535-47bb-0310-9956-ffa450edef68
2011-01-21 16:48:50 +00:00
Gary Tully aad7e7394a https://issues.apache.org/jira/browse/AMQ-3149, https://issues.apache.org/jira/browse/AMQ-3145
expose current caching state of cursors (also via jmx), only use store async add if cache
is enabled, ensure cache is reenabled on add with 0 queue depth

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1061859 13f79535-47bb-0310-9956-ffa450edef68
2011-01-21 15:53:29 +00:00
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