Justin Bertram
695bc5a648
ARTEMIS-3888 make web console detection more robust
...
Currently the broker detects the presence of the web console by looking
for the name of a file (i.e. console.war). This is fragile because if
the file is renamed for any reason then the broker won't print the
status of the web console when it starts.
This commit improves web console detection by inspecting the
<display-name> tag in the war file's WEB-INF/web.xml. By default it
looks for "hawtio", but this can be customized using the system property
"org.apache.activemq.artemis.webConsoleDisplayName".
2022-07-19 13:42:56 -04:00
Yesenkov
ff1fe7f6b5
ARTEMIS-3892 user limits not working with cert auth
2022-07-19 13:20:49 -04:00
Justin Bertram
ff770d540d
ARTEMIS-1964 fix and deprecate getNumberOfMessages() on AddressControl
...
AddressControl has 2 methods to get same metric. Both
getNumberOfMessages() and getMessageCount() return the same metric
albeit in different ways.
Also, getNumberOfMessages() inspects both "local" and "remote" queue
bindings which is wrong.
This commit fixes these issues via the following changes:
- Deprecate getNumberOfMessages().
- Change getNumberOfMessages() to invoke getMessageCount().
- Add a test to ensure getNumberOfMessages() does not count remote
queue bindings.
- Simplify getMessageCount(DurabilityType).
2022-07-19 13:08:23 -04:00
Clebert Suconic
8e54a65227
ARTEMIS-3767 Incompatibility on replication between 2.17 and current version
2022-07-18 16:34:31 -04:00
Gary Tully
7bc3b02809
ARTEMIS-3895 - treat properties url with trailing slash as directory of .properties files and apply in lexical order of name
2022-07-18 10:38:54 +01:00
Justin Bertram
a0fb174c8f
NO-JIRA clarify JmsTemplate warning
2022-07-16 14:52:53 -05:00
Clebert Suconic
0f5bd28e23
ARTEMIS-2894 Small tweak into newInstance call
2022-07-14 11:55:24 +01:00
Gary Tully
d3ed11da2a
ARTEMIS-3894 - resolve errorprone warn on vargs call
2022-07-13 15:44:26 -04:00
Gary Tully
7ee820864b
ARTEMIS-3894 - add conversion from string for list - allow core bridge static connector config via properties
2022-07-13 15:44:26 -04:00
Clebert Suconic
8a6ee31055
NO-JIRA Adding a non failing test on TX send and mirror
2022-07-13 13:00:00 -04:00
Robbie Gemmell
ee877e83a6
ARTEMIS-3885: refresh documentation build deps
...
This closes #4142
2022-07-13 17:07:37 +01:00
Robbie Gemmell
52c2372053
ARTEMIS-3893: update to commons-configuration 2.8.0
...
This closes #4139
2022-07-13 12:35:13 +01:00
Gary Tully
1f2543029c
ARTEMIS-3891 - allow TransformerConfig creation via properties
2022-07-13 00:01:35 -04:00
Gary Tully
4a4765c39c
ARTEMIS-3890 - rework LVQ implementation to ensure all messages get delivered, replacement of lvq now tied to the deliver loop. Fix issue with duplicates - bug in LinkedListImpl`
2022-07-13 00:01:16 -04:00
Justin Bertram
91f1d37266
This closes #4114
2022-07-11 14:50:11 -05:00
Ryan Highley
57f48ee146
ARTEMIS-3558 Add broker-connections to config idx
...
Adds links to existing amqp-broker-connections.md doc to
configuration-index.md covering broker.xml elements.
2022-07-11 14:50:11 -05:00
Justin Bertram
09859655f0
This closes #4132
2022-07-11 14:25:43 -05:00
Chuf
e6e9dfd55f
Upgrade jetty to v10
2022-07-11 14:25:43 -05:00
Justin Bertram
8ef91333f7
This closes #4137
2022-07-11 13:44:34 -05:00
Domenico Francesco Bruscino
15d839a6b0
ARTEMIS-3820 Fix browsing original queue of AMQP messages
2022-07-11 13:44:33 -05:00
Justin Bertram
f3954961e3
This closes #4138
2022-07-11 12:03:14 -05:00
Justin Bertram
597953b6e2
ARTEMIS-3886 fix CLI operation retry
...
Commit f8b045bd2d
broke the operation
retry as it introduced local variables named "user" and "password" which
overried the class-level variables of the same name. Therefore, when the
user re-enters the username and password on the command-line those
values won't actually be used when attempting to reconnect.
2022-07-11 12:03:14 -05:00
Robbie Gemmell
1c0a6d4091
ARTEMIS-3885: refresh documentation build deps
2022-07-06 13:29:02 +01:00
Robbie Gemmell
a207c614e7
ARTEMIS-3883: use same version + junit helpers as rest of build to start embedded test Directory for example, rather than custom classes
...
Also tweak example output for clarity
2022-07-05 12:52:11 +01:00
Robbie Gemmell
831292e975
ARTEMIS-3883: use common config property to ensure already-aligned httpclient version remains so
2022-07-04 14:51:07 +01:00
Robbie Gemmell
aa14c6e2c8
ARTEMIS-3883: align version of activemq-client used in tests and examples
2022-07-04 14:23:19 +01:00
Robbie Gemmell
8ab792d13c
NO-JIRA: update stale Travis config
2022-07-04 09:46:48 +01:00
GChuf
0ac764324d
NO-JIRA: Update github actions
...
Updates OS from Ubuntu 18 to Ubuntu 20
Updates github actions cache, checkout and setup-java to v3
2022-07-01 20:02:06 +01:00
Robbie Gemmell
ea498e50e3
NO-JIRA: rework GHA jobs cache config
...
- Use simple path instead of earlier workarounds.
- Add cleanup step instead to purge some output.
- Change back to single shared cache, reduces number and combined size
of caches, Checks job usually completes first and contains superset.
- Change the intial key prefix so as to force a new cache
2022-07-01 12:32:49 +01:00
Clebert Suconic
da38fcce71
NO-JIRA reformat AMQPMirrorControllerTarget
2022-06-30 17:37:27 -04:00
iliya
d90179b99c
ARTEMIS-3815 proper retry through IOCompletion when message not found on target queue on Mirror
...
co-authored Clebert Suconic
2022-06-30 17:37:27 -04:00
Robbie Gemmell
2f361b1d40
ARTEMIS-3878: Update to Derby test dep to 10.14.2.0
...
This closes #4129
2022-06-30 11:42:24 +01:00
Clebert Suconic
68f6d8263d
ARTEMIS-3743 / ARTEMIS-3766 Use ACKReason on Mirror to determine target operations and fixing Delivering statistics on Mirror
...
I merged these two JIRAs into one as I was doing an overal check on Mirroring
2022-06-29 19:20:03 -04:00
Robbie Gemmell
1bcf0f35f8
ARTEMIS-3877: move site javadoc generation into release profile, add placeholder for regular assembly use, like all the other module content
...
Adds specific check run to CI job for building the website content, and fixes up some small issues with the other site placeholder content.
2022-06-29 15:46:08 -04:00
Robbie Gemmell
dc8123dfc3
ARTEMIS-3876: stop extracting native lib files for every module, only the root where the tests looks for them
2022-06-28 17:34:49 +01:00
Clebert Suconic
3e4013d8ca
ARTEMIS-3868 Journal compactor split improvement
...
The condition fixed on this commit should not really happen in production
as the compacting counts should always be ordered (records that were compacted earelier will always be at the top of the journal).
However it highlights an improvement that could be done on the journal compacting.
2022-06-27 14:36:36 -04:00
Robbie Gemmell
2ab0e85db4
ARTEMIS-3874: move/update various bits to allow removing many test-jar creations and dependencies
2022-06-27 09:52:54 -04:00
Ryan Highley
2123de415b
ARTEMIS-3873 AMQP Broker Conn Encrypted Attrs
...
Adds support for ENC(...) attribute values for user and password on
amqp-connection.
2022-06-27 14:37:27 +02:00
Robbie Gemmell
d199bf3c8c
ARTEMIS-3870: mark -all client deps optional in distribution pom, avoid passing on clashing/duplicate deps
2022-06-23 09:42:15 +01:00
Gary Tully
6d926719f4
ARTEMIS-3863 - allow Role configuration via properties
2022-06-23 09:41:33 +01:00
Clebert Suconic
56e9d9525d
ARTEMIS-3864 Removing debug statement
2022-06-21 16:53:17 -04:00
Clebert Suconic
8d29742d40
ARTEMIS-3862 Adding Topic Durable Subscription to RemoveSubscriptionRaceTest
...
This commit just contains test additions
2022-06-21 13:24:33 -04:00
Robbie Gemmell
78587f0a82
NO-JIRA: remove unused methods and related dependencies left from initial copy plus some other cleanup
2022-06-20 16:37:04 +01:00
Erwin Dondorp
fd345f0a03
ARTEMIS-3858 fix navigation from consumer/producer columns of a session to those consumers/producers
2022-06-20 06:50:53 +02:00
Clebert Suconic
c1fd16d66a
ARTEMIS-3864 StompTransactions leaking on ActiveMQServer.getSessions()
...
After a TX in stomp is committed, a session will never be cleared from ActiveMQServer
2022-06-17 16:57:35 -04:00
Clebert Suconic
9dd026118e
ARTEMIS-3862 Short lived subscriptiong makes address size inconsistent
2022-06-17 16:57:35 -04:00
Robbie Gemmell
196e604778
NO-JIRA: suppress significant teardown stacktraces after compatibility test that is a no-op...make test itself skip
2022-06-17 13:02:37 +01:00
Clebert Suconic
d0d2a9a16b
2.23.1 release notes on doc
2022-06-14 15:03:49 -04:00
Clebert Suconic
342565d4c1
ARTEMIS-3850 Eliminate Page Soft Cache. Add Option to read messages based on sizing.
2022-06-14 14:53:14 -04:00
Justin Bertram
64de8f8f4e
ARTEMIS-3859 offer "Original Queue" column only for dead-letter or expiry queues
2022-06-14 14:49:16 -04:00