Commit Graph

10258 Commits

Author SHA1 Message Date
gtully 2d394b383c AMQ-7167 - ensure remote IP is visible in acceptor error messages from the transport connector - test and fix 2019-03-13 10:21:19 +00:00
gtully a000a73431 no jira - init throwable cause to identify error on shutdown 2019-03-13 10:14:06 +00:00
gtully d5df23b8fb no jira - fix unit test failure 2019-03-13 10:03:18 +00:00
gtully b9bcd2fcc3 AMQ-7165 - ensure failover updated uris are additive such that statically configured uris are respected 2019-03-12 12:24:20 +00:00
Dejan Bosanac 98b9f2e283 AMQ-7166 - upgrade mqtt client library 2019-03-11 14:45:07 +01:00
Gary Tully c96f3d75a8
Merge pull request #350 from alanprot/AMQ-7163
AMQ-7163 - If the broker had an unclean shutdown and number of free p…
2019-03-07 10:07:06 +00:00
Alan Protasio cd1d5eb785 AMQ-7163 - If the broker had an unclean shutdown and number of free pages is Zero after the recovery, the next shutdown will also be 'unclean' 2019-03-06 15:33:52 -08:00
Christopher L. Shannon (cshannon) c46965c93c Merge branch 'AMQ-7159'
This closes #349
2019-03-06 14:47:21 -05:00
Alan Protasio 87467dc61e AMQ-7159 - Adding a new attribute on PersistenceAdapterViewMBean to show information about Storage write/read latency 2019-03-06 11:41:08 -08:00
gtully 5bd2abf85d AMQ-5790 - rework the fix from AMQ-4486 to tie the inbound xaResource connection lifectyle to the rar start/stop 2019-02-26 12:26:18 +00:00
Christian Schneider 7c872afa22 AMQ-7153 - Publish BrokerService as OSGi service 2019-02-21 16:34:45 +01:00
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
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