Commit Graph

10353 Commits

Author SHA1 Message Date
Christopher L. Shannon (cshannon) 7fdad3a73d AMQ-7151 - Remove dependency on Guava from activemq-broker
Guava is supposed to only be used for the leveldb store and as a test
    dependency elsewhere but there is one spot it is used in activemq-broker for
    filtering collections. With Java 8 this can be easily rewritten to avoid the use of Guava.

    This commit is based on the patch submitted by Filip Hrisafov
2019-02-18 07:49:47 -05:00
Colm O hEigeartaigh a48cc820d2 Enable X-XSS-Protection + X-Content-Type-Options headers for the webconsole 2019-02-13 21:29:51 +00:00
Jean-Baptiste Onofré 1cf13c4742
Merge pull request #344 from coheigea/disable_dir_listing
Disable directory listing for the webconsole
2019-02-09 07:22:31 +01:00
Colm O hEigeartaigh 84f675a7a1 Disable directory listing for the webconsole 2019-02-08 15:25:13 +00:00
Alan Protasio 9e65435517 AMQ-7143 - Temporary transaction file (PageFile) being opened and closed many times, causing poor performance on high latency FS as NFS 2019-01-31 10:31:16 -05:00
jgoodyear ec9daee6c3 [AMQ-7135] Update AMQ2832 unit test expectation post 7135 fix 2019-01-28 18:08:00 -03:30
Colm O hEigeartaigh 13c9f2bbd8 Update copyright year 2019-01-21 10:19:37 +00:00
Jakub Herkel 0536fb7a0e replace hardcoded path to etc directory with ${karaf.etc} 2019-01-17 19:32:51 +01:00
Christopher L. Shannon (cshannon) daea192eef AMQ-7085 - Properly start TempUsage inside Queue start
This fix allows temp usage changes to the broker temp usage to propagate
properly to a Queue's temp usage settings

Patch applied with thanks to David Sitsky
2019-01-17 07:58:36 -05:00
Christopher L. Shannon (cshannon) 9fba7ec352 AMQ-7132 - update RecoveryStatsBrokerTest back to using always journal sync but a smaller journal size and less test messages to speed up test 2019-01-16 13:52:52 -05:00
Jean-Baptiste Onofré ad6df3ca5a
Merge pull request #338 from coheigea/loginmodules
[AMQ-7137] Implement abort() properly in the LoginModules. Also fix a bug in Lda…
2019-01-16 17:14:13 +01:00
Colm O hEigeartaigh 042cad9e93 AMQ-7137 - Implement abort() properly in the LoginModules. Also fix a bug in LdapLoginModule relating to Logout 2019-01-16 14:12:35 +00:00
Christopher L. Shannon (cshannon) ae357564b4 AMQ-7132 - user periodic fsync in RecoveryStatsBrokerTest to improve performance 2019-01-16 06:28:47 -05:00
Christopher L. Shannon (cshannon) c3714457f1 AMQ-7136 - Improve recovery of durable subscription metrics in KahaDB
Updated metrics recovery to only have to iterate over the order index 1
time to recovery the pending metrics for the subscriptions instead of
making a pass over the index once per subscription
2019-01-15 14:22:26 -05:00
hkesler 5c23dd53ad AMQ7135 : do a purge before deleting the destination
(cherry picked from commit 9f513f8878)
2019-01-14 13:44:52 -03:30
Christopher L. Shannon (cshannon) 03ce997ff2 Merge branch 'AMQ-7132'
This closes #336

Thanks to Alan Protasio for the patch
2019-01-14 10:54:33 -05:00
Alan Protasio 4b51f8b66c AMQ-7132 - ActiveMQ reads lots of index pages upon startup (after a graceful or ungraceful shutdown) 2019-01-14 10:54:26 -05:00
avi5kdon b10458e2c6 AMQ-7125 Broker does not send error frame when an empty destination is sent with a stomp subscribe frame 2019-01-14 15:31:43 +00:00
Christopher L. Shannon (cshannon) a16b227808 AMQ-7129 - code cleanup 2019-01-11 10:31:44 -05:00
Christopher L. Shannon (cshannon) fa2daa25e9 AMQ-7129 - fix durable message size statistics with individual ack
Make sure that the pending message size for a durable sub only includes
messages part of the ack range
2019-01-11 09:56:57 -05:00
Jean-Baptiste Onofré d29c1be66a Update scm section 2019-01-11 15:24:42 +01:00
Christopher L. Shannon (cshannon) 703b8cbda3 AMQ-7129 - minor junit test fix 2019-01-09 14:39:11 -05:00
Christopher L. Shannon (cshannon) 25de20c77e AMQ-7129 - Properly recover messages from KahaDB for a durable when there are
messages to recover before the stored lastAck value

With individual ack mode we need to check the durable ackPosition
sequence set in the KahaDB index on subsription load to see if there are
earlier messages before the lastAck value that still haven't been acked.
While this normally wouldn't happen it is possible in individual ack
mode
2019-01-09 14:34:06 -05:00
Timothy Bish 49296f9259 AMQ-7097 Update Qpid JMS and Netty to latest
Qpid JMS to v0.40.0
Netty to 4.1.32.Final
2019-01-09 11:03:34 -05:00
jgoodyear 4a21edc8d5 [AMQ-7126] Improvement to perf of 5266Test 2019-01-07 21:22:34 -03:30
Jeff Genender 273afef47c AMQ-7118 - Override hostname for naming to allow tests to apss on all
platforms
2019-01-07 17:07:08 -07:00
jgoodyear b86c666c40 [AMQ-7126] Prevent OOM when recovering KahaDB and memory space is insufficient to load full page. Thank you Heath Kesler and Johan Edstrom for investigation and patch. 2019-01-03 15:46:39 -03:30
Colm O hEigeartaigh ca3befb742 Update OWasp dependency check plugin version 2019-01-02 21:14:09 +00:00
Timothy Bish 66db4e94bb AMQ-7097 Update Qpid JMS and proton-j to laetst
Qpid JMS 0.39.0 and proton-j 0.31.0 released
2018-12-04 11:52:36 -05:00
jgoodyear 612d4aeeb4 AMQ-7118 This closes #327 - with thanks to Heath Kesler 2018-12-04 12:54:30 -03:30
Colm O hEigeartaigh a72b59253f Set the secure processing feature on the TransformerFactory 2018-11-28 18:10:32 +00:00
gtully 6d4459a00c AMQ-7115 - ensure transport error handling is a one shot for a connection - avoid contention and possible dead lock - fix and test 2018-11-28 14:27:59 +00:00
212726340 b65fedf4dd NO-JIRA: CronParserTest is failing in Indian StandardTime 2018-11-23 15:49:04 +05:30
Jean-Baptiste Onofré 097f82a246 [AMQ-7076] This closes #320 2018-11-22 17:07:20 +01:00
Jean-Baptiste Onofré 57e38509e5 [AMQ-7076] Does not define spring-legacy repository by default in ActiveMQ Karaf features repo, and let the user add it 2018-11-22 16:07:51 +01:00
Jean-Baptiste Onofré 112c4e602f This closes #321 2018-11-22 14:41:08 +01:00
Colm O hEigeartaigh a87b61e8be Enable secure processing on all DocumentBuilderFactory.newInstance() 2018-11-22 10:24:43 +00:00
Alan Protasio 2eda327aba AMQ-7107 - Make QueueBrowsingTest and UsageBlockedDispatchTest succeed with ConcurrentStoreAndDispachQueues=false 2018-11-21 13:18:12 -08:00
gtully 8cc0c5ad6c AMQ-7106 - fix pending stop support by avoiding sync through single shared status var - fix and test 2018-11-21 10:23:13 +00:00
Timothy Bish d020af2034 AMQ-7097 Update AMQP dependencies to latest
Update Qpid JMS, Proton-J and Netty to the latest release.
2018-11-16 13:24:42 -05:00
gtully 9cb680c0ba AMQ-7102 - don't track objectNames that have not been registered due to suppressMBean filter, fix and test 2018-11-15 17:45:18 +00:00
Christopher L. Shannon (cshannon) 50d1fe9f8e NO-JIRA: Add 5.15.8 schema version 2018-11-14 10:01:03 -05:00
gtully bc8c78cd32 AMQ-7009 - apply fix to memorymessagestore setBatch with thanks to Nezih BEN FREDJ for test and suggestion 2018-11-14 14:21:27 +00:00
jgoodyear bc13deb533 This closes #315 - with thanks to Alan Protasio 2018-11-12 17:53:18 -03:30
Alan Protasio 9012a7871b AMQ-7091 - O(n) Memory consumption when broker has inactive durable subscribes causing OOM 2018-11-12 17:48:53 -03:30
jgoodyear 98dc99e984 Small change to verify repo access. 2018-11-12 17:31:43 -03:30
gtully d2b0affedb AMQ-7094 - track the objectName with an annotated mbean such that the jmx audit log event can extract that target of an mbean operation, fix and test 2018-11-08 12:10:01 +00:00
gtully 85859fd8dc AMQ-7082 We should make sure that pages managed during recovery are not recovered in error
variation of patch from Alan Protasio <alanprot@gmail.com> closes #317
2018-11-07 11:29:14 +00:00
Christopher L. Shannon (cshannon) 81062fde88 Merge branch 'AMQ-7082'
This closes #316

Thanks to Alan Protasio for the patch
2018-11-06 08:24:38 -05:00
Alan Protasio 0d34338919 AMQ-7082 - Make sure that the recovery will only mark pages as free if they were created in a previous execution 2018-11-06 04:48:22 -08:00