11205 Commits

Author SHA1 Message Date
Jean-Baptiste Onofré
92627fa759 Fix log4j artifact coordinates 2022-03-06 11:31:01 +01:00
ilyes Ajroud
b6d325eb12 add the capability to override memory options
since the last release , the xmx and xms are hardcoded on `env` , the goal is to use ACTIVEMQ_OPTS_MEMORY environement variable if needed to override memory options

(cherry picked from commit 1ba4628be6d6e05384bc49fdfb12a06cb7d97029)
2022-03-06 07:49:24 +01:00
Jean-Baptiste Onofré
f7d94093be [AMQ-8522] Secure /api path on the web console
(cherry picked from commit a74fe37582dc7cabc77828fda9642f580f4cf857)
2022-03-06 07:46:26 +01:00
Christopher L. Shannon (cshannon)
b31cc6f2cb AMQ-7309: Compilation fixes after revert of JMS 2.0 api change 2022-03-03 16:58:17 -05:00
Christopher L. Shannon (cshannon)
da9e5276f1 AMQ-8520: Log4j2 test fixes
Also fixes Log4jConfigView

(cherry picked from commit ae30dce4e24ce5e0467d2a3219627cbefef1f0ae)
2022-03-03 16:42:22 -05:00
Matt Pavlovich
4d662648be [AMQ-8520] WIP: Convert activemq-unit-tests to log4j2
(cherry picked from commit 7ec5254bb59924b09d124fc19c797c2587bceea6)
2022-03-03 16:42:20 -05:00
Christopher L. Shannon (cshannon)
efe3f5b7d4 AMQ-8520: Re-enable all modules to compile and build by default
Updates the modules part of the previous full.test profile to always
build but skip running tests by default.

Also fixed miss dependency updates including log4j and jetty

(cherry picked from commit f240cb58067636e1b32d17f8748c8028019da262)
2022-03-03 16:41:38 -05:00
Christopher L. Shannon
d4222af9d1
Merge pull request #786 from cshannon/AMQ-7309-revert
Revert "[AMQ-7309] Update to jakarta.jms/jakarta.jms-api:2.0.3 (#682)"
2022-03-01 15:06:24 -05:00
Christopher L. Shannon (cshannon)
8a4c928806 Revert "[AMQ-7309] Update to jakarta.jms/jakarta.jms-api:2.0.3 (#682)"
This reverts commit 67256c61b1560127e3a56ba9dede61cad3001f4a.
2022-03-01 10:25:01 -05:00
Jean-Baptiste Onofré
fa461c876a
Use Jetty atomic jar files instead of jetty-all (deprecated) and update to Jetty 9.4.45.v20220203 (#784)
* [AMQ-7358] Use jetty atomic jar files instead of jetty-all uber jar
(deprecated according to Jetty team)
[AMQ-8461] Upgrade to Jetty 9.4.45.v20220203
2022-03-01 15:33:50 +01:00
Jean-Baptiste Onofré
e597017200
Merge pull request #662 from jbonofre/AMQ-7426
[AMQ-7426] Upgrade to log4j2
2022-02-27 13:23:53 +01:00
Matt Pavlovich
094dbc89f3
[AMQ-8515] FailoverTransport should handle MaxFrameSizeExceededException (#785) 2022-02-25 19:46:45 -06:00
Jean-Baptiste Onofré
f03ed01d66
Merge pull request #781 from jbonofre/AMQ-8512
[AMQ-8512] Upgrade to rome 1.18.0
2022-02-25 10:16:48 +01:00
Jean-Baptiste Onofré
0673f78091 [AMQ-8512] Upgrade to rome 1.18.0 2022-02-24 15:52:54 +01:00
Matt Pavlovich
9956dd602a
[AMQ-8440] Set sendDuplicateFromStoreToDLQ to 'false' by default (#773) 2022-02-24 08:45:35 -06:00
Matt Pavlovich
e522feaad8
[AMQ-8511] Minor fix for amqp unit tests to help w/ CI build consistency (#780) 2022-02-24 08:45:25 -06:00
jbonofre
472dcf8497 [AMQ-7426] Upgrade to log4j2 2022-02-24 15:20:51 +01:00
Jean-Baptiste Onofré
4715a01877
Merge pull request #772 from mattrpav/AMQ-6883
[AMQ-6883] Update windows wrapper confs to be consistent with windows…
2022-02-23 18:32:08 +01:00
Cesar Hernandez
80d4804221 [AMQ-8503] Upgrade to jackson 2.13.1 2022-02-23 16:36:57 +01:00
Jean-Baptiste Onofré
11a22319f8 [AMQ-8502] Upgrade to Spring 5.3.16 2022-02-23 16:36:57 +01:00
Jean-Baptiste Onofré
89632f14a1
Merge pull request #775 from jbonofre/AMQ-8497
[AMQ-8497] Upgrade to Apache POM 25
2022-02-23 14:43:15 +01:00
Christopher L. Shannon (cshannon)
df354fa023 AMQ-8509: Update TempStore Usage test to verify cleanup
Add a unit test to the previous tests added in AMQ-7085 to verify
TempUsage is cleaned up and stopped on Queue.stop()
2022-02-23 07:41:24 -05:00
Christopher L. Shannon (cshannon)
fb7ae908ef Merge branch 'AMQ-8509' into main
This closes #778
2022-02-23 07:39:20 -05:00
Artur Pedroso
d1e9ba68b3 AMQ-8509: Fix TempUsage memory leak
If you have an application that creates lots of queues it will eventually
fail with OOM because TempUsage is started on Queue#start but never stopped.

The `systemUsage.getTempUsage().start()` used on the Queue#start
adds elements on a List from TempUsage parent and these elements
are never removed.

To reproduce this issue you need to leave an application
running for a long time creating different queues.

The only way to avoid the leak right now is to stop the BrokerService,
which isn't a solution.
2022-02-23 07:38:58 -05:00
Jean-Baptiste Onofré
56b5608233 [AMQ-8497] Upgrade to Apache POM 25 2022-02-22 14:55:01 +01:00
Christopher L. Shannon
bed86a078d
Merge pull request #770 from mattrpav/AMQ-8493
[AMQ-8493] Minor deprecation cleanups in activemq-client
2022-02-18 10:58:52 -05:00
Jean-Baptiste Onofré
b9f6efbf85
Merge pull request #774 from gemmellr/AMQ-7442-fix-build-warnings
AMQ-7442: fix duplicate plugin declaration build warnings
2022-02-18 09:14:50 +01:00
Robbie Gemmell
bd23fef5da AMQ-7442: resolve immediate build warnings due to duplicate plugin config.
Combines duplicate plugin entries following fc80b86ac68432f71a1015ee9588a0b6fcb5fbae changes.
2022-02-17 18:04:25 +00:00
Matt Pavlovich
cb27fd06ee [AMQ-6883] Update wrapper confs to be consistent memory and dedicatedTaskRunner 2022-02-16 14:27:29 -06:00
Matt Pavlovich
00925c1eff [AMQ-8493] Minor deprecation cleanups in activemq-client 2022-02-16 12:58:29 -06:00
Robbie Gemmell
a4b396db91 AMQ-8489: make the build fail quickly and obviously if not run on Java 11+, which is required.
Overrides the existing parent pom enforcer check. Updates to current plugin version.
2022-02-16 11:31:25 +00:00
Jean-Baptiste Onofré
6681cde88c Fix version in SECURITY.md 2022-02-15 07:35:30 +01:00
Jean-Baptiste Onofré
5da44f437a
Merge pull request #767 from coheigea/coheigea/SECURITY.md
Adding SECURITY.md for ActiveMQ
2022-02-15 05:38:56 +01:00
Colm O hEigeartaigh
da9be56d5b
Adding SECURITY.md for ActiveMQ 2022-02-15 04:34:35 +00:00
Robbie Gemmell
2c3a7c68df NO-JIRA: update year in source + bin assembly NOTICE files 2022-02-11 10:07:22 +00:00
Robbie Gemmell
01af3e87d7 NO-JIRA: update RAT plugin to 0.13 2022-02-11 10:01:22 +00:00
Jean-Baptiste Onofré
0d25df0f0b [AMQ-8410] Fix OSGi imports 2022-02-10 18:43:08 +01:00
Christopher L. Shannon
856d54c7bc
Merge pull request #762 from mattrpav/AMQ-8443-tests
[AMQ-8443] Add unit test
2022-02-09 10:48:04 -05:00
Matt Pavlovich
09458713aa [AMQ-8443] Add unit test 2022-02-09 08:50:24 -06:00
Christopher L. Shannon
a7109bc025
Merge pull request #761 from mattrpav/AMQ-8397-tests
[AMQ-8397] Add unit tests for AMQ-8397
2022-02-09 06:33:52 -05:00
Matt Pavlovich
9d8ee0d3b7 [AMQ-8397] Add unit tests for AMQ-8397 2022-02-08 22:19:57 -06:00
Christopher L. Shannon
fccb40f518
Merge pull request #759 from mattrpav/AMQ-8413b
[AMQ-8413] NetworkConnector remote user and pass unit test
2022-02-07 11:27:15 -05:00
Matt Pavlovich
2a9f777aab [AMQ-8413] NetworkConnectore remote user and pass unit test 2022-02-07 08:22:27 -06:00
Christopher L. Shannon (cshannon)
19949e36bc [AMQ-8412] - Add some comments for maxFrameSizeEnabled 2022-02-07 08:45:28 -05:00
Christopher L. Shannon
fb036974ca
Merge pull request #758 from mattrpav/AMQ-8053b
[AMQ-8053] UserIDBroker unit tests
2022-02-07 08:28:08 -05:00
Christopher L. Shannon (cshannon)
26a3c55833 AMQ-8412 - Add wireformat negotiation test for maxFrameSizeEnabled
Verify that maxFrameSizeEnabled being configured on the client or the
server is not negotiated and won't affect the other
2022-02-07 08:03:06 -05:00
Christopher L. Shannon
43aa1800fa
Merge pull request #756 from mattrpav/AMQ-8412c
[AMQ-8412] Update client-side maxFrameSize handling to be more symetrical with server-side
2022-02-07 08:01:58 -05:00
Matt Pavlovich
67a2edbf0d [AMQ-8412] Update client-side maxFrameSize handling to be more symetrical with server-side
- Handle in the OpenWireFormat class
 - Add unit tests to confirm
 - Verify compression is accounted for
 - Verify the ability to disable using wireFormat.maxFrameSizeEnabled=false
 - [cshannon] Reworked max frame size test case to add in all transports and all client/server cases
2022-02-06 17:45:11 -06:00
Matt Pavlovich
49f1b2c903 [AMQ-8053] UserIDBroker unit tests 2022-02-06 12:46:44 -06:00
Jean-Baptiste Onofré
c36ca15d5d Fix maven plugin version 2022-02-01 18:10:44 +01:00