Commit Graph

547 Commits

Author SHA1 Message Date
Jonathan Gallimore 369c05fe77 AMQ-8275 eliminate use of reflection for SNI on SslTransport
(cherry picked from commit 34c4e186fe)
2021-12-19 08:02:03 +01:00
Jean-Baptiste Onofré be8fc6e6eb [maven-release-plugin] prepare for next development iteration 2021-08-10 07:47:44 +02:00
Jean-Baptiste Onofré 50582306a7 [maven-release-plugin] prepare release activemq-5.16.3 2021-08-10 07:47:23 +02:00
xingrufei ec23ab93dd [AMQ-8350] ActiveMQMessage.getStringProperty() should exchange equals method call objects
(cherry picked from commit dbbf3cb3f3)
2021-08-06 07:17:18 +02:00
dvhvsekhar f942276c30 AMQ-8304: Added a check with !isStopping() also before attempting to read input stream (#672)
(cherry picked from commit 8584b46e76)
2021-07-04 06:43:29 +02:00
Christopher L. Shannon (cshannon) dc786edecc AMQ-6660 - Use a separate lock for lazy scheduler creation to prevent
deadlocks

Switch to using a dedicated lock to initialize the Scheduler object
inside of ActiveMQConnection to prevent a deadlock scenario that occurs
when using the intrinsic ActiveMQConnection lock. This is using double
checked locking so this lock will only be contended with during lazy
creation and then will rely on the volatile reference for future reads
and when stopping/closing.

(cherry picked from commit 3f5abd4433)
2021-06-25 11:39:03 -04:00
Christopher L. Shannon (cshannon) 0f952f72f7 AMQ-8287 - fix NIOSSLTransport deadlock with serviceRead lock
This narrows the lock that was added to serviceRead() to secureRead()
which prevents processing commands while locked which should solve the
deadlock issues

(cherry picked from commit 2fcf2fd75f)
2021-06-02 13:54:37 -04:00
jbonofre 9eda1508e3 [maven-release-plugin] prepare for next development iteration 2021-04-21 07:39:09 +02:00
jbonofre ff1af27106 [maven-release-plugin] prepare release activemq-5.16.2 2021-04-21 07:38:47 +02:00
gtully 818d885d6c AMQ-7298 - fix regression with broker redelivery plugin, fix and test relates to AMQ-8168
(cherry picked from commit c4d2ddfce9)
2021-04-21 07:29:18 +02:00
Jonathan Gallimore 6dffc018d1 Remove dependency activemq-http and activemq-stomp
(cherry picked from commit 82b3d02fc2)
2021-03-24 11:36:57 +01:00
Matt Daley d8dfa3d053 Stop failed timer task from breaking timers.
(cherry picked from commit b379879dbf)
2021-03-23 14:44:23 +01:00
Andrei Shakirin 9c64c63c7b AMQ-6894: limit poison exception message to 1024
(cherry picked from commit d0dab2e88b)
2021-03-22 06:03:07 +01:00
Christopher L. Shannon (cshannon) 51a4014c54 AMQ-8183 - prevent infinite loop when maxFrameSize is exceeded
This makes sure the nio transport thread properly terminates if
maxFrameSize is exceeded with OpenWire to prevent an infinite loop that
uses up all the cpu

(cherry picked from commit 944ca6c7e1)
2021-03-11 10:02:25 -05:00
Christopher L. Shannon (cshannon) 8d34120d93 AMQ-8169: Synchronize on serviceRead inside NIOSSLTransport
This is needed to prevent concurrent access to the SSLEngine during
initialization. This is a regression from when auto+nio+ssl was added.

(cherry picked from commit 1654e6c79c)
2021-03-09 21:20:26 +01:00
jbonofre 6d82e628f7 [maven-release-plugin] prepare for next development iteration 2021-01-14 14:02:35 +01:00
jbonofre e432a78c19 [maven-release-plugin] prepare release activemq-5.16.1 2021-01-14 14:00:24 +01:00
jbonofre 4cc287fcd7 [AMQ-8097] Deal with deserialization with xstream unmarshal poison ack
(cherry picked from commit cbc1baa07a)
2021-01-13 18:29:12 +01:00
Andrew Levandoski 6eddfe5cac AMQ-8011 - Performance Related issue in ClassLoadingAwareObjectInputStream.checkSecurity()
(cherry picked from commit f3e0ab4c5a)
2020-11-21 19:06:26 +01:00
Gary Gregory 020276f499 Guard against null return value from java.net.NetworkInterface.getNetworkInterfaces().
(cherry picked from commit d292372902)
2020-11-20 18:13:50 +01:00
Benjamin Graf 054febe0c9 AMQ-8055 - rename posion to correct poison
(cherry picked from commit a2e718f259)
2020-11-10 16:13:57 +01:00
Jean-Baptiste Onofré 334476ac63 [maven-release-plugin] prepare for next development iteration 2020-06-25 07:26:41 +02:00
Jean-Baptiste Onofré 86dd78b1aa [maven-release-plugin] prepare release activemq-5.16.0 2020-06-25 07:26:13 +02:00
Jean-Baptiste Onofré 6908749c2f Fix version 2020-06-25 07:13:04 +02:00
Jean-Baptiste Onofré ff2dae82f3 [maven-release-plugin] prepare release activemq-5.16.0 2020-06-24 21:56:52 +02:00
jbonofre 4ed2ba22a9 Cancel 5.16.0 release 2020-06-24 15:19:34 +02:00
Jean-Baptiste Onofré cd1e9f8697 [maven-release-plugin] prepare for next development iteration 2020-06-23 17:40:26 +02:00
Jean-Baptiste Onofré 2e890c6224 [maven-release-plugin] prepare release activemq-5.16.0 2020-06-23 17:39:53 +02:00
Jean-Baptiste Onofré 4991668549
Merge pull request #517 from coheigea/AMQ-7450
AMQ-7450 - Put some restrictions on the URLs that are allowed in Blob…
2020-06-23 07:01:38 +02:00
jbonofre 88525ce650 [AMQ-7121] Set setter accessible (for JDK 11) 2020-06-22 17:35:49 +02:00
gtully ed41101755 AMQ-7497 - support reconnect of the single RA xaResource connection 2020-06-11 19:39:18 +01:00
Colm O hEigeartaigh 45108a2328 AMQ-7450 - Put some restrictions on the URLs that are allowed in BlobMessages 2020-05-25 14:24:10 +01:00
Pascal Schumacher efcca7d062 Fix javadoc warnings related to non-existing parameter names. 2020-05-22 10:49:39 +02:00
gtully 62cfe83e9d [AMQ-7291] rework fix to initializeWriting but just with the read only properties check 2020-05-21 10:41:58 +01:00
Jean-Baptiste Onofré 173426c55c
Merge pull request #535 from jbonofre/AMQ-7480
[AMQ-7480] Avoid NPE if original exception is null
2020-05-21 09:52:33 +02:00
jbonofre ecbeb6d2eb [AMQ-7480] Avoid NPE if original exception is null 2020-05-19 16:51:23 +02:00
Pascal Schumacher 67e06c82f7 Fix some javadoc warnings releated to non-existing parameter names. 2020-05-17 11:38:05 +02:00
Jean-Baptiste Onofré 079d9d7fe4
Merge pull request #504 from PascalSchumacher/ServiceStopper#throwFirstException_remove_unreachable_code
Remove unreachable code in ServiceStopper#throwFirstException.
2020-05-16 07:20:39 +02:00
Jean-Baptiste Onofré 0444dd96b2
Merge pull request #505 from PascalSchumacher/potential_overflow_in_int_multiplication
Avoid potential overflow in int multiplication before it is converted…
2020-05-16 07:17:13 +02:00
gtully 0ebb0f88ef [AMQ-7485] add check for rollbackonly flag in session send such that failed ended transactions prevent further work till next transaction boundary 2020-05-15 15:39:56 +01:00
Jean-Baptiste Onofré 41bef94293
Merge pull request #521 from coheigea/AMQ-7458
AMQ-7458 - Implement bounds checking on the message scheduling proper…
2020-05-15 15:52:23 +02:00
anushaCoder a5e70fa2d7 [AMQ-7463] Use ConcurrentHashMap in client connection state to avoid ConcurrentModificationException 2020-05-15 06:40:36 +02:00
gtully aa03f295f5 AMQ-7464 - ensure message.copy before server session run dispatch 2020-04-08 14:57:49 +01:00
Colm O hEigeartaigh 24aaa4698c AMQ-7458 - Implement bounds checking on the message scheduling properties 2020-03-27 12:14:03 +00:00
jbonofre 6355f507c3 Revert "AMQ-7291 - allow setting properties after clearProperties for BytesMessage, closes #420"
This reverts commit 503416a001.
2020-03-10 16:16:01 +01:00
Pascal Schumacher b43f5b8cf2 Avoid potential overflow in int multiplication before it is converted to long. 2020-03-08 11:50:21 +01:00
Pascal Schumacher 68355136d2 Remove unreachable code in ServiceStopper#throwFirstException. 2020-03-08 11:27:24 +01:00
Colm O hEigeartaigh 67fb6f8871 AMQ-7423 - Remove synchronization from JAAS PropertiesLoader 2020-02-27 15:29:26 +00:00
Jean-Baptiste Onofré bfb810c507
Merge pull request #466 from coheigea/misc_fixes
AMQ-7413 - Misc logging fixes
2020-02-22 07:49:55 +01:00
gtully 503416a001 AMQ-7291 - allow setting properties after clearProperties for BytesMessage, closes #420 2020-02-19 13:01:25 +00:00