Commit Graph

9332 Commits

Author SHA1 Message Date
gtully f548aafa81 move test utility to broker module to allow reuse from jdbc module tests 2016-06-10 10:20:33 +01:00
Timothy Bish 9f5fff795d https://issues.apache.org/jira/browse/AMQ-5621
Ensure that connections using VM transport are closed.
2016-06-09 18:37:09 -04:00
Timothy Bish c49db029ab https://issues.apache.org/jira/browse/AMQ-6319
Improve configuration for disabling non-SASL connections.
2016-06-09 17:32:41 -04:00
Timothy Bish c9b208f0a3 Ensure that connections created with vm Transport connections get
closed.
2016-06-09 14:50:40 -04:00
Timothy Bish 98d2000833 https://issues.apache.org/jira/browse/AMQ-6275
Avoid unnecessary connection state lookup leading to lock ordering
issues.
2016-06-09 12:10:09 -04:00
gtully bce5e5e9c9 AMQ-5574 - allow import osgi of jms 2.x spec jar 2016-06-08 13:15:15 +01:00
Timothy Bish 5fd307cd9f Ensure that connections get closed to allow the vm transport resources
to get cleaned up.
2016-06-07 09:29:41 -04:00
Timothy Bish 9079678c3a https://issues.apache.org/jira/browse/AMQ-6311
Remove misleading checknotforrunning value from the invoke
2016-06-06 12:02:14 -04:00
Timothy Bish f6b8ce6c22 https://issues.apache.org/jira/browse/AMQ-6311
call the correct task 'checkfornotrunnig'
2016-06-06 11:44:17 -04:00
Christopher L. Shannon (cshannon) 2b03e6a942 https://issues.apache.org/jira/browse/AMQ-6310
Merging fix for AMQ-6310

This closes #188
2016-06-06 13:15:12 +00:00
Jonathan Malek 6bf5987921 A fix for AMQ-6310
Checking for leading wildcard in the prefix for a virtualtopic,
modifying the behavior of shouldDispatch in the VirtualTopicInterceptor.
2016-06-04 16:51:27 -07:00
Timothy Bish 27ce49f1c8 Ensure all PooledConnectionFactory instances are stopped at tests end to
ensure that pooled connections are all closed to release VM Transport
resrouces
2016-06-03 18:28:57 -04:00
Timothy Bish 28e7cb0b21 https://issues.apache.org/jira/browse/AMQ-6309
Fix some minor issues shown by static code analysis
2016-06-03 18:05:40 -04:00
Timothy Bish db71b43b19 https://issues.apache.org/jira/browse/AMQ-6305
Lower prefetch on settlement of allow for dispatch of the full amount of
granted credit.  Adds additional tests.
2016-06-03 17:05:00 -04:00
gtully 857597ca9e AMQ-4181 - browser 'may' have more than 1 so message 'may' remain 2016-06-03 15:15:11 +01:00
gtully 46e08024a1 use full destination filter wildcard for ci - hostname format unknown 2016-06-03 13:15:02 +01:00
gtully 1f9b139f59 test for uuid temp request/reply from camel across network 2016-06-02 16:58:03 +01:00
Timothy Bish 76b70545f2 https://issues.apache.org/jira/browse/AMQ-6304
Ensure that the broker send a container ID using its assigned Broker
name value.
2016-06-01 18:38:41 -04:00
Timothy Bish 8448cf1cb8 https://issues.apache.org/jira/browse/AMQ-6305
Refactor credit handling and drain state tracking to ensure we stay in
sync with the remote state and always answer drain requests.  Start
adding some more tests around drain to the interop suite.
2016-06-01 18:30:31 -04:00
Timothy Bish 6ae169e275 https://issues.apache.org/jira/browse/AMQ-6305
Add test and supporting enhancements to the JUnit module to allow for
easy repetition of tests that don't always fail reliably
2016-05-26 18:02:59 -04:00
Timothy Bish 3c5c5779e2 Remove version definition for managed dependency 2016-05-26 18:00:50 -04:00
Timothy Bish 5235c74fc9 Fix warnings in pom by removing redundant version declarations for
dependencies that are managed by the parent.
2016-05-26 17:07:35 -04:00
Timothy Bish 08f266d762 Remove unused import. 2016-05-26 16:52:18 -04:00
gtully 29b833fe8e fix shadowing and ensure close of connection, ci... 2016-05-26 11:30:32 +01:00
gtully 62ab55683f increase the lease to allow kahadb recovery, ci intermittent failure 2016-05-26 11:30:32 +01:00
Timothy Bish 0757cdcd59 Cleanup the tearDown method to ensure we follow on to the super tearDown
where the broker is stopped.
2016-05-25 12:15:21 -04:00
gtully 3b626c9edc resolve intermittent failure - if broker closes socket on security excepiton before client gets response 2016-05-25 12:51:56 +01:00
gtully e467f34cc1 longer receive timeout on first message, intermittent ci failure 2016-05-25 12:45:07 +01:00
gtully 281fbb1f9d tidy up close for vm broker - seems ci failure of InMemeoryJmsSchedulerTest is related to overlap between tests of vm transport 2016-05-25 12:34:07 +01:00
gtully fe9d99e7a0 AMQ-3166 - implement rollbackOnlyOnAsyncException such that async exceptions on transactional sends or acks result in the transaction being marked rollback only and commit failing with an exception. Test that shows current state of play using alwaySendSync or AsyncCallback. rollbackOnlyOnAsyncException enabled by default. 2016-05-25 11:24:43 +01:00
gtully f46b2927a4 fix intermittent ci failure - ensure no expiry before first dispatch 2016-05-24 10:47:34 +01:00
Christopher L. Shannon (cshannon) 4d6cc4b460 https://issues.apache.org/jira/browse/AMQ-6303
Properly setting typeCode value for new journal files used for ack
compaction
2016-05-23 18:42:29 +00:00
gtully b4e35fe8a3 AMQ-4181 - revert mod to testQueueBrowserWith2ConsumersInterleaved which cause intermittent ci failure - browse is a snapshot at time of creation. tidy up some gaps in pagein logic sync 2016-05-23 13:29:39 +01:00
Timothy Bish b1d8e66eaf https://issues.apache.org/jira/browse/AMQ-6299
Update commons deps to latest patch versions.
2016-05-20 18:52:27 -04:00
gtully 7c04aa9909 reduce test message size and quantity for ci 2016-05-20 15:37:24 +01:00
gtully 5cc5022d2a https://issues.apache.org/jira/browse/AMQ-6297 - displayName can also be null - thanks tbish 2016-05-20 15:33:33 +01:00
gtully daf7e85e68 https://issues.apache.org/jira/browse/AMQ-6297 - null check for case where interface has no bindings 2016-05-20 14:54:04 +01:00
sprgn 991d69f387 Fix error message typo.
Fix typo from javax.jmx.ConnectionFactory to javax.jms.ConnectionFactory
2016-05-20 15:20:09 +02:00
vivek-dhayalan 53a9080c27 Updating help text properly 2016-05-20 15:19:03 +02:00
Seth Leger 8b7632cb4f AMQ-6298: Moved Spring Import-Package wildcard below other Spring
imports.
2016-05-20 05:01:51 -04:00
Timothy Bish 0883011147 Fix data dir path change that shouldn't have been committed with the
other fixes.
2016-05-18 11:02:14 -04:00
gtully c2230fda4b https://issues.apache.org/jira/browse/AMQ-6286 - refine fix to distinguish multiple consumers in a transaction, verify insertion at head will preserve order 2016-05-18 10:09:39 +01:00
Timothy Bish 2c3046b816 Fix test timing out on slow spinning disks.
On a local drive with heave I/O this test took over 2.5 minutes to
complete, CI machines can see similar times, bumped timeout to 5 minutes
to account for this range.
2016-05-17 13:00:56 -04:00
Timothy Bish 1263dd8c43 Fix failing test in CI. Subscribe should request receipts so that the
subscription exists prior to initiating the event that triggers the
advisory message sent to the Topic.
2016-05-17 09:59:35 -04:00
Timothy Bish 2a10e9900a https://issues.apache.org/jira/browse/AMQ-5621
Add some additional test cleanup
2016-05-16 13:58:14 -04:00
Timothy Bish d9c4048292 Clean up and adjust test timeouts for CI 2016-05-16 11:24:50 -04:00
Timothy Bish a2720c4653 https://issues.apache.org/jira/browse/AMQ-6293
Clean up the test, the times were causing CI failure.  Turn off
persistence and fix a couple other things, reduced time to 2.5 secs
while still reproducing with fix removed.
2016-05-16 11:02:20 -04:00
Christopher L. Shannon (cshannon) 1241e4120a https://issues.apache.org/jira/browse/AMQ-6293
Fixing Queue destination statistics in dropMessage by adding sync in
between the check for dropped and actually dropping the message plus
fixing dequeue stats so messages aren't counted twice
2016-05-14 16:20:41 +00:00
Timothy Bish ab434ee776 Refactor test which has some flawed assumptions about the incoming
messages based on subscriptions that it makes.  Adds better thread
safety as well.
2016-05-13 18:30:44 -04:00
Timothy Bish 15405af2e6 https://issues.apache.org/jira/browse/AMQ-6292
allow for batch writes of forwarded acks.
2016-05-13 14:56:01 -04:00