Justin Bertram
3a68288db6
ARTEMIS-2439 ServerSessionImpl leaks addr names
2019-08-02 13:27:02 -04:00
Clebert Suconic
73e2d4709d
ARTEMIS-2438 Activation cleaning
2019-08-01 16:58:00 -04:00
Clebert Suconic
b1c3f52cc8
NO-JIRA test fix (Adding Wait clause)
2019-08-01 16:15:18 -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
28ea18ea79
ARTEMIS-2434 Improving Consumer/Queue Delivery Lock
...
This is a less invasive improvement then the one I proposed at PR #2772
or commit 7507a9fd4b
2019-07-27 11:37:45 -04:00
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
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
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
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
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
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
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
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
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
Andy
3fe2194139
ARTEMIS-2358 - Add user and pass to database store to allow encryption
...
https://issues.apache.org/jira/browse/ARTEMIS-2358
2019-05-29 11:30:35 -05:00
Andy
959c38bd8d
ARTEMIS-2352 - Add the ability to reject messages without a validated user set
...
https://issues.apache.org/jira/browse/ARTEMIS-2352
2019-05-29 09:42:38 -04:00
Clebert Suconic
5f481d6220
NO-JIRA Test fixes
2019-05-21 15:21:36 -04:00
Clebert Suconic
9c9bd48154
ARTEMIS-2339 Set JMS Name on compatible destinations
2019-05-20 15:48:31 -04:00
brusdev
e533bf876e
ARTEMIS-2344 return security errors for unauthorized anonymous sasl
...
When user attempts unauthorized anonymous sasl the broker can return an
error of 'failed' instead of the security error that is expected in
these cases.
2019-05-17 15:52:37 -04:00
Clebert Suconic
2ae732cfc8
[maven-release-plugin] prepare for next development iteration
2019-05-16 09:58:27 -04:00
Clebert Suconic
481b9824a8
[maven-release-plugin] prepare release 2.8.1
2019-05-16 09:58:15 -04:00
Francesco Nigro
f2bac5ad08
ARTEMIS-2321 Non-blocking Page::read on page cache
2019-05-13 12:20:22 -04:00
Clebert Suconic
2567d8a266
NO-JIRA Improving test reliability
2019-05-13 12:12:40 -04:00
Clebert Suconic
d213aea96b
NO-JIRA speeding up PagingReceiveTest
2019-05-10 14:45:57 -04:00
Clebert Suconic
389edd4976
NO-JIRA Test improvement
2019-05-09 16:55:29 -04:00
Clebert Suconic
349ca876f9
NO-JIRA test speedup
2019-05-08 21:25:23 -04:00
Clebert Suconic
7f7194f779
ARTEMIS-2333 Making tests more reliable
2019-05-08 21:10:05 -04:00
Clebert Suconic
7e8829bee4
ARTEMIS-2333 NettyConnection is not writeable if disconnected
...
This is fixing StompV12Test
2019-05-08 14:33:08 -04:00
Justin Bertram
8257bac49b
ARTEMIS-2332 fix sendMessage w/headers from console
2019-05-08 07:21:22 -04:00
Clebert Suconic
f7b3dd46d7
NO-JIRA Test improvement
2019-05-07 20:06:29 -04:00
Emmanuel Hugonnet
ee7d5bd0f1
ARTEMIS-2319 Upgrading jboss-logging dependencies
...
* Upgrading versions
* Adding wildfly-common dependency as jboss-logmanager now depends on it
for simple common operations such as getting hostname or process id
* Updating bootclasspath with wildfly-common
2019-05-07 16:13:48 -04:00
Clebert Suconic
6f572de59e
NO-JIRA Fixing random failure on Journal Test
2019-05-07 15:45:48 -04:00
Clebert Suconic
0e40984145
NO-JIRA speeding up a few tests
2019-05-06 20:22:47 -04:00
Clebert Suconic
2395358e80
NO-JIRA fixing test
...
this test was randomly failing because of timeouts.
Increasing timeouts on Wait, and adjusting times fixed the test.
2019-05-06 10:23:47 -04:00
Clebert Suconic
c4238e154f
ARTEMIS-2327 Removing Bridge Test after fix
...
This test was playing with an ignore packet, which does not make any more sense
after the last change.
After a packet loss the bridge will reconnect, and this test makes no more sense.
2019-05-06 09:52:10 -04:00
Clebert Suconic
415ff9b26a
ARTEMIS-2327 Simple test fix
...
This test is playing with a timeout.
Since a timeout now will issue an Exception on the channel, this test needs to reconnect.
2019-05-06 09:19:15 -04:00
Michael André Pearce
b60c304c70
ARTEMIS-2327 ExceptionListener invoked when connection level exception
...
Add tests
Add fix - if timeout occurs on sending packet, calls same code that is invoked if timeout occurs on during ping aligning logic, and ensuring JMS connection exception listener gets invoked to inform the client logic to react.
2019-05-03 23:11:21 -04:00
Clebert Suconic
b5b2cc98b0
NO-JIRA Fixing JMX Test
...
This test has been failing as part of the main testsuite
and it should really be a smoke test as it is using a real test.
so, I'm moving it as smoke-test
2019-05-03 18:05:26 -04:00
Robbie Gemmell
bfe0c5cc10
NO-JIRA: add test of defaulted durable field
...
Verifies broker isnt affected by same behaviour from 5.x issue AMQ 7189
2019-05-03 10:45:25 +01:00
Clebert Suconic
56152a9e7c
[maven-release-plugin] prepare for next development iteration
2019-05-02 16:39:10 -04:00
Clebert Suconic
a8e7f9d07a
[maven-release-plugin] prepare release 2.8.0
2019-05-02 16:38:58 -04:00
Clebert Suconic
9872128a1f
NO-JIRA Fixing GlobalPagingTest
2019-05-02 12:24:19 -04:00
Clebert Suconic
fa259ba66e
ARTEMIS-2328 Routing after empty addresses could lead to invalid messages
2019-05-01 01:34:28 -04:00
Clebert Suconic
c0300c318c
NO-JIRA Test fix
2019-04-30 13:33:45 -04:00
Jiri Danek
3e87249d75
ARTEMIS-2320 Overwritten Map key or Set element
2019-04-29 11:28:10 +01:00
Jiri Danek
f508a25566
ARTEMIS-2320 Standard Charset object can be used
2019-04-29 11:28:10 +01:00
Jiri Danek
34e5d607ef
ARTEMIS-2320 'compare()' method can be used to compare numbers
2019-04-29 11:27:29 +01:00
Jiri Danek
f7a36300ef
ARTEMIS-2320 Fix IntLongMath errorprone warning
...
Expression of type int may overflow before being assigned to a long
(see https://errorprone.info/bugpattern/IntLongMath )
2019-04-29 11:27:29 +01:00
Clebert Suconic
edbf3575d0
NO-JIRA improving duplicate detection test
2019-04-25 22:07:43 -04:00
Clebert Suconic
228f6af4ca
[maven-release-plugin] prepare for next development iteration
2019-04-25 16:52:09 -04:00
Clebert Suconic
09d2ba18a7
[maven-release-plugin] prepare release 2.8.0
2019-04-25 16:51:57 -04:00
Timothy Bish
ea479e1f54
ARTEMIS-2311 Add additional tests for reply to cross protocol
...
Add a broader range of tests for AMQP message reply to handling
across protocols to help spot potential future regressions.
2019-04-25 12:29:46 -04:00
Clebert Suconic
e0815438d5
ARTEMIS-2316 Reverting change on AMQPMessage, and changing test to be accurate
...
This (kind of) reverts commit bd1162d9b8
.
2019-04-25 11:23:43 -04:00
Luis De Bello
bd1162d9b8
ARTEMIS-2316 AMQPMessage missing ApplicationProperties from custom transformer
2019-04-23 21:57:21 +01:00
Clebert Suconic
1e35175a4d
ARTEMIS-2311 Dealing with Protocol conversions and JMSReplyTo
2019-04-22 21:45:24 -04:00
Justin Bertram
755fa0c3a6
ARTEMIS-2315 ClientSession.createQueue routing-type bug
2019-04-22 16:58:40 -04:00
Justin Bertram
7cc890ae6f
ARTEMIS-2307 prefix not removed for security check
2019-04-22 16:58:11 -04:00
Justin Bertram
f155838626
ARTEMIS-2313 Accumulation in HierarchicalObjectRepository cache
2019-04-22 10:48:47 -04:00
Michael André Pearce
18bcd21c3e
ARTEMIS-2306 Make group first off by default, unless configured
2019-04-17 16:25:42 -04:00
Justin Bertram
e0a7073884
ARTEMIS-2309 TempQueueCleanerUpper instances are leaking
...
The changes from ARTEMIS-2189 mean that
o.a.a.a.c.s.i.ServerSessionImpl#deleteQueue
is no longer called from the same ServerSessionImpl instance that
created it which means that TempQueueCleanerUpper instances will leak.
To resolve the leak the client will only create a new session when
necessary instead of every time delete() is invoked.
2019-04-17 10:41:30 -04:00
Clebert Suconic
7158d8a8a4
ARTEMIS-1592 AutoDeleted queues removed before sendNotifcation on consumer.close()
...
This could cause errors on Notification udpates and clustering.
2019-04-16 16:59:37 -04:00
Michael André Pearce
98b3177e6e
ARTEMIS-2306 Make key used for group first for consumer configurable
...
Add tests
Add implementation details
2019-04-16 15:43:16 -04:00
Michael André Pearce
05628ce92e
ARTEMIS-2306 Support ActiveMQ5 feature JMSXGroupFirstForConsumer
...
Implement using the ActiveMQ5 JMSXGroupFirstForConsumer, property as default, but make it possible for future to make it configurable easily. (Not this PR)
Add test
2019-04-16 15:43:16 -04:00
Michael André Pearce
ed9270fc79
NO-JIRA Fix small ActiveMQServerControl api break with 2.6.4
...
In adding auto-delete queue level feature, its been noticed as some feature bits were added during hot fix branch, that there's api break with the 2.6.x hotfix branch.
This addresses that by fixing this in 2.7.x
2019-04-16 14:30:33 +01:00
sebthom
11b0de96b9
ARTEMIS-2285 Sorting by user column in connections view not working
2019-04-15 16:46:43 +01:00
Clebert Suconic
da4f95cf71
ARTEMIS-2305 ACK counters to only increment after commit
...
Also including a new metric for ack attempts that will keep the former semantic.
2019-04-12 14:34:51 -04:00
Justin Bertram
2dd0671698
ARTEMIS-2294 dupe detection for AMQP same as core
2019-04-12 09:39:52 -04:00
Clebert Suconic
b8b7cc899f
ARTEMIS-2300 Expiry notifications are not called from scanner
2019-04-10 16:01:18 -04:00
Clebert Suconic
9e45a4ac3a
ARTEMIS-2299 Support for redelivery-delay and LVQ
2019-04-10 15:10:05 -04:00