6655 Commits

Author SHA1 Message Date
Clebert Suconic
c140af1f8d This closes #2769 2019-07-29 14:44:27 -04:00
Wei Yang
edace8845e ARTEMIS-2414 Sync before closing file in case data loss 2019-07-29 14:44:26 -04:00
Clebert Suconic
36534a387e This closes #2773 2019-07-27 16:25:46 -04:00
Clebert Suconic
28ea18ea79 ARTEMIS-2434 Improving Consumer/Queue Delivery Lock
This is a less invasive improvement then the one I proposed at PR #2772
or commit 7507a9fd4b282523c2b2f3517ed788153a35df4c
2019-07-27 11:37:45 -04:00
Clebert Suconic
8a1f267bd5 Revert "ARTEMIS-2423 Improving Consumer/Queue Delivery lock"
This reverts commit 7507a9fd4b282523c2b2f3517ed788153a35df4c.
2019-07-27 10:45:08 -04:00
Clebert Suconic
f73d7f5dd3 This closes #2772 2019-07-26 23:56:22 -04:00
Clebert Suconic
7507a9fd4b ARTEMIS-2423 Improving Consumer/Queue Delivery lock 2019-07-26 15:05:51 -04:00
Clebert Suconic
d2d21516ba Revert "ARTEMIS-2434 Don't lock ServerConsumerImpl for long period of time"
This reverts commit 64ba930f43b8fa3a78730d875d7e354cb9631675.
2019-07-26 13:57:05 -04:00
Clebert Suconic
f269b79e6d This closes #2765 2019-07-26 13:54:55 -04:00
Clebert Suconic
622f857c88 NO-JIRA Speed up CoreClientTest 2019-07-26 13:54:55 -04:00
Clebert Suconic
707e036a90 NO-JIRA Teardown connection on stomp connections test class 2019-07-26 13:54:55 -04:00
Clebert Suconic
70e6c17bd9 NO-JIRA Speeding up MQTTTest 2019-07-26 13:54:55 -04:00
Clebert Suconic
5c05cce109 NO-JIRA Another fix on FailoverTest::testTimeoutOnFailoverConsumer 2019-07-26 13:54:55 -04:00
Clebert Suconic
549e167a5a This closes #2771 2019-07-26 13:00:57 -04:00
Francesco Nigro
64ba930f43 ARTEMIS-2434 Don't lock ServerConsumerImpl for long period of time 2019-07-26 13:00:57 -04:00
Clebert Suconic
8963cd91d2 This closes #2766 2019-07-24 22:27:14 -04:00
Wei Yang
b92cde165b ARTEMIS-2430 Avoid data loss when live page cache evicted 2019-07-24 19:42:49 +08:00
Clebert Suconic
c9f2833863 NO-JIRA Fixing FailoverTest::testTimeoutOnFailoverConsumer
this test was basically broken, it was silently failing as it was ignoring results and taking a long time to finish.
As this test is multiplied along many options (Netty, Replicated, JDBC) this was taking considerable extra time
on the testsuite.
2019-07-23 16:11:58 -04:00
Clebert Suconic
fa000524e1 This closes #2764 2019-07-23 15:01:22 -04:00
Clebert Suconic
6ece896aee NO-JIRA Fixing broken test at StompV11Test
StompV11Test::testConnection was leaking a NettyConnector
what was leaving threads running. This would then fail ThreadLeakCheckRule
2019-07-23 11:46:33 -04:00
Clebert Suconic
a08b2d5cdf This closes #2727 2019-07-22 10:55:18 -04:00
brusdev
022b5895ef ARTEMIS-2394 Improve scheduling sync for AMQPConnectionContext
Remove synchronized blocks using an AtomicReference.
2019-07-22 10:55:18 -04:00
Clebert Suconic
440002f02b This closes #2757 2019-07-22 10:44:51 -04:00
Maarten Boekhold
7f4f4a5021 ARTEMIS-2412 Allow CF configuration through JNDI references
Most connection related properties, like the SSL ones, currently
have to be encoded in the brokerURL. When configuring connections
purely through JNDI bindings, this is not always desireable.
This commit allows one to configure all properties included
in TransportConstants.ALLOWABLE_CONNECTOR_KEYS to be listed separately
in the JNDI bindings. These properties are then zipped into any
provided brokerURL. For properties that appear in both places,
the one specified separately in the JNDI bindings takes priority.

This commit should not affect any configuration other than those
configure through JNDIReferenceFactory.
2019-07-22 10:44:50 -04:00
Clebert Suconic
d0c3839e69 This closes #2718 2019-07-22 09:56:55 -04:00
Justin Bertram
8484c8a43b ARTEMIS-2389 add details to conn failure logging 2019-07-22 09:56:55 -04:00
Clebert Suconic
e2a5f83288 This closes #2736 2019-07-22 09:43:50 -04:00
Emmanuel Hugonnet
394f238881 ARTEMIS-2405 Resource adapter getter should return wrapped objects and not primitive.
* updating getters/setters to used wrapped objects instead of primitive.

Jira: https://issues.apache.org/jira/browse/ARTEMIS-2405
2019-07-22 09:43:49 -04:00
Clebert Suconic
b86b86c40f This closes #2763 2019-07-22 09:33:21 -04:00
Jiri Danek
52e7b9d57d ARTEMIS-2429 Fix order of arguments to registerQueueGauge and two related typos
Test is also adjusted to test for the changes made.
2019-07-22 13:28:22 +02:00
Clebert Suconic
200b3e1033 NO-JIRA Simple test fixes 2019-07-19 17:51:04 -04:00
Clebert Suconic
1c6dea80dd This closes #2762 2019-07-19 15:01:41 -04:00
Clebert Suconic
2d7d714260 ARTEMIS-2428 Exposing timeout on configuration and changing it to 0 on the testsuite 2019-07-19 12:09:23 -04:00
Clebert Suconic
89cc07c7d8 ARTEMIS-2408 Changing FileDescriptors rule as classRule 2019-07-19 12:01:01 -04:00
Clebert Suconic
5107eb9f91 This closes #2761 2019-07-19 08:52:28 -04:00
Clebert Suconic
736045d73b ARTEMIS-2401 Improving tests and a few fixes around Address.pause 2019-07-18 16:29:52 -04:00
Emmanuel Hugonnet
3aa3fa777f ARTEMIS-2401 Implement the Pause method for an Address
Adding support to pause an Address and all its bound queues.

Jira: https://issues.apache.org/jira/browse/ARTEMIS-2401
2019-07-18 16:29:52 -04:00
Clebert Suconic
30ee0daa90 This closes #2759 2019-07-18 16:28:04 -04:00
Clebert Suconic
989b3a516e ARTEMIS-2408 A few tweaks on acceptor async stop 2019-07-18 16:23:19 -04:00
brusdev
aeecb6f70b ARTEMIS-2408 Too many opened FDs after server stops
Limit acceptors stop time.

reapplying after commit 20ca827d79282ca41b4f60f28e6b09333c3d82d5
2019-07-18 16:17:03 -04:00
Clebert Suconic
4d8e93510f This closes #2743 2019-07-18 10:31:16 -04:00
yang wei
99158ccd3d ARTEMIS-2418 Race conditions between cursor movement and page writing 2019-07-18 10:30:26 -04:00
Clebert Suconic
55e0e4ec9c This closes #2758 2019-07-17 12:21:17 -04:00
Clebert Suconic
9d7bbf4ea3 NO-JIRA Making sudo a requirement for NetworkFailureFailoverTest
When setting up a new Jenkins CI, it's required to add sudoer to have this test working
otherwise it will silently pass.
2019-07-17 12:21:17 -04:00
Clebert Suconic
03044c9d29 This closes #2742 2019-07-17 11:35:32 -04:00
Clebert Suconic
0585db7421 ARTEMIS-2409 Adding Compatibility test for hornetQ selector client 2019-07-17 11:35:16 -04:00
Tomas Hofman
1c45d1758d ARTEMIS-2409 Convert HornetQ field names in consumer/queue selector strings 2019-07-17 11:34:04 -04:00
Clebert Suconic
6a0e36be16 This closes #2753 2019-07-16 22:30:59 -04:00
Clebert Suconic
27b151bb0e NO-JIRA moving Wait and removing some duplicate code on artemis-junit module 2019-07-16 22:30:59 -04:00
Clebert Suconic
75455002a9 This closes #2756 2019-07-16 20:59:26 -04:00