Commit Graph

5730 Commits

Author SHA1 Message Date
Gary Tully e32ff5c7f4 https://issues.apache.org/jira/browse/AMQ-3729 - Stomp wireformat and codec block on telnet CRLF CRLF header separator. fix up telnet support, additional test, impacts https://issues.apache.org/jira/browse/AMQ-2583 and https://issues.apache.org/jira/browse/AMQ-3449
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1291299 13f79535-47bb-0310-9956-ffa450edef68
2012-02-20 14:58:23 +00:00
Timothy A. Bish df19a382c9 fix for: https://issues.apache.org/jira/browse/AMQ-2834
Adds some checks on store limit vs journal max file size similar to the Temp Store limit checks

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1245777 13f79535-47bb-0310-9956-ffa450edef68
2012-02-17 21:50:45 +00:00
Timothy A. Bish 3a561cc8c7 fix for: https://issues.apache.org/jira/browse/AMQ-3248
Adds new variables for activemq.conf and activemq.data to allow for easy externalization of configuration and data files.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1245654 13f79535-47bb-0310-9956-ffa450edef68
2012-02-17 16:57:35 +00:00
Gary Tully 9f0a673e36 order is not guarenteed with multiple consumers, just validate quantity
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1245408 13f79535-47bb-0310-9956-ffa450edef68
2012-02-17 11:37:12 +00:00
Timothy A. Bish 896de22bf7 apply patch for: https://issues.apache.org/jira/browse/AMQ-3722
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1244993 13f79535-47bb-0310-9956-ffa450edef68
2012-02-16 14:22:33 +00:00
Gary Tully 49dd85c5e7 reduce default number of restarts and down time to reduce duration
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1244976 13f79535-47bb-0310-9956-ffa450edef68
2012-02-16 13:53:32 +00:00
Gary Tully cc7ea7f31f reduce test duration from crazy 30 minutes, validate temp store being used
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1244974 13f79535-47bb-0310-9956-ffa450edef68
2012-02-16 13:40:47 +00:00
Timothy A. Bish 08ae7770bb fix: https://issues.apache.org/jira/browse/AMQ-3721
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1244809 13f79535-47bb-0310-9956-ffa450edef68
2012-02-16 00:40:55 +00:00
Timothy A. Bish 97ae32388c fix for: https://issues.apache.org/jira/browse/AMQ-3714 lazy init the Scheduler object in ActiveMQConnection.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1244796 13f79535-47bb-0310-9956-ffa450edef68
2012-02-16 00:02:15 +00:00
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