Commit Graph

343 Commits

Author SHA1 Message Date
Timothy Bish 810ce35f55 https://issues.apache.org/jira/browse/AMQ-5175
Exclude the BouncyCastle jar from the tests.
2014-05-06 13:38:53 -04:00
Timothy Bish 541ed8cf0c https://issues.apache.org/jira/browse/AMQ-5140
Add some checks to prevent any chance of an ArithmaticException because
of divide by zero.
2014-05-05 16:12:50 -04:00
Dhiraj Bokde 94b404d0ab Fixed AMQ-5160, allowed wildcard subscriptions for future destinations, added tests for wildcard authorization, fixed consumer and producer AdvisoryTopic names for composite destinations by replacing ',' with '‚' 2014-05-05 10:06:06 +02:00
gtully 89e8767973 fix shutdown order on close - broker may be gone before client 2014-05-02 18:17:04 +01:00
gtully c5c1495330 https://issues.apache.org/jira/browse/AMQ-5136 - fix and test (thanks barlabanov) 2014-04-30 17:08:20 +01:00
gtully ad1f751a41 https://issues.apache.org/jira/browse/AMQ-5077 - reduce reader thread work when client uses async send; async store updates can now queue up to the destination memory limit b/c they don't block the send thread. Pending store writes are now tracked in memory usage. This allows a client to quickly provide a burst of messages to fill the destination cache bounded only by network bandwidth 2014-04-30 16:13:18 +01:00
Dejan Bosanac 4eb5097f22 https://issues.apache.org/jira/browse/AMQ-5165 - fix for destination stats name 2014-04-30 10:44:47 +02:00
Hadrian Zbarcea 3f32507f78 Use autocrlf consistently for line endings 2014-04-29 14:18:37 -04:00
Kevin Earls b0bf144e7a Ignoring testAdvisory test for now, see https://issues.apache.org/jira/browse/AMQ-5164 2014-04-29 12:11:54 +02:00
Timothy Bish a88e19e7cd https://issues.apache.org/jira/browse/AMQ-5163
Allow for durable topic consumers to use individual ack mode.
2014-04-28 14:03:43 -04:00
Dejan Bosanac d60022ec65 https://issues.apache.org/jira/browse/AMQ-5162 - handle io exception in lease database locker start 2014-04-25 15:08:05 +02:00
gtully 08bb172f3c https://issues.apache.org/jira/browse/AMQ-5077 - provide concurrentSend option to composite destinations such that fanout can occur in parallel, resulting in write batching. little perf test that shows a large improvement in send rate w/o concurrentStoreAndDispatch 2014-04-23 15:02:24 +01:00
gtully fad1dd0f17 https://issues.apache.org/jira/browse/AMQ-5146 - validate redeliveryPolicy excess pre dispatch, fix and test 2014-04-16 15:49:34 +01:00
Dejan Bosanac e947927511 https://issues.apache.org/jira/browse/AMQ-5149 - potential deadlock 2014-04-16 15:44:02 +02:00
Dejan Bosanac 7646526c0a https://issues.apache.org/jira/browse/AMQ-5141 - send messages to dlq using broker security context 2014-04-14 17:05:53 +02:00
Hadrian Zbarcea ed11b067c5 Add missing license headers in preparation of releases 2014-03-31 18:43:54 -04:00
Kevin Earls 4faf11d821 Added @Ignore because of https://issues.apache.org/jira/browse/AMQ-5126 2014-03-28 17:33:41 +01:00
gtully c07514f570 https://issues.apache.org/jira/browse/AMQ-5119 - fix (pfox thanks for the test) the marshalled properties were being retained so a property removal was being ignored before the schedualed resend 2014-03-27 15:12:12 +00:00
artnaseef 29f34f4dab AMQ-5107: Do not resend messages while the broker is shutting down. Includes junit. 2014-03-27 08:07:59 -07:00
gtully 7a0168a4f5 https://issues.apache.org/jira/browse/AMQ-4636 - tidy up commit failure case to redirect via IOExceptionHandler - failover still suppressed the commit on recovery - resulting in rollback exception the client due to indoubt commit 2014-03-26 16:19:46 +00:00
gtully 75eb814ca7 https://issues.apache.org/jira/browse/AMQ-5068 - don't rewrite durable subs as the message instance is shared 2014-03-26 11:50:13 +00:00
gtully 266d23ef79 revisit https://issues.apache.org/jira/browse/AMQ-3519 with more durable solution https://issues.apache.org/jira/browse/AMQ-5068 - JMSRedelivered header now persisted before dispatch so that it is a reliable indication of a possible duplicate delivery. The option is enabled via destination policy persistJMSRedelivered 2014-03-26 11:16:42 +00:00
gtully f594cdab10 tidy up test completion, allowing consumers to exit gracefully from blocking receive 2014-03-21 13:14:40 +00:00
gtully 9bf9e1c052 https://issues.apache.org/jira/browse/AMQ-5114 - force local removeInfo after connection controll consumer remove command so consumer is always removed from the broker, independent of the consumer state 2014-03-21 12:22:38 +00:00
gtully af9134a4fa sanity check test of local host/port syntax with failover 2014-03-20 14:32:31 +00:00
gtully cb6941ee0b https://issues.apache.org/jira/browse/AMQ-4886 - think the sync on shutdown issue is resolved and the test will no longer hang 2014-03-20 14:14:31 +00:00
Kevin Earls cbb46ea7d3 Fix for AMQ-5113. Fixed race condition in onMessage for testSimulatenousCron which caused intermittent failures 2014-03-20 13:33:03 +01:00
gtully b136df177f https://issues.apache.org/jira/browse/AMQ-5089 - fix and test, respect client ack for topics and only decrement counters when ack is received 2014-03-19 15:33:44 +00:00
gtully 2efb6df619 speed up this test and improve logging in the event of failure 2014-03-19 15:32:10 +00:00
gtully 89446c7af0 fix intermittent failure - exceptions that result from broker stop need to be ignored as this test forces a restart 2014-03-19 15:30:34 +00:00
gtully 47d72dd32a resolve intermittent failure in this test - do a valid wait check once 2014-03-18 15:45:26 +00:00
gtully caae68a1ba compaction or gc can effect this test - make it more tolerant and dumpthreads on error so we can validate 2014-03-14 13:42:59 +00:00
gtully 128921e687 some more info to this test to help diagnose intermittent ci failure, works fine locally 2014-03-12 14:01:08 +00:00
gtully 6aaf859d22 https://issues.apache.org/jira/browse/AMQ-4656 - fix regression for FilePendingDurableSubscriberMessageStoragePolicy 2014-03-11 15:18:46 +00:00
gtully a3a41dae37 https://issues.apache.org/jira/browse/AMQ-5087 - fix up test use of initial delay 2014-03-11 12:37:31 +00:00
Hadrian Zbarcea 570dbb4372 [minor] Use MemoryPersistenceAdapter for testing when choice of persistence adapter is indifferent 2014-03-10 11:00:27 -04:00
gtully 33b88d34a9 https://issues.apache.org/jira/browse/AMQ-5087 fix and test 2014-03-06 22:40:01 +00:00
Hadrian Zbarcea c34f8426ab Exclude failing activemq-unit-tests to re-enable CI 2014-03-05 11:21:51 -05:00
gtully cfe099d1cc rework https://issues.apache.org/jira/browse/AMQ-3305 in the context of https://issues.apache.org/jira/browse/AMQ-4952 dlq processing of duplicates, also possible missed dispatch with interleaved xa completion and new messages - recovered transactions are now individually tracked by the store and replayed in the next batch, which negates the need to flush the cursor and avoids duplicates 2014-03-05 14:51:05 +00:00
Hadrian Zbarcea a7ff5975ee move derby test db to target/ so that mvn clean doesn't leave it behind 2014-03-04 18:17:28 -05:00
gtully 9d76668f7b use sensible param name for paramaterized tests 2014-03-03 13:57:24 +00:00
gtully 69c0d399fb make perpared xa transactions visible in kahadb persistenceadapter view mbean 2014-03-03 13:55:27 +00:00
Hiram Chirino e7e317dc7e Applying patch AMQ-5074: MQTT paths with empty levels are not handled correctly.
Thanks Dhiraj!
2014-02-24 09:05:23 -05:00
Dejan Bosanac c6fe94ec03 https://issues.apache.org/jira/browse/AMQ-5070 - broker blocked on shutdown 2014-02-21 11:22:11 +01:00
Hiram Chirino 93ca04468b Implements AMQ-5054: Display the number of active transactions and age of oldest transaction on a Connection's JMX info 2014-02-14 16:22:50 -05:00
Kevin Earls ef82a4b8b4 Added short sleep to tearDown, see https://issues.apache.org/jira/browse/AMQ-4854 2014-02-14 17:36:47 +01:00
Kevin Earls 4350ded2c5 Fix for intermittent failures, see https://issues.apache.org/jira/browse/AMQ-5053 2014-02-14 16:08:51 +01:00
Timothy Bish fbd72d6d70 Place data dir in target 2014-02-10 18:25:32 -05:00
Timothy Bish 314b6e1fd7 Use better test KahaDB location in configuration. 2014-02-10 18:23:02 -05:00
Timothy Bish 4c38b03d14 https://issues.apache.org/jira/browse/AMQ-5035
Fix and test for variations in configuration settings that result in a
non-region broker as the AdvisoryBroker's next instance.
2014-02-10 18:14:41 -05:00