7945 Commits

Author SHA1 Message Date
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 dbb3a90fe6d2718fef0b8ae75123519b1404ef1f.

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
Clebert Suconic
7951e1688a This closes #3251 2020-09-16 10:11:56 -04:00
Domenico Francesco Bruscino
f467bc0d55 NO-JIRA Fix PDF header and table of content
Override the default theme page.html of gitbook to fix the issue at
https://github.com/GitbookIO/theme-default/pull/80
2020-09-16 10:11:56 -04:00
Clebert Suconic
f26e062339 This closes #3253 2020-09-16 10:11:23 -04:00
Justin Bertram
276a8bb029 ARTEMIS-2893 concurrent user admin actions can corrupt properties
When performing concurrent user admin actions (e.g. resetUser, addUser,
removeUser on ActiveMQServerControl) when using the
PropertiesLoginModule with reload=true the underlying user and role
properties files can get corrupted.

This commit fixes the issue via the following changes:
 - Add synchronization to the management commands
 - Add concurrency controls to underlying file access
 - Change CLI user commands to use remote methods instead of modifying
   the files directly. This avoids potential concurrent changes. This
   change forced me to modify the names of some of the commands'
   parameters to disambiguate them from connection-related parameters.
2020-09-16 10:11:23 -04:00
Clebert Suconic
054b14829e This closes #3260 2020-09-16 10:10:28 -04:00
Justin Bertram
6be8966164 ARTEMIS-2901 support namespace for temporary queues 2020-09-16 10:10:28 -04:00
Clebert Suconic
ba902a9816 This closes #3263 2020-09-16 10:10:07 -04:00
Justin Bertram
b99401a84f ARTEMIS-2903 support admin objects in JCA RA
Supporting admin objects will allow easier integration with Java EE
application servers. I tested this in Wildfly 18.
2020-09-16 10:10:07 -04:00
Clebert Suconic
411009213f This closes #3264 2020-09-16 10:09:38 -04:00
Urs Roesch
7cf787af55 NO-JIRA: web-server.md documentation typos
Fixing case for `trustStorePath`, `trustStorePassword`, `keyStorePath`
and `keyStorePassword` to prevent org.xml.sax.SAXParseException.
2020-09-16 10:09:38 -04:00
Clebert Suconic
42d7c33268 This closes #3228 2020-09-16 10:03:36 -04:00
Howard Gao
fe5b81fd55 ARTEMIS-2854 Non-durable subscribers stop receiving after failover
In a cluster scenario where non durable subscribers fail over to
backup while another live node forwarding messages to it,
there is a chance that the the live node keeps the old remote
binding for the subs and messages go to those
old remote bindings will result in "binding not found".
2020-09-16 10:03:36 -04:00
Clebert Suconic
3e557f1070 ARTEMIS-2902 Fixing QueueControlUsingCoreTest Class Cast Exception on Long to Integer 2020-09-16 09:56:41 -04:00
Clebert Suconic
e366692626 This closes #3261 2020-09-15 11:08:59 -04:00