Commit Graph

10429 Commits

Author SHA1 Message Date
bd2019us ca77f9cfc9 [AMQ-7199] Replace Math.Random with Random.nextDouble 2019-05-10 21:39:53 -05:00
Alan Protasio b56819123b AMQ-7196 - During startup ActiveMq load all the scheduleDB.data on memory causing OOM 2019-05-08 12:00:42 -07:00
gtully 7404b43f2d AMQ-7193 - resolve intermittent NPE on duplex network connector start; wait for start completion before dispatching inbound messages, fix and test 2019-05-02 16:31:26 +01:00
Colm O hEigeartaigh 13f223f138 Updating Spring + Camel versions 2019-05-02 10:31:53 +01:00
Christopher L. Shannon (cshannon) bf3a9f44f6 AMQ-7191 - Prevent extra creation of openwire verifier objects per new
connection when using the auto transport
2019-04-30 08:41:08 -04:00
Robbie Gemmell aff9413cdb AMQ-7189: ensure messages with defauled durable field are internally classed non-persistent by the 'native' transformer 2019-04-26 12:55:14 +01:00
gtully 30abc45f62 no jira - remove extraneous printStackTrace, ex is propagated up 2019-04-18 14:38:30 +01:00
gtully 487d4a112e AMQ-7185 - track durable sub prepared acks in preCommit callback and release/remove on xa outcome, avoid duplicate delivery; fix and test 2019-04-17 14:31:11 +01:00
Timothy Bish 56ffcae3c7 AMQ-7179 Update Qpid JMS and Proton-j to latest and sync netty 2019-04-09 11:23:36 -04:00
gtully 39047021e7 AMQ-7165 - randomize needs to be disabled to make test deterministic 2019-04-05 13:39:41 +01:00
Christopher L. Shannon (cshannon) ccf56875b0 NO-JIRA - Update spring schemas and missing license files 2019-03-15 07:24:31 -04:00
Christopher L. Shannon (cshannon) a9e7111a9a AMQ-7103 - Dependency Updates
(cherry picked from commit dd74f468db)
2019-03-15 07:04:56 -04:00
Christopher L. Shannon (cshannon) f9a3bd5e85 Merge branch 'AMQ-7112'
This closes #324
2019-03-15 06:17:48 -04:00
Alan Protasio 84f8447a19 AMQ-7112 - Show duplex network bridges in the remote broker console 2019-03-15 06:15:05 -04:00
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
Hoan Nguyen 0262338687
close DataByteArrayOutputStream buff of WriteBatch 2019-02-26 19:07:26 -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