Commit Graph

5703 Commits

Author SHA1 Message Date
Timothy A. Bish c062020bcb add a test to show that https://issues.apache.org/jira/browse/AMQ-3445 is not an issue in trunk.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1241935 13f79535-47bb-0310-9956-ffa450edef68
2012-02-08 15:28:52 +00:00
Timothy A. Bish beb564f6f1 updates copyright year for to current https://issues.apache.org/jira/browse/AMQ-3078
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1241898 13f79535-47bb-0310-9956-ffa450edef68
2012-02-08 13:48:41 +00:00
Gary Tully 9d15861cce https://issues.apache.org/jira/browse/AMQ-3695 - remove distinct qualifier from union, breaks oracle and is the default
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1241869 13f79535-47bb-0310-9956-ffa450edef68
2012-02-08 11:21:39 +00:00
Timothy A. Bish 6a631a9d21 fix and test for: https://issues.apache.org/jira/browse/AMQ-3705
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1241629 13f79535-47bb-0310-9956-ffa450edef68
2012-02-07 21:18:50 +00:00
Bosanac Dejan 19cb932816 https://issues.apache.org/jira/browse/AMQ-3685 - a few more fixes for failover cluster update ... handle well original broker restarting and avoid deadlock
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1241426 13f79535-47bb-0310-9956-ffa450edef68
2012-02-07 11:24:49 +00:00
Timothy A. Bish b567bd478b fix for: https://issues.apache.org/jira/browse/AMQ-3703
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1241246 13f79535-47bb-0310-9956-ffa450edef68
2012-02-06 22:54:47 +00:00
Timothy A. Bish cdba931deb fix for: https://issues.apache.org/jira/browse/AMQ-3702
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1241221 13f79535-47bb-0310-9956-ffa450edef68
2012-02-06 22:24:58 +00:00
Timothy A. Bish a1d5ff0316 fix for: for: https://issues.apache.org/jira/browse/AMQ-3700
Prevent any calls to wakeup becoming recursive calls into iterate() and instead queue a wakeup so that we don't miss dispatching any messages as things change in the memory usage.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1241077 13f79535-47bb-0310-9956-ffa450edef68
2012-02-06 16:59:07 +00:00
Timothy A. Bish 1a566ecff7 Test case for: https://issues.apache.org/jira/browse/AMQ-3700
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1241073 13f79535-47bb-0310-9956-ffa450edef68
2012-02-06 16:51:01 +00:00
Gary Tully 80ecfb7049 test case that shows concurrent mod exception when optimise dispatch is enabled and usage limit met
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1241068 13f79535-47bb-0310-9956-ffa450edef68
2012-02-06 16:37:09 +00:00
Bosanac Dejan 7388438a85 https://issues.apache.org/jira/browse/AMQ-3699 - priority uris for failover transport
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1241061 13f79535-47bb-0310-9956-ffa450edef68
2012-02-06 16:25:44 +00:00
Gary Tully e73230b4a3 https://issues.apache.org/jira/browse/AMQ-3695 - ensure destination deletion removes entry in the acks table
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1240994 13f79535-47bb-0310-9956-ffa450edef68
2012-02-06 12:05:17 +00:00
Gary Tully c35550f165 https://issues.apache.org/jira/browse/AMQ-3695 - fix up two related/inherited tests
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1240979 13f79535-47bb-0310-9956-ffa450edef68
2012-02-06 11:22:04 +00:00
Gary Tully 24c4257998 this test causes hudson to hang, disabling pending investigation into root cause
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1240973 13f79535-47bb-0310-9956-ffa450edef68
2012-02-06 10:49:15 +00:00
Timothy A. Bish f220607e33 fix for: https://issues.apache.org/jira/browse/AMQ-3586
Trim whitespace from destination names

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1240287 13f79535-47bb-0310-9956-ffa450edef68
2012-02-03 18:46:03 +00:00
Timothy A. Bish 65fe5e2587 Update the test to address hanging in hudson
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1240188 13f79535-47bb-0310-9956-ffa450edef68
2012-02-03 14:24:17 +00:00
Gary Tully b6f63b0d10 https://issues.apache.org/jira/browse/AMQ-3695: Failover using a JDBC Message Store and Virtual Topic can result in a lost message if queue is empty. Problem is that an empty destination is not recorded, as there is no entry in the messages table. Fix is to make use of the ack table, in the same way a for durable subs. For destinations that match the virtual topic filter, an entry out of priority range is added to the ack table. the startup destination query now unions over the ack and messages table
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1240162 13f79535-47bb-0310-9956-ffa450edef68
2012-02-03 13:43:36 +00:00
Bosanac Dejan 0295e8d44d https://issues.apache.org/jira/browse/AMQ-3606 - schema for karaf features xml
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1239540 13f79535-47bb-0310-9956-ffa450edef68
2012-02-02 11:14:30 +00:00
Timothy A. Bish f6caba7127 Additional Fix for https://issues.apache.org/jira/browse/AMQ-3573 - Avoid a potential NPE.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1239335 13f79535-47bb-0310-9956-ffa450edef68
2012-02-01 21:39:37 +00:00
Timothy A. Bish d403f10722 Additional Fix for https://issues.apache.org/jira/browse/AMQ-3573 - Add check for improperly configured temp store limits
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1239319 13f79535-47bb-0310-9956-ffa450edef68
2012-02-01 20:57:36 +00:00
Timothy A. Bish b11f1b452d Adds a test that verifies the behavior of the temp store when setting limits smaller than the max journal file size.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1239308 13f79535-47bb-0310-9956-ffa450edef68
2012-02-01 20:26:31 +00:00
Timothy A. Bish e25e5dee86 Update test so that its not using a fixed port for the brokerUri.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1239283 13f79535-47bb-0310-9956-ffa450edef68
2012-02-01 19:37:29 +00:00
Gary Tully 179d95e7be https://issues.apache.org/jira/browse/AMQ-3694 - Blocked/Slow advisory consumers in duplex network connector, eventually breaks request/reply with temps. The duplex case was not acking advisory messages, so we were limited to 750! Also revisit association of producer created temp with connection as this can still get deleted before an advisory. Solution is to let gc pick up temps created in this way, https://issues.apache.org/jira/browse/AMQ-2571. Resolve contention on destination creation for producer/advisory race condition. Additional tests
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1239188 13f79535-47bb-0310-9956-ffa450edef68
2012-02-01 16:11:17 +00:00
Bosanac Dejan 91059de283 https://issues.apache.org/jira/browse/AMQ-3685 - fixing cluster update feature
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1239118 13f79535-47bb-0310-9956-ffa450edef68
2012-02-01 13:12:33 +00:00
Timothy A. Bish bc78238ad0 fix for: https://issues.apache.org/jira/browse/AMQ-3137
fix for: https://issues.apache.org/jira/browse/AMQ-2455
fix for: https://issues.apache.org/jira/browse/AMQ-3635

Adds reconnect logic and tests along with a policy class to allow for control over the reconnect process.
Reconnection of both local and foreign side of the JmsConnector is supported.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1238827 13f79535-47bb-0310-9956-ffa450edef68
2012-01-31 21:56:03 +00:00
Gary Tully d1357b4970 https://issues.apache.org/jira/browse/AMQ-3467 - fix auto upgrade from version 3 to version 4 of kahaDb, existing durable subs messages were lost, additional test
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1236905 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 22:02:13 +00:00
Bosanac Dejan 4d3af76ee6 https://issues.apache.org/jira/browse/AMQ-3685 - sanitize brokerUrl in BrokerInfo as it can break failover url when cluster update is used
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1236707 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 15:08:23 +00:00
Gary Tully 3b19c71935 https://issues.apache.org/jira/browse/AMQ-3573: fix up test
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1236666 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 12:59:47 +00:00
Gary Tully e901d2fd2e https://issues.apache.org/jira/browse/AMQ-3684 - Potential deadlock in vm transport setListener when sender is blocked pending space
Deal with the case of blocked producer

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1236664 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 12:53:09 +00:00
Gary Tully dcf1f5e0cc https://issues.apache.org/jira/browse/AMQ-3634 - ensure full recovery of the index, irrespective of the load failure reason, with additional tests. Shutdown the schedualler early to ensure no ugly errors from timer tasks during shutdown
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1236661 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 12:47:39 +00:00
Timothy A. Bish c4c9cf2e94 fix for: https://issues.apache.org/jira/browse/AMQ-3683
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1236414 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 22:18:59 +00:00
Bosanac Dejan 55fa377f2f https://issues.apache.org/jira/browse/AMQ-3682 - use jmxLocal for karaf commands by default
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1236227 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 15:10:57 +00:00
Bosanac Dejan a1e961d09c remove kahadb store dependency on activeio
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1235701 13f79535-47bb-0310-9956-ffa450edef68
2012-01-25 09:31:08 +00:00
Timothy A. Bish 4d480c9239 Add fix : https://issues.apache.org/jira/browse/AMQ-3674
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1235530 13f79535-47bb-0310-9956-ffa450edef68
2012-01-24 22:18:29 +00:00
Timothy A. Bish 5aa8b30c0f fix and test for: https://issues.apache.org/jira/browse/AMQ-3675
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1235481 13f79535-47bb-0310-9956-ffa450edef68
2012-01-24 20:37:06 +00:00
Timothy A. Bish eec1091c45 Add fix and test for: https://issues.apache.org/jira/browse/AMQ-3674
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1235341 13f79535-47bb-0310-9956-ffa450edef68
2012-01-24 16:38:03 +00:00
Timothy A. Bish 7b90f4178f additional fix for: https://issues.apache.org/jira/browse/AMQ-3573
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1235325 13f79535-47bb-0310-9956-ffa450edef68
2012-01-24 16:14:37 +00:00
Robert Davies dbc661fd9b Fix for https://issues.apache.org/jira/browse/AMQ-3573 -
changed defaults for SystemUsage to
50GB for temp usage, 100GB for store usage and 64mb for memory usage.
Added error and warning messages if the SysteMUsage limits cannot be met by the system

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1235261 13f79535-47bb-0310-9956-ffa450edef68
2012-01-24 14:22:58 +00:00
Timothy A. Bish 1d52f3b53c fix for: https://issues.apache.org/jira/browse/AMQ-3673
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1234981 13f79535-47bb-0310-9956-ffa450edef68
2012-01-23 20:46:50 +00:00
Torsten Mielke 82a093b479 AMQ-3665: updating logging config to write to target/activeemq-test.log
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1234783 13f79535-47bb-0310-9956-ffa450edef68
2012-01-23 13:30:19 +00:00
Torsten Mielke 00bee4ee13 AMQ-3665: Added JUnit test
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1234782 13f79535-47bb-0310-9956-ffa450edef68
2012-01-23 13:29:34 +00:00
Torsten Mielke 95355ae6e3 AMQ-3665: Moved code for creating VelocityContext into its own method createVelocityContext().
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1234781 13f79535-47bb-0310-9956-ffa450edef68
2012-01-23 13:28:42 +00:00
Torsten Mielke 4ddd9019c8 AMQ-3665: Turned on Velocity template caching to reduce memory footprint of AMQ store journal reader.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1234779 13f79535-47bb-0310-9956-ffa450edef68
2012-01-23 13:26:11 +00:00
Timothy A. Bish 999dc0df20 fix for: https://issues.apache.org/jira/browse/AMQ-3672
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1234010 13f79535-47bb-0310-9956-ffa450edef68
2012-01-20 17:12:54 +00:00
Bosanac Dejan e3a1fc9b35 https://issues.apache.org/jira/browse/AMQ-3670 - fix stomp nack support
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1233860 13f79535-47bb-0310-9956-ffa450edef68
2012-01-20 10:59:05 +00:00
Gary Tully 2fba95d26d https://issues.apache.org/jira/browse/AMQ-3667 - Use 1G heap by default and UseDedicatedTaskRunner=false, more production ready. done
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1233403 13f79535-47bb-0310-9956-ffa450edef68
2012-01-19 14:33:42 +00:00
Gary Tully e02dfdeaad move test to KahaDb and add simple validation of sendFailIfNoSpace and temp usage for non persistent messages. Producer stops on the exception, consumer picks up all the messages
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1233367 13f79535-47bb-0310-9956-ffa450edef68
2012-01-19 13:33:19 +00:00
Gary Tully eca00f9ab9 findbugs: fix infinite recursion - remove unused method
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1233366 13f79535-47bb-0310-9956-ffa450edef68
2012-01-19 13:32:53 +00:00
Gary Tully 7eb8f0fd73 findbugs: fix infinite recursion
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1233354 13f79535-47bb-0310-9956-ffa450edef68
2012-01-19 13:21:27 +00:00
Timothy A. Bish 5774d004f8 https://issues.apache.org/jira/browse/AMQ-3653
Fix the test so that there's time for the Ack to be processed before the connection is closed otherwise it can be missed.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1232457 13f79535-47bb-0310-9956-ffa450edef68
2012-01-17 16:14:16 +00:00