Commit Graph

7809 Commits

Author SHA1 Message Date
Justin Bertram aaba435cae ARTEMIS-2924 prevent NPE 2020-09-30 17:56:36 +02:00
Domenico Francesco Bruscino e0c8859367 This closes #3240 2020-09-30 17:50:48 +02:00
odidev 6666037935 ARTEMIS-2921 Upgrade to Netty 4.1.51.Final and netty-tcnative 2.0.33.Final
- Upgrade to netty 4.1.51.Final and netty-tcnative 2.0.33.Final for both security fixes and AArch64 performance improvements
- Refer release notes for detail:
  -https://netty.io/news/2020/05/13/4-1-50-Final.html
  -https://netty.io/news/2020/07/09/4-1-51-Final.html

Signed-off-by: odidev <odidev@puresoftware.com>
2020-09-30 17:47:02 +02:00
Clebert Suconic 52263663c4 This closes #3280 2020-09-30 10:21:08 -04:00
Domenico Francesco Bruscino fc628dc6b9 ARTEMIS-2920 Fix ActiveMQ Artemis Features build on IBM JDK 1.8 2020-09-30 10:21:08 -04:00
Justin Bertram a8d718166d NO-JIRA higher quality logos 2020-09-29 12:19:39 -05:00
Justin Bertram 7ed83a78a0 NO-JIRA update doc logos 2020-09-29 11:34:07 -05:00
gtully 7a472d2782 ARTEMIS-2768 - fix up conditional to include null pageStoreName option, it was a little over eager 2020-09-28 15:53:06 +01:00
Clebert Suconic 1d9964c2b0 NO-JIRA Fixing test intermittent failure with a Wait call 2020-09-27 00:26:15 -04:00
Clebert Suconic 702f3c453b ARTEMIS-2906 Fixing test on lastAckTimestamp 2020-09-25 15:26:14 -04:00
Clebert Suconic 98b94b5846 NO-JIRA Adding a test where I am sending an AMQP large message and sending it over a core bridge to another node
There are no semantic changes here. I wanted to check something and committed a good test.
2020-09-25 15:19:19 -04:00
Clebert Suconic 4672c649b7 This closes #3278 2020-09-25 10:03:51 -04:00
Andy Taylor c77bf50db4 ARTEMIS-2908 - Persist Divert Configuration in Bindings journal
https://issues.apache.org/jira/browse/ARTEMIS-2908
2020-09-25 10:03:40 -04:00
Clebert Suconic b689df1b4a This closes #3277 2020-09-24 13:52:57 -04:00
gtully 77d1c8cd7f ARTEMIS-2768 - add warning if wildcard subscription does not have a matching page-store-name address setting 2020-09-24 13:52:57 -04:00
Clebert Suconic 9c9cef33c8 This closes #3267 2020-09-24 12:51:00 -04:00
Justin Bertram 0f60b5a8e4 ARTEMIS-2906 add lastAckTimestamp to message counter 2020-09-24 12:51:00 -04:00
Clebert Suconic c5bb2cccf4 This closes #3276 2020-09-24 12:48:36 -04:00
Justin Bertram cdc283fba5 ARTEMIS-2915 duplicate temp queues using OpenWire 2020-09-24 12:48:36 -04:00
Clebert Suconic 4a33332021 This closes #3275 2020-09-24 12:47:33 -04:00
franz1981 27a085fb49 ARTEMIS-2914 MariaDB SQL isn't correctly recognized 2020-09-24 12:47:33 -04:00
Clebert Suconic 1ded600bac This closes #3274 2020-09-24 10:26:50 -04:00
franz1981 69fa4f3e93 ARTEMIS-2912 Handle NPE due to uninitialized members 2020-09-24 10:26:50 -04:00
franz1981 207c2265bf ARTEMIS-2912 Server start exception before activation can cause a zombie broker 2020-09-24 10:26:50 -04:00
franz1981 f5dfe6812d This closes #3271 2020-09-24 12:30:38 +02:00
franz1981 fddb210277 ARTEMIS-2911 DB2 isn't replacing Blob data 2020-09-24 12:30:37 +02:00
Gary Tully 622acf1da1
Merge pull request #3265 from gtully/ARTEMIS-2888
ARTEMIS-2888 ARTEMIS-2859 ARTEMIS-2768 - new page-store-name addressSetting to allow wildcard subscriptions share a single page store
2020-09-24 10:15:28 +01:00
gtully fa04881c6f ARTEMIS-2888 ARTEMIS-2859 ARTEMIS-2768 - new page-store-name addressSetting to allow wildcard subscriptions share a single page store 2020-09-24 09:39:31 +01:00
Clebert Suconic 312b932102 This closes #3266 2020-09-23 20:19:16 -04:00
Justin Bertram beaacbfa8d ARTEMIS-2904 prevent acceptor from automatically starting 2020-09-23 20:19:16 -04:00
Clebert Suconic 10a444109b This closes #3272 2020-09-23 15:52:52 -04:00
franz1981 feca90d475 ARTEMIS-2766 Fixing unused stopSet parameter 2020-09-23 15:52:52 -04:00
Robbie Gemmell acdd8b4dce NO-JIRA: tweaks to address some sporadic test failures 2020-09-23 17:22:48 +01:00
Clebert Suconic d7ba252eed This closes #3270 2020-09-23 12:09:18 -04:00
Robbie Gemmell 6a4e79fd06 ARTEMIS-2910: reuse routing type calculated in initialisation for fixed-address producers 2020-09-23 12:09:18 -04:00
Clebert Suconic 8ecd48fb93 This closes #3268 2020-09-23 12:08:57 -04:00
Justin Bertram f07ad09c07 NO-JIRA fix internal QueueControl method spelling 2020-09-23 12:08:57 -04:00
Justin Bertram 246bf08391 ARTEMIS-2909 revert ARTEMIS-2322
This reverts commit dbb3a90fe6.

The org.apache.activemq.artemis.core.server.Queue#getRate method is for
slow-consumer detection and is designed for internal use only.

Furthermore, it's too opaque to be trusted by a remote user as it only
returns the number of message added to the queue since *the last time
it was called*. The problem here is that the user calling it doesn't
know when it was invoked last. Therefore, they could be getting the
rate of messages added for the last 5 minutes or the last 5
milliseconds. This can lead to inconsistent and misleading results.

There are three main ways for users to track rates of message
production and consumption:

 1. Use a metrics plugin. This is the most feature-rich and flexible
way to track broker metrics, although it requires tools (e.g.
Prometheus) to store the metrics and display them (e.g. Grafana).

 2. Invoke the getMessageCount() and getMessagesAdded() management
methods and store the returned values along with the time they were
retrieved. A time-series database is a great tool for this job. This is
exactly what tools like Prometheus do. That data can then be used to
create informative graphs, etc. using tools like Grafana. Of course, one
can skip all the tools and just do some simple math to calculate rates
based on the last time the counts were retrieved.

 3. Use the broker's message counters. Message counters are the broker's
simple way of providing historical information about the queue. They
provide similar results to the previous solutions, but with less
flexibility since they only track data while the broker is up and
there's not really any good options for graphing.
2020-09-23 12:08:57 -04:00
Clebert Suconic ddef3895fd This closes #3269 2020-09-21 13:37:56 -04:00
Robbie Gemmell d9d98dfa8a ARTEMIS-2910: consider message annotations when determining routing type used for auto-creation with anonymous producers 2020-09-21 18:07:26 +01:00
Justin Bertram b89690813d NO-JIRA fixing tests after ARTEMIS-2889 changes broke them 2020-09-17 09:51:55 -05:00
Clebert Suconic bc1f841244 ARTEMIS-2901 Fixing testsuite on InterruptLargeMessageTest
The queue is missing access to the server,
recent changed functionality on temporary queues namespace needed
the server and now the unit test has to pass in the reference to fix the test.
2020-09-17 09:28:53 -04:00
Justin Bertram 29ccc1fd4f This closes #3241 2020-09-16 09:16:55 -05:00
Bernd Gutjahr 100d070942 ARTEMIS-2878 Add numberOfPages as metric
Added metric 'number.of.pages' to provide numberOfPages for an address.
2020-09-16 09:16:55 -05:00
Clebert Suconic b71bfccde2 This closes #3248 2020-09-16 10:14:57 -04:00
Justin Bertram 9a90248f49 ARTEMIS-2889 better support for JMS topics with legacy LDAP plugin 2020-09-16 10:14:57 -04:00
Clebert Suconic 400623afcb This closes #3258 2020-09-16 10:13:47 -04:00
Justin Bertram e47eb5ae20 ARTEMIS-589 flow control for individual STOMP subscribers 2020-09-16 10:13:47 -04:00
Clebert Suconic ae5535b11f This closes #3256 2020-09-16 10:12:20 -04:00
Justin Bertram 676bb101d8 ARTEMIS-2896 RA can double legacy prefix 2020-09-16 10:12:20 -04:00