Commit Graph

5871 Commits

Author SHA1 Message Date
Gary Tully 98b7dcdd1d fix intermittent failure, consume messages from all destinations, sorts out the composite case so that there are no dangling messages
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1244443 13f79535-47bb-0310-9956-ffa450edef68
2012-02-15 11:21:43 +00:00
Timothy A. Bish 1638801522 Add an initial port of ConcurrentProducerDurableConsumerTest to performance test Queue dispatch.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1244290 13f79535-47bb-0310-9956-ffa450edef68
2012-02-15 00:29:39 +00:00
Timothy A. Bish a3060e79d9 https://issues.apache.org/jira/browse/AMQ-3706
Don't send a URI to the client that equals "null" when the BrokerInfo has no set Broker URI, that sends the failover transport into an infinite reconnect cycle.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1244221 13f79535-47bb-0310-9956-ffa450edef68
2012-02-14 21:36:04 +00:00
Gary Tully 8bff980ec2 remove typo ref to backport timeunit - https://issues.apache.org/jira/browse/AMQ-3684
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1244117 13f79535-47bb-0310-9956-ffa450edef68
2012-02-14 16:38:08 +00:00
Gary Tully 2a87ad5b3e https://issues.apache.org/jira/browse/AMQ-3716: NetworkBridge with conduitSubscriptions=true will leak consumer info in org.apache.activemq.network.DemandForwardingBridgeSupport#subscriptionMapByRemoteId map. fix with test
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1244116 13f79535-47bb-0310-9956-ffa450edef68
2012-02-14 16:37:29 +00:00
Timothy A. Bish 456005bf13 Mark this as @Deprecated as its not used anymore in AMQ and should be removed.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1243716 13f79535-47bb-0310-9956-ffa450edef68
2012-02-13 22:12:11 +00:00
Timothy A. Bish ad585dc4b0 Refactoed the VMTransport for: https://issues.apache.org/jira/browse/AMQ-3684
Adds a test for basic functionality tests on the VMTransport.  

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1243706 13f79535-47bb-0310-9956-ffa450edef68
2012-02-13 21:56:50 +00:00
Timothy A. Bish 73a30f6991 apply updated fix for: https://issues.apache.org/jira/browse/AMQ-3715
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1243697 13f79535-47bb-0310-9956-ffa450edef68
2012-02-13 21:14:31 +00:00
Timothy A. Bish de08e4b56c apply fix for: https://issues.apache.org/jira/browse/AMQ-3715
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1243652 13f79535-47bb-0310-9956-ffa450edef68
2012-02-13 18:51:18 +00:00
Gary Tully ace122aede ensure test failure does not block build
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1243485 13f79535-47bb-0310-9956-ffa450edef68
2012-02-13 11:53:28 +00:00
Gary Tully 9a22fe586d ensure frames are null terminated
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1243484 13f79535-47bb-0310-9956-ffa450edef68
2012-02-13 11:52:11 +00:00
Gary Tully 5a74d56cc1 https://issues.apache.org/jira/browse/AMQ-3684 - revert initialisation order, thread can be eager and needs complete state so it must be inited last
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1243334 13f79535-47bb-0310-9956-ffa450edef68
2012-02-12 21:09:12 +00:00
Gary Tully bc8441bebc https://issues.apache.org/jira/browse/AMQ-3684 - resolve deadlock on blocked oneway, revise sync and lazy init, remove use of valve
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1242912 13f79535-47bb-0310-9956-ffa450edef68
2012-02-10 20:19:44 +00:00
Gary Tully 93a379fe3c https://issues.apache.org/jira/browse/AMQ-3653 - tidy up stomptest and resolve content length for stomp+nio, resolve break of stompnio and stompniossl tests
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1242911 13f79535-47bb-0310-9956-ffa450edef68
2012-02-10 20:18:50 +00:00
Timothy A. Bish 33f9f2968b fix for: https://issues.apache.org/jira/browse/AMQ-1899
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1242793 13f79535-47bb-0310-9956-ffa450edef68
2012-02-10 14:41:44 +00:00
Bosanac Dejan beda82ad5a https://issues.apache.org/jira/browse/AMQ-3706 - balance randomize with cluster update
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1242748 13f79535-47bb-0310-9956-ffa450edef68
2012-02-10 11:48:56 +00:00
Timothy A. Bish 2cb8ed221b add test case from: https://issues.apache.org/jira/browse/AMQ-3359
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1242386 13f79535-47bb-0310-9956-ffa450edef68
2012-02-09 16:36:48 +00:00
Timothy A. Bish 292ff42963 apply patch for https://issues.apache.org/jira/browse/AMQ-3709 also updates the copyright year.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1242168 13f79535-47bb-0310-9956-ffa450edef68
2012-02-08 23:11:08 +00:00
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