Clebert Suconic
8a1f267bd5
Revert "ARTEMIS-2423 Improving Consumer/Queue Delivery lock"
...
This reverts commit 7507a9fd4b
.
2019-07-27 10:45:08 -04:00
Clebert Suconic
7507a9fd4b
ARTEMIS-2423 Improving Consumer/Queue Delivery lock
2019-07-26 15:05:51 -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
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
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
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
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
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
yang wei
99158ccd3d
ARTEMIS-2418 Race conditions between cursor movement and page writing
2019-07-18 10:30:26 -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
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
27b151bb0e
NO-JIRA moving Wait and removing some duplicate code on artemis-junit module
2019-07-16 22:30:59 -04:00
brusdev
29bbb94b5e
ARTEMIS-2408 Too many opened FDs after server stops
...
Wait netty event loop group shutdown to avoid too many opened FDs after
server stops, when netty configuration is used. Clear server
activateCallbacks to avoid reactivation of previous nodeManager and
consequent FD leaks on restart. Fix LargeServerMessageImpl.copy to avoid
FD leaks when a large message expiry or it is sent to DLA. Terminate
HawtDispatcher global queue to avoid pipes and eventpolls leaks after a
MQTT test.
cherry-picking commit 9617058ba0649af4eea15ce8793f86de827c4b7f
NO-JIRA adding check for open FD on the testsuite
cherry-picking commit 0facb7ddf4d3baa14a3add4290684aff7fd46053
NO-JIRA addressing connections leaks on integration tests
2019-07-16 13:36:42 -04:00
yang wei
85b93f0883
ARTEMIS-2336 Use zero copy to replicate journal/page/large message file
2019-07-15 23:51:42 +01:00
Dmitry Volodin
dbb3a90fe6
ARTEMIS-2322: Expose Queue.getRate() data as JMX metric
2019-07-15 16:34:31 -04:00
yang wei
fa46647818
ARTEMIS-2425 Message loss due to writing incomplete page file
2019-07-12 19:52:43 +08:00
Howard Gao
c66d62e4b0
ARTEMIS-2390 JMSMessageID header can be null when messages are cross-protocol
...
If a jms client (be it openwire, amqp, or core jms) receives a message that
is from a different protocol, the JMSMessageID maybe null when the
jms client expects it.
2019-06-27 10:26:34 -04:00
yang wei
665a69886e
ARTEMIS-2350 Fix ClassNotFoundException while invoking ActiveMQServerControlImpl::listConsumers
2019-06-25 14:06:12 -05:00
Justin Bertram
886ae7bfc5
ARTEMIS-2395 empty address.txt causes NPE
2019-06-21 15:09:08 -04:00
Justin Bertram
3b82cad024
ARTEMIS-2391 static address may be auto-deleted
2019-06-21 15:01:36 -04:00
Clebert Suconic
d1edb8d6e2
ARTEMIS-2338 Adding Wait clauses on QuorumFailOverLiveVotesTest
2019-06-21 09:21:52 -04:00
Clebert Suconic
9a32286883
ARTEMIS-2381 making setBrokerURL public as requested by Camel Devs
2019-06-19 11:35:28 -05:00
brusdev
9d12ad6501
ARTEMIS-2385 Log header for rejecting message with too large header
...
Use warning level to add in the log the ID and debug level to add in the
log the message header of rejecting message with too large header.
2019-06-19 11:26:33 -05:00
Francesco Nigro
f8d3a8f2f2
ARTEMIS-2354 Improve compatibillity of tests with JDK 11
2019-06-19 10:53:53 -05:00
Andy
e82d95fff6
ARTEMIS-2338 - Live server does not shutdown when using vote-on-replication-failure
...
https://issues.apache.org/jira/browse/ARTEMIS-2338
2019-06-19 10:26:10 -05:00
Andy
6a2e964f5b
ARTEMIS-2386 - use internal session for management queues for QOS2
...
https://issues.apache.org/jira/browse/ARTEMIS-2386
2019-06-18 08:21:39 +01:00
gtully
d1add00b00
ARTEMIS-2378 respect openwire removeInfo lastSequenceId when dealing with delivery count
2019-06-17 22:32:33 -04:00
Francesco Nigro
4445261f34
ARTEMIS-2382 Reclaimer doesn't need to be instantiatable
2019-06-17 22:31:30 -04:00
Justin Bertram
75a68511fa
NO-JIRA make ExceptionListenerForConnectionTimedOutExceptionTest more robust
2019-06-13 11:02:40 -05:00
Justin Bertram
3ff75c3353
ARTEMIS-1982 queue metrics can go negative
...
When redelivery is exhausted and messages are sent to a DLA with bindings
then some queue metrics can go negative.
2019-06-12 17:22:30 -04:00
Clebert Suconic
7e3b68a4cf
ARTEMIS-2367 Adding rule to avoid files leaking on the main folder
...
We had to fix a few cases where data folder was being created outside of the ./target output.
This is just to avoid re-ocurrence of that.
2019-06-12 12:10:28 -04:00
brusdev
9b52547ff7
ARTEMIS-2371 Message with huge header shuts broker down
...
Add max record size check before adding a record to prevent that the
broker shuts down, when there is one really large header sent with the
message. Add message size check before allocating large message resource
if it can't be stored.
2019-06-10 17:36:18 -04:00
Tomas Hofman
097ef281fd
ARTEMIS-2069 Backup doesn't activate after shared store is reconnected
2019-06-10 13:36:43 +02:00
Clebert Suconic
a7e5e6d074
NO-JIRA test improvements
2019-05-31 19:06:15 -04:00
Clebert Suconic
b7047faea5
NO-JIRA Adding checking for leaking server socket
2019-05-31 19:06:15 -04:00
brusdev
ef2ec7b56e
ARTEMIS-1011 Slow consumer detection after bursts
...
Fix slow consumer detection after a burst, taking into account messages
which are already in queue at the start of queueRateCheckTime period.
2019-05-31 12:21:28 -04:00
Justin Bertram
1183dc3453
NO-JIRA Extra tests upgrade on pom
2019-05-29 22:10:46 -05:00
Justin Bertram
dbb2b54fa7
[maven-release-plugin] prepare for next development iteration
2019-05-29 22:02:00 -05:00
Justin Bertram
88c686cc99
[maven-release-plugin] prepare release 2.9.0
2019-05-29 21:59:18 -05:00
Clebert Suconic
4fa2e75cdc
ARTEMIS-2361 Bridge should make a copy of messages
...
and some improvements into ARTEMIS-2355
2019-05-29 16:35:01 -04:00
Luis De Bello
1ccb688eec
ARTEMIS-2355: Marking message as changed after setting routing type, because it is set after divert
2019-05-29 16:34:22 -04:00
Justin Bertram
5768f6e2f3
ARTEMIS-2308 Support exporting metrics
2019-05-29 15:07:45 -04:00
Clebert Suconic
b8a2580410
ARTEMIS-2360 IOOBE when dealing with older clients concurrently
2019-05-29 15:02:13 -04:00