Commit Graph

299 Commits

Author SHA1 Message Date
Gary Tully a95c6dba1b https://issues.apache.org/jira/browse/AMQ-4607 - add network connector consumerTTL and messageTTL - split effect of networkTTL - allows a message many hops in a mesh while consumer demand is not repeatildy replicated. Rollback cursor aduit on forward so a message can be redispatched on redelivery. Additional test to verify multiple hops back to origin. Allow infinite ttl or hops with -1 https://issues.apache.org/jira/browse/AMQ-2180.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1497716 13f79535-47bb-0310-9956-ffa450edef68
2013-06-28 10:32:40 +00:00
Bosanac Dejan e3fb8be2ba https://issues.apache.org/jira/browse/AMQ-4598 - negative queue size after purge
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1496430 13f79535-47bb-0310-9956-ffa450edef68
2013-06-25 11:48:35 +00:00
Timothy A. Bish 97502bd61e Fix and updated test for: https://issues.apache.org/jira/browse/AMQ-3405
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1493958 13f79535-47bb-0310-9956-ffa450edef68
2013-06-17 22:25:39 +00:00
Timothy A. Bish 6e5f231a8a fix and test for: https://issues.apache.org/jira/browse/AMQ-4584
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1493950 13f79535-47bb-0310-9956-ffa450edef68
2013-06-17 21:36:33 +00:00
Timothy A. Bish 8ab1934520 update clean plugin settings to remove more test stores.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1492874 13f79535-47bb-0310-9956-ffa450edef68
2013-06-13 21:25:58 +00:00
Timothy A. Bish 0168a826f7 fix and test for: https://issues.apache.org/jira/browse/AMQ-4581
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1492214 13f79535-47bb-0310-9956-ffa450edef68
2013-06-12 14:18:51 +00:00
Timothy A. Bish b8518e0b91 fix test to account for changes in how we carry along the textview of JMSMessageID
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1490466 13f79535-47bb-0310-9956-ffa450edef68
2013-06-06 22:41:28 +00:00
Timothy A. Bish 7a11f59505 fix for: https://issues.apache.org/jira/browse/AMQ-4337
Adds basic TX support for Messages that are to be scheduled. 

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1490454 13f79535-47bb-0310-9956-ffa450edef68
2013-06-06 21:47:24 +00:00
Timothy A. Bish ddbe83ac19 remove override so it builds on 1.6 as well as 1.7 java
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1490395 13f79535-47bb-0310-9956-ffa450edef68
2013-06-06 19:00:41 +00:00
Timothy A. Bish 539a5f162e fix and test for: https://issues.apache.org/jira/browse/AMQ-4575
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1490343 13f79535-47bb-0310-9956-ffa450edef68
2013-06-06 16:32:15 +00:00
Timothy A. Bish d97f28c490 fix for: https://issues.apache.org/jira/browse/AMQ-4487 and https://issues.apache.org/jira/browse/AMQ-4372
Additional testing and updates. 

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1490032 13f79535-47bb-0310-9956-ffa450edef68
2013-06-05 21:06:39 +00:00
Timothy A. Bish 05796e7600 Use the right Logger type.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1490015 13f79535-47bb-0310-9956-ffa450edef68
2013-06-05 19:58:40 +00:00
Timothy A. Bish 6ea8438071 Test fix, don't produce a StackOverflowException
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1489997 13f79535-47bb-0310-9956-ffa450edef68
2013-06-05 18:41:58 +00:00
Timothy A. Bish 01cda8582a Fix test failure after recent MessageId changes.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1489994 13f79535-47bb-0310-9956-ffa450edef68
2013-06-05 18:29:35 +00:00
Timothy A. Bish 1f5694ed60 fix for: https://issues.apache.org/jira/browse/AMQ-4487 and https://issues.apache.org/jira/browse/AMQ-4372
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1489978 13f79535-47bb-0310-9956-ffa450edef68
2013-06-05 17:34:50 +00:00
Torsten Mielke 767a59dfc4 AMQ-4571: JUnit test added with broker configuration
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1489880 13f79535-47bb-0310-9956-ffa450edef68
2013-06-05 14:03:40 +00:00
Torsten Mielke 6e57f3a346 AMQ-4571: JUnit test added
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1489823 13f79535-47bb-0310-9956-ffa450edef68
2013-06-05 11:51:41 +00:00
Timothy A. Bish 368dc8f26a Fix MessageId copy, wasn't copying the new textView field. Fixes failing test.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1489618 13f79535-47bb-0310-9956-ffa450edef68
2013-06-04 21:24:59 +00:00
Timothy A. Bish b8a7e9990b some fixes for: https://issues.apache.org/jira/browse/AMQ-4487
Add test case to demonstrate the issue with audit depth and QueueBrowsers.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1489468 13f79535-47bb-0310-9956-ffa450edef68
2013-06-04 15:21:12 +00:00
Christian Posta 0e1431e9ae wrote a test to answer question on mailing list consumer propogation for virtual topics across a network of two brokers
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1489280 13f79535-47bb-0310-9956-ffa450edef68
2013-06-04 03:19:05 +00:00
Timothy A. Bish 0c08d62fa3 fix test to reflect recent changes in how Topic statistics are updated.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1487653 13f79535-47bb-0310-9956-ffa450edef68
2013-05-29 22:06:48 +00:00
Timothy A. Bish 646d0234d7 Fix test case, an additional log file is retained now that we are more careful about tracking acks that are needed for recovery from the journal.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1487636 13f79535-47bb-0310-9956-ffa450edef68
2013-05-29 20:43:11 +00:00
Timothy A. Bish 067660ce88 fix and test for: https://issues.apache.org/jira/browse/AMQ-4542
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1487018 13f79535-47bb-0310-9956-ffa450edef68
2013-05-28 17:43:07 +00:00
Bosanac Dejan 9490793f2c https://issues.apache.org/jira/browse/AMQ-4461 - priority backup should not be restricted by the pool size
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1486869 13f79535-47bb-0310-9956-ffa450edef68
2013-05-28 11:17:17 +00:00
Timothy A. Bish 3ff2d9294c fix and test for: https://issues.apache.org/jira/browse/AMQ-4554
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1486225 13f79535-47bb-0310-9956-ffa450edef68
2013-05-24 21:38:04 +00:00
Timothy A. Bish 02a58c2a34 fixes for: https://issues.apache.org/jira/browse/AMQ-4555
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1486063 13f79535-47bb-0310-9956-ffa450edef68
2013-05-24 14:10:23 +00:00
Timothy A. Bish 48b404869f since https://issues.apache.org/jira/browse/AMQ-4495 always pulls in maxPageSize messages and allows for exceeding the MemoryLimit we must adjust the test case to account for that.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1485383 13f79535-47bb-0310-9956-ffa450edef68
2013-05-22 20:00:46 +00:00
Timothy A. Bish 649876b931 fix broken test after: https://issues.apache.org/jira/browse/AMQ-4516
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1485262 13f79535-47bb-0310-9956-ffa450edef68
2013-05-22 15:54:13 +00:00
Bosanac Dejan a259537d65 https://issues.apache.org/jira/browse/AMQ-4485 - adding LevelDB variant of NegativeQueueTest
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1484484 13f79535-47bb-0310-9956-ffa450edef68
2013-05-20 14:09:59 +00:00
Hiram R. Chirino 665c3ab33b Added a leveldb version of the queue browsing test.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1484319 13f79535-47bb-0310-9956-ffa450edef68
2013-05-19 17:20:38 +00:00
Hiram R. Chirino e168b3cd6e No need to send MQTT debugging to console anymore.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1484318 13f79535-47bb-0310-9956-ffa450edef68
2013-05-19 17:20:30 +00:00
Hiram R. Chirino 5e13c20707 Fixes failing AMQ2902 test.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1484306 13f79535-47bb-0310-9956-ffa450edef68
2013-05-19 16:32:51 +00:00
Hiram R. Chirino 4aac5a6bf3 Fixes AMQ-4544: Cant send MQTT message to AMQP endpoints
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1484143 13f79535-47bb-0310-9956-ffa450edef68
2013-05-18 16:39:35 +00:00
Hiram R. Chirino 2621463a28 Fixes deprecation warning.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1484141 13f79535-47bb-0310-9956-ffa450edef68
2013-05-18 16:39:10 +00:00
Hiram R. Chirino be7cef6438 AMQ2584Test was failing on linux due to kahadb taking too long to complete. Scaled the test back a bit
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1483963 13f79535-47bb-0310-9956-ffa450edef68
2013-05-17 19:54:09 +00:00
Bosanac Dejan 620523a597 https://issues.apache.org/jira/browse/AMQ-4000 - initial implementation of keeping track of durable subscribers over network and unregister them appropriately
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1483827 13f79535-47bb-0310-9956-ffa450edef68
2013-05-17 14:27:48 +00:00
Hiram R. Chirino d43d08aa1c Give the leveldb 3 broker virt topic network test a more appropriate file name. Also add a single broker test for leveldb.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1483809 13f79535-47bb-0310-9956-ffa450edef68
2013-05-17 14:04:00 +00:00
Gary Tully 6f124c16f7 https://issues.apache.org/jira/browse/AMQ-4539 - add JMSActiveMQBrokerPath string property and brokerPath attribute via jmx message view, the list length is the current number of network hops
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1483600 13f79535-47bb-0310-9956-ffa450edef68
2013-05-16 23:03:17 +00:00
Hiram R. Chirino ef6df68831 Fixes issue in AMQ-4296: Implement a pure LevelDB test for the StoreQueueCursorNoDuplicateTest and fix the bug that was causing it to fail.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1483582 13f79535-47bb-0310-9956-ffa450edef68
2013-05-16 21:50:25 +00:00
Hiram R. Chirino 7071102b13 Fix for AMQ-4296 : add a LevelDB test for the AMQ2149TEst
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1483538 13f79535-47bb-0310-9956-ffa450edef68
2013-05-16 19:58:23 +00:00
Timothy A. Bish 66c8f9c4b8 Add missing license header
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1483115 13f79535-47bb-0310-9956-ffa450edef68
2013-05-15 22:45:44 +00:00
Timothy A. Bish f46b184f6c fix and test for: https://issues.apache.org/jira/browse/AMQ-4413
For durable subscriptions the PrefetchSubscription can't drop messages in dispatchPending otherwise they are never added back into the pending cursor. 

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1483111 13f79535-47bb-0310-9956-ffa450edef68
2013-05-15 22:22:39 +00:00
Bosanac Dejan e06685fe81 https://issues.apache.org/jira/browse/AMQ-4000 - as part of this feature we need to properly send advisories when durable sub unregisters
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1482790 13f79535-47bb-0310-9956-ffa450edef68
2013-05-15 12:31:09 +00:00
Gary Tully 58b9a83fe8 https://issues.apache.org/jira/browse/AMQ-4532 - fix and test - ensure disposed exception is propagated to clients on vm server shutdown
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1482117 13f79535-47bb-0310-9956-ffa450edef68
2013-05-13 21:43:39 +00:00
Timothy A. Bish e731c39af7 ix and test for: https://issues.apache.org/jira/browse/AMQ-4531
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1481984 13f79535-47bb-0310-9956-ffa450edef68
2013-05-13 17:45:18 +00:00
Timothy A. Bish 2bd0e5703e apply fix and patch for: https://issues.apache.org/jira/browse/AMQ-4530
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1481930 13f79535-47bb-0310-9956-ffa450edef68
2013-05-13 15:36:03 +00:00
Timothy A. Bish 540b1c6a89 fix for: https://issues.apache.org/jira/browse/AMQ-4518
Allow purge to disable message expiration check when paging in Messages to be purged.  Avoids attempts at sending messages to a DLQ during a purge operation and in firing advisory messages for expired messages which are being thrown out by request. 

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1480731 13f79535-47bb-0310-9956-ffa450edef68
2013-05-09 17:50:26 +00:00
Bosanac Dejan fc8c8d339e https://issues.apache.org/jira/browse/AMQ-4522 - set timeToLive when sending a message using JMX
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1480189 13f79535-47bb-0310-9956-ffa450edef68
2013-05-08 09:15:17 +00:00
Timothy A. Bish 0bb9013769 Fix for: https://issues.apache.org/jira/browse/AMQ-4517
Don't send MessageDLQd advisory for Message that aren't sent to a DLQ

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1480087 13f79535-47bb-0310-9956-ffa450edef68
2013-05-07 21:17:34 +00:00
Timothy A. Bish d7aaca5034 Fix and test for: https://issues.apache.org/jira/browse/AMQ-4513
Makes the locking in RegionBroker a bit more fine grained.  We hold a lock only for a short time and allow destination adds that aren't on the same destination to continue on concurrently.  

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1479963 13f79535-47bb-0310-9956-ffa450edef68
2013-05-07 16:13:18 +00:00
Christian Posta 866440dfb2 Fix for https://issues.apache.org/jira/browse/AMQ-4516 - Don't decrement topic enqueues when messages are expired
Removed the call to decrement the counters, and added unit test

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1479925 13f79535-47bb-0310-9956-ffa450edef68
2013-05-07 14:39:25 +00:00
Gary Tully bf071376b5 https://issues.apache.org/jira/browse/AMQ-3097 - apply patch with some additional unit test, with thanks
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1478973 13f79535-47bb-0310-9956-ffa450edef68
2013-05-03 20:43:59 +00:00
Timothy A. Bish 3a8eb74a9f Fix and test for: https://issues.apache.org/jira/browse/AMQ-4505
When a broker was stopping it was sending out a cluster update after tearing down its bridges so any client connected to it would lose its awareness of other brokers in the cluster. 

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1478835 13f79535-47bb-0310-9956-ffa450edef68
2013-05-03 15:21:25 +00:00
Bosanac Dejan 7450a32ae7 https://issues.apache.org/jira/browse/AMQ-4495 - always get a max batch of messages from the store
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1478823 13f79535-47bb-0310-9956-ffa450edef68
2013-05-03 14:50:56 +00:00
Timothy A. Bish b9cc24bdb6 Swap expected and actual so that they match the intent of the assertion, otherwise the error message is misleading.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1478395 13f79535-47bb-0310-9956-ffa450edef68
2013-05-02 14:53:52 +00:00
Christian Posta 2a1bc72c0c test to help debug hawtio not being able to browse DLQ...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1478266 13f79535-47bb-0310-9956-ffa450edef68
2013-05-02 04:33:10 +00:00
Timothy A. Bish e777126d30 fix for: https://issues.apache.org/jira/browse/AMQ-4501
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1478184 13f79535-47bb-0310-9956-ffa450edef68
2013-05-01 20:53:51 +00:00
Gary Tully 4742c7d86f https://issues.apache.org/jira/browse/AMQ-4504 - ensure all dests in a composite get a chance to dispatch to a consumer after an ack
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1478183 13f79535-47bb-0310-9956-ffa450edef68
2013-05-01 20:49:08 +00:00
Timothy A. Bish d52e5910a5 apply patch: https://issues.apache.org/jira/browse/AMQ-4500
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1477830 13f79535-47bb-0310-9956-ffa450edef68
2013-04-30 21:12:28 +00:00
Bosanac Dejan 5cbb4bfc12 https://issues.apache.org/jira/browse/AMQ-4467 - cursor memory usage when pfc is off
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1477574 13f79535-47bb-0310-9956-ffa450edef68
2013-04-30 11:44:03 +00:00
Gary Tully 66e8011e9e https://issues.apache.org/jira/browse/AMQ-4485 - ensure cursor updates in same order as store orderindex via beforeCompletion with index lock. The before completion tracks ordered work that first thread completes as a unit. All updates to a destination are combined to a single sync, such that there is no cursor contention between transactions
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1475734 13f79535-47bb-0310-9956-ffa450edef68
2013-04-25 12:47:20 +00:00
Hiram R. Chirino 163ad5d4a9 Fix for AMQ4472: We can eagerly close a txed consumer if it has not delivered any messages.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1471673 13f79535-47bb-0310-9956-ffa450edef68
2013-04-24 21:01:24 +00:00
Gary Tully 705b3c5f9d https://issues.apache.org/jira/browse/AMQ-4472 - test case that shows the problem with prefetched messages and delayed close till commit
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1470459 13f79535-47bb-0310-9956-ffa450edef68
2013-04-22 11:29:48 +00:00
Timothy A. Bish 7e53814928 Fix and test for: https://issues.apache.org/jira/browse/AMQ-4475
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1469013 13f79535-47bb-0310-9956-ffa450edef68
2013-04-17 18:07:24 +00:00
Timothy A. Bish 3bf9d0cceb fix for: https://issues.apache.org/jira/browse/AMQ-4212
fix for: https://issues.apache.org/jira/browse/AMQ-2832

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1468171 13f79535-47bb-0310-9956-ffa450edef68
2013-04-15 18:08:15 +00:00
Timothy A. Bish 3f9b6ed391 fix and test for: https://issues.apache.org/jira/browse/AMQ-4469
Rewrote the unit test as a JUnit 4 test and remove hard coded 61616 port dep. 

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1467510 13f79535-47bb-0310-9956-ffa450edef68
2013-04-12 23:02:48 +00:00
Timothy A. Bish 2aba7845db AMQ-4212 Add KahaDB v4 data for use in testing the upgrade to v5 that this issue requires.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1467377 13f79535-47bb-0310-9956-ffa450edef68
2013-04-12 17:42:18 +00:00
Bosanac Dejan 15affd0755 https://issues.apache.org/jira/browse/AMQ-3706 - improve rebalance distribution which is more apparent when only two brokers are involved
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1467241 13f79535-47bb-0310-9956-ffa450edef68
2013-04-12 11:52:15 +00:00
Timothy A. Bish c7308a1183 Add a KahaDB trace entry for reference.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1467106 13f79535-47bb-0310-9956-ffa450edef68
2013-04-11 21:45:16 +00:00
Timothy A. Bish 2aff82c47a fix and test for: https://issues.apache.org/jira/browse/AMQ-4464
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1466131 13f79535-47bb-0310-9956-ffa450edef68
2013-04-09 17:05:21 +00:00
Timothy A. Bish a80c711d78 fix for: https://issues.apache.org/jira/browse/AMQ-4463
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1465814 13f79535-47bb-0310-9956-ffa450edef68
2013-04-08 22:34:04 +00:00
Bosanac Dejan 585a966a9b https://issues.apache.org/jira/browse/AMQ-4461 - priority backup with multiple brokers
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1465683 13f79535-47bb-0310-9956-ffa450edef68
2013-04-08 16:58:21 +00:00
Timothy A. Bish 0054941a53 fix and test for: https://issues.apache.org/jira/browse/AMQ-4356
The actual Durable subscription wasn't getting removed from the Store so on restart they were recovered.  

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1464729 13f79535-47bb-0310-9956-ffa450edef68
2013-04-04 20:30:00 +00:00
Timothy A. Bish 1b38caacf4 fix junit warnings. https://issues.apache.org/jira/browse/AMQ-4437
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1464584 13f79535-47bb-0310-9956-ffa450edef68
2013-04-04 15:00:05 +00:00
Timothy A. Bish 8e388b86d6 fix and test for: https://issues.apache.org/jira/browse/AMQ-4361
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1464165 13f79535-47bb-0310-9956-ffa450edef68
2013-04-03 19:22:16 +00:00
Timothy A. Bish 14b91d41b5 patch some test code: https://issues.apache.org/jira/browse/AMQ-4296
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1462346 13f79535-47bb-0310-9956-ffa450edef68
2013-03-28 23:12:48 +00:00
Timothy A. Bish f7f294f059 test code updates to address: https://issues.apache.org/jira/browse/AMQ-4415
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1462252 13f79535-47bb-0310-9956-ffa450edef68
2013-03-28 18:42:40 +00:00
Timothy A. Bish b52c371cd9 fix for: https://issues.apache.org/jira/browse/AMQ-4364
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1462210 13f79535-47bb-0310-9956-ffa450edef68
2013-03-28 16:36:57 +00:00
Gary Tully ed6c472601 https://issues.apache.org/jira/browse/AMQ-4407 - thanks for the test, to fix we need to ensure a persistence adapter is started, b/c it is stopped when the last dest is removed
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1461528 13f79535-47bb-0310-9956-ffa450edef68
2013-03-27 11:22:58 +00:00
Gary Tully 78bedd605a https://issues.apache.org/jira/browse/AMQ-4408 - fix and test
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1461362 13f79535-47bb-0310-9956-ffa450edef68
2013-03-26 22:56:16 +00:00
Christian Posta bcb768c14d Updated to take into account scenario from mailing list where durable sub would connect.reconnect every second message
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1461153 13f79535-47bb-0310-9956-ffa450edef68
2013-03-26 14:30:36 +00:00
Timothy A. Bish 6cdf756e91 fix for: https://issues.apache.org/jira/browse/AMQ-4389
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1458514 13f79535-47bb-0310-9956-ffa450edef68
2013-03-19 21:02:24 +00:00
Timothy A. Bish 84eab9b5bb fix for: https://issues.apache.org/jira/browse/AMQ-4388
fix for: https://issues.apache.org/jira/browse/AMQ-4387

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1458015 13f79535-47bb-0310-9956-ffa450edef68
2013-03-18 21:29:30 +00:00
Timothy A. Bish 1d9b347157 fix for: https://issues.apache.org/jira/browse/AMQ-4386
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1457996 13f79535-47bb-0310-9956-ffa450edef68
2013-03-18 21:07:51 +00:00
Timothy A. Bish 4cbfbbb10c fix for: https://issues.apache.org/jira/browse/AMQ-4385
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1457943 13f79535-47bb-0310-9956-ffa450edef68
2013-03-18 19:53:39 +00:00
Timothy A. Bish 95f17c2040 fix for: https://issues.apache.org/jira/browse/AMQ-4384
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1457917 13f79535-47bb-0310-9956-ffa450edef68
2013-03-18 18:52:32 +00:00
Timothy A. Bish f87f56294d fix and test for: https://issues.apache.org/jira/browse/AMQ-4373
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1456485 13f79535-47bb-0310-9956-ffa450edef68
2013-03-14 15:38:01 +00:00
Hiram R. Chirino 4c5197711a Fixes AMQ4368. Make sure we don't try to GC the database midway through a store operation.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1455661 13f79535-47bb-0310-9956-ffa450edef68
2013-03-12 18:22:59 +00:00
Hiram R. Chirino 846cf7df3f Added at test case and fix for AMQ-4351.
Avoids deadlock by not holding on to the pending and dispatch locks when we try to detach a durable sub from a topic.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1455290 13f79535-47bb-0310-9956-ffa450edef68
2013-03-11 19:18:23 +00:00
Gary Tully 885b8c9775 fix up tck violation on xasession interface after close expectations
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1454422 13f79535-47bb-0310-9956-ffa450edef68
2013-03-08 15:22:17 +00:00
Gary Tully c6c3b2351a https://issues.apache.org/jira/browse/AMQ-4364 - relevant test that works ok
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1454333 13f79535-47bb-0310-9956-ffa450edef68
2013-03-08 11:57:20 +00:00
Gary Tully fc15f130d1 https://issues.apache.org/jira/browse/AMQ-4362 - Broker-based redelivery plugin - support for maximumRedeliveries="-1"
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1454330 13f79535-47bb-0310-9956-ffa450edef68
2013-03-08 11:43:46 +00:00
Timothy A. Bish 2d46399ff3 fix for: https://issues.apache.org/jira/browse/AMQ-4363
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1453964 13f79535-47bb-0310-9956-ffa450edef68
2013-03-07 17:12:51 +00:00
Bosanac Dejan 5bc37afb3b test for some mbean queries
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1453871 13f79535-47bb-0310-9956-ffa450edef68
2013-03-07 13:55:39 +00:00
Timothy A. Bish c46c040122 Don't use hard coded port for the Broker.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1452371 13f79535-47bb-0310-9956-ffa450edef68
2013-03-04 16:27:03 +00:00
Timothy A. Bish d8aca93328 apply patch for: https://issues.apache.org/jira/browse/AMQ-4355
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1451608 13f79535-47bb-0310-9956-ffa450edef68
2013-03-01 14:55:20 +00:00
Gary Tully aa88843e72 fix pom exclusion for failing test
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1450243 13f79535-47bb-0310-9956-ffa450edef68
2013-02-26 16:05:07 +00:00
Gary Tully 4d9f7080d4 ensure test can find basedir
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1450226 13f79535-47bb-0310-9956-ffa450edef68
2013-02-26 15:40:53 +00:00
Timothy A. Bish 7e61d56ca2 fix for: https://issues.apache.org/jira/browse/AMQ-4345
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1449904 13f79535-47bb-0310-9956-ffa450edef68
2013-02-25 21:18:07 +00:00
Timothy A. Bish 8b3761c575 fix for: https://issues.apache.org/jira/browse/AMQ-4319
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1449797 13f79535-47bb-0310-9956-ffa450edef68
2013-02-25 18:24:20 +00:00
Gary Tully 74bccd57c6 some more sanity to this renew test, https://issues.apache.org/jira/browse/AMQ-4122
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1449184 13f79535-47bb-0310-9956-ffa450edef68
2013-02-22 19:51:04 +00:00
Timothy A. Bish 7a0b32b82b apply patch for: https://issues.apache.org/jira/browse/AMQ-4342
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1449157 13f79535-47bb-0310-9956-ffa450edef68
2013-02-22 18:25:13 +00:00
Gary Tully bebffd0e8f https://issues.apache.org/jira/browse/AMQ-4333 - fix and ensure existing test is executed
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1449080 13f79535-47bb-0310-9956-ffa450edef68
2013-02-22 15:47:36 +00:00
Timothy A. Bish d75e418c3d https://issues.apache.org/jira/browse/AMQ-4330
Merge back the isSlave() JMS API. 

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1449077 13f79535-47bb-0310-9956-ffa450edef68
2013-02-22 15:32:26 +00:00
Timothy A. Bish 6bf22224dd applied patch for: https://issues.apache.org/jira/browse/AMQ-4332
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1448299 13f79535-47bb-0310-9956-ffa450edef68
2013-02-20 17:04:40 +00:00
Gary Tully def8c77c07 Revert "Fix for https://issues.apache.org/jira/browse/AMQ-4000 Durable subscription not getting unregistered on networked broker, thanks torsten for the unit test!"
added DurableSubInBrokerNetworkTest to broken test profile till we get this resolved.

This reverts commit b7c32d924a.

Conflicts:
	activemq-unit-tests/src/test/java/org/apache/activemq/usecases/DurableSubInBrokerNetworkTest.java

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1448161 13f79535-47bb-0310-9956-ffa450edef68
2013-02-20 13:33:36 +00:00
Gary Tully 5b5a818f4d more exclusions - https://issues.apache.org/jira/browse/AMQ-4296
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1447725 13f79535-47bb-0310-9956-ffa450edef68
2013-02-19 14:13:49 +00:00
Gary Tully f4bed15738 https://issues.apache.org/jira/browse/AMQ-4328 - regression in AMQ3274Test, need to sync demand sub creation on async vm transport
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1447715 13f79535-47bb-0310-9956-ffa450edef68
2013-02-19 13:33:20 +00:00
Gary Tully 97655400e9 another leveldb scenario needing work - https://issues.apache.org/jira/browse/AMQ-4296
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1447701 13f79535-47bb-0310-9956-ffa450edef68
2013-02-19 12:50:29 +00:00
Gary Tully 548e52cde4 another leveldb scenario that needs some investigation, but use case seems dubious - https://issues.apache.org/jira/browse/AMQ-4296
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1447700 13f79535-47bb-0310-9956-ffa450edef68
2013-02-19 12:50:08 +00:00
Timothy A. Bish 3699e70433 fix for: https://issues.apache.org/jira/browse/AMQ-4331
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1447512 13f79535-47bb-0310-9956-ffa450edef68
2013-02-18 21:47:53 +00:00
Gary Tully f08a178c1d https://issues.apache.org/jira/browse/AMQ-4328 - fix and test. With a large backlog the flow can block when the vm transport is sync b/c the async requests can overlap with acks
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1447323 13f79535-47bb-0310-9956-ffa450edef68
2013-02-18 15:27:26 +00:00
Christian Posta 83b8df6574 Fix for https://issues.apache.org/jira/browse/AMQ-4000 Added test for multiple durable consumers across the network, per Gary's comments
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1446979 13f79535-47bb-0310-9956-ffa450edef68
2013-02-17 00:05:41 +00:00
Gary Tully 65bc9f3eaf https://issues.apache.org/jira/browse/AMQ-4323 - fix nd test
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1446577 13f79535-47bb-0310-9956-ffa450edef68
2013-02-15 13:33:01 +00:00
Christian Posta b7c32d924a Fix for https://issues.apache.org/jira/browse/AMQ-4000 Durable subscription not getting unregistered on networked broker, thanks torsten for the unit test!
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1446447 13f79535-47bb-0310-9956-ffa450edef68
2013-02-15 05:22:08 +00:00
Timothy A. Bish 7809e8067e fix and test for: https://issues.apache.org/jira/browse/AMQ-4321
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1446348 13f79535-47bb-0310-9956-ffa450edef68
2013-02-14 21:42:16 +00:00
Christian Posta aa32dbde83 Added a test that shows using virtual topics in a network of brokers to resolve some of the pain that comes up with durable subscriptions across a network. This test demonstrates the use of Virtual Topics and ConditionalNetworkBridgeFilterFactory with replayWhenNoConsumers=true
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1445772 13f79535-47bb-0310-9956-ffa450edef68
2013-02-13 17:58:30 +00:00
Timothy A. Bish 48effa8d2d https://issues.apache.org/jira/browse/AMQ-4296
turn the failing tests back on.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1445704 13f79535-47bb-0310-9956-ffa450edef68
2013-02-13 16:11:07 +00:00
Hiram R. Chirino b2fca26213 Remove deprecated modules. Converted many AMQ store tests to be LevelDB tests.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1445633 13f79535-47bb-0310-9956-ffa450edef68
2013-02-13 14:47:40 +00:00
Timothy A. Bish 2a64e88bd0 apply patch for: https://issues.apache.org/jira/browse/AMQ-4312
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1445436 13f79535-47bb-0310-9956-ffa450edef68
2013-02-13 00:39:57 +00:00
Christian Posta 571d452053 https://issues.apache.org/jira/browse/AMQ-4298 Add mutual authentication (needClientAuth) to https transport added tests as well
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1445299 13f79535-47bb-0310-9956-ffa450edef68
2013-02-12 18:27:53 +00:00
Bosanac Dejan 386b7bb844 improving building maven site
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1444071 13f79535-47bb-0310-9956-ffa450edef68
2013-02-08 15:30:53 +00:00
Timothy A. Bish 4743a20be3 Fix a bunch of warnings covering deprecated asserts and such.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1443600 13f79535-47bb-0310-9956-ffa450edef68
2013-02-07 16:43:15 +00:00
Timothy A. Bish c7d559fbcd Fix a bunch of warnings covering deprecated asserts and such.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1443267 13f79535-47bb-0310-9956-ffa450edef68
2013-02-06 22:56:12 +00:00
Timothy A. Bish 88b80e28ba Don't use a fixed port.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1443038 13f79535-47bb-0310-9956-ffa450edef68
2013-02-06 16:16:20 +00:00
Gary Tully 56174e770d [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1443026 13f79535-47bb-0310-9956-ffa450edef68
2013-02-06 15:45:26 +00:00
Gary Tully 5e257808f3 [maven-release-plugin] prepare release activemq-5.8.0
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1443024 13f79535-47bb-0310-9956-ffa450edef68
2013-02-06 15:43:41 +00:00
Gary Tully fc519e186a fix up missing license files - our rat check friend
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1442984 13f79535-47bb-0310-9956-ffa450edef68
2013-02-06 14:27:03 +00:00
Gary Tully 6a097b97fe https://issues.apache.org/jira/browse/AMQ-4296 - disable leveldb durable bits pending more work for 5.9
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1442953 13f79535-47bb-0310-9956-ffa450edef68
2013-02-06 13:14:02 +00:00
Timothy A. Bish 5219fa1a17 Fix warnings from use of deprecated asserts etc.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1442736 13f79535-47bb-0310-9956-ffa450edef68
2013-02-05 20:43:15 +00:00
Timothy A. Bish 1c9626b5a3 Remove use of deprecated asserts and add some logging.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1442723 13f79535-47bb-0310-9956-ffa450edef68
2013-02-05 20:15:47 +00:00
Timothy A. Bish 4650f998db Bumping the wait time a bit to account for older system and slow disks.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1442681 13f79535-47bb-0310-9956-ffa450edef68
2013-02-05 18:08:14 +00:00
Timothy A. Bish 5b533c7c37 Thin out the amount of synchronized code used in the test to make things simpler.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1442657 13f79535-47bb-0310-9956-ffa450edef68
2013-02-05 16:43:18 +00:00
Gary Tully 88d85ae552 https://issues.apache.org/jira/browse/AMQ-3331 - fix regression in BrokerNetworkWithStuckMessagesTest - vm connector exposed some turnips in there w.r.t the response correlator
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1442613 13f79535-47bb-0310-9956-ffa450edef68
2013-02-05 14:48:31 +00:00
Timothy A. Bish 7b19989e32 Disable the tests for now. Will look at these as part of v5.9
https://issues.apache.org/jira/browse/AMQ-4296

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1442191 13f79535-47bb-0310-9956-ffa450edef68
2013-02-04 17:27:43 +00:00
Gary Tully 274d228114 ensure connection is closed - fix intermittent failure
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1442172 13f79535-47bb-0310-9956-ffa450edef68
2013-02-04 16:50:53 +00:00
Timothy A. Bish 856e5061d7 Break up these tests as they are order dependent.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1441643 13f79535-47bb-0310-9956-ffa450edef68
2013-02-01 21:37:20 +00:00
Timothy A. Bish 972176ea33 Add a fix for: https://issues.apache.org/jira/browse/AMQ-4147
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1441240 13f79535-47bb-0310-9956-ffa450edef68
2013-01-31 22:47:25 +00:00
Timothy A. Bish 849baa6fbc Apply fix and test for: https://issues.apache.org/jira/browse/AMQ-4116
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1441212 13f79535-47bb-0310-9956-ffa450edef68
2013-01-31 21:50:04 +00:00
Timothy A. Bish 7f022c9379 apply fix for: https://issues.apache.org/jira/browse/AMQ-4288
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1441156 13f79535-47bb-0310-9956-ffa450edef68
2013-01-31 19:34:22 +00:00
Timothy A. Bish f88b21613b apply fix for: https://issues.apache.org/jira/browse/AMQ-4288
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1441085 13f79535-47bb-0310-9956-ffa450edef68
2013-01-31 17:44:04 +00:00
Timothy A. Bish b8bbca6773 apply fix for: https://issues.apache.org/jira/browse/AMQ-4288
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1441081 13f79535-47bb-0310-9956-ffa450edef68
2013-01-31 17:32:58 +00:00
Gary Tully 7e87cf2685 https://issues.apache.org/jira/browse/AMQ-4285 - tidied up test to be tolerant of pitfalls of request/reply with temps over a network
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1440988 13f79535-47bb-0310-9956-ffa450edef68
2013-01-31 14:41:35 +00:00
Timothy A. Bish 0f3fdd7aa7 Added in some more useful logging and cleaned up the stop code.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1440733 13f79535-47bb-0310-9956-ffa450edef68
2013-01-30 23:23:41 +00:00
Timothy A. Bish d2c901f0ca https://issues.apache.org/jira/browse/AMQ-4286
Cleans up test case and adds logging to help figure out what's failing. 

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1440672 13f79535-47bb-0310-9956-ffa450edef68
2013-01-30 21:12:59 +00:00
Gary Tully a8b6f8bb45 quick sanity of non duplex case
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1440502 13f79535-47bb-0310-9956-ffa450edef68
2013-01-30 16:21:02 +00:00
Gary Tully 30a9fe104d https://issues.apache.org/jira/browse/AMQ-4283 - fix and test
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1440415 13f79535-47bb-0310-9956-ffa450edef68
2013-01-30 13:49:55 +00:00
Timothy A. Bish 0b09fde97c Apply patch for: https://issues.apache.org/jira/browse/AMQ-4281
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1440012 13f79535-47bb-0310-9956-ffa450edef68
2013-01-29 17:31:30 +00:00
Timothy A. Bish ef24cc9a04 fix https://issues.apache.org/jira/browse/AMQ-4280
activemq-core module renamed to activemq-unit-tests

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1439685 13f79535-47bb-0310-9956-ffa450edef68
2013-01-28 23:09:54 +00:00