Commit Graph

136 Commits

Author SHA1 Message Date
Colm O hEigeartaigh 3c276290a1
Fixing typo 2024-05-20 16:33:18 +01:00
Albertas Vyšniauskas 2ddc3c0746 AMQ-9432 Disable default Jetty WebSocket idle timeout 2024-02-16 13:01:28 +02:00
JB Onofré f4be8a6806 AMQ-9383: Copy transport options before sending in introspection setter 2023-11-08 15:01:17 +01:00
JB Onofré dc4b584c7e
Merge pull request #237 from sigee/cleaning
Remove unnecessary boxing / unboxing
2023-10-19 16:03:52 +02:00
JB Onofré 302a2f698e
Merge pull request #1053 from essobedo/fix-schema-location-in-web.xml
Fix the schema location in web.xml files
2023-10-13 16:03:14 +02:00
Nicolas Filotto 538b04aa0c
[AMQ-9255] Initialize the transient field of the class Message (#1051) 2023-10-03 07:54:40 -04:00
Nicolas Filotto 96613e1480
Fix the schema location in web.xml files 2023-09-15 15:49:44 +02:00
Christopher L. Shannon (cshannon) 0cb5b9bb72 Fix several hanging Http transport tests 2023-08-24 09:45:32 -05:00
Christopher L. Shannon (cshannon) ef0b6dd0f2 Fix timeout errors on Jetty shutdown
With the new Jetty updates the shutdown is being blocked by any calls to
open BlockingQueueTransports that are waiting on queue.poll(). This
commit sends a shutdown info packet to unblock the poll() and also
increases the timeout to something more reasonable such as 30 seconds.
2023-08-24 09:45:31 -05:00
Matt Pavlovich f1c7b7350f [AMQ-9239] jakarta.jms - activemq-http changes 2023-08-24 09:45:31 -05:00
sigee 3ba93ed957 Remove unnecessary boxing / unboxing 2023-07-23 12:08:23 +02:00
Jean-Baptiste Onofré 44a5539afc [AMQ-9102] Add http.nonProxyHost support in HTTP transport 2022-11-22 13:59:08 +01:00
Matt Pavlovich 680717cb95
[AMQ-8976] Add maxConnectionExceededCount metric for connectors (#850) 2022-07-18 16:20:25 -05:00
jbonofre 472dcf8497 [AMQ-7426] Upgrade to log4j2 2022-02-24 15:20:51 +01:00
Matt Pavlovich 950a140455 [AMQ-8282] Migrate from deprecated .newInstance() calls to .getConstructors().newInstance 2021-06-02 08:30:36 -05:00
Matt Pavlovich e4f81bf4d4
[AMQ-8283] Migrate to non-deprecated Jetty constructors and methods (#661) 2021-05-29 07:15:27 +02:00
Matt Pavlovich 2cc17a2fa0 [AMQ-8279] Compiler warning cleanups
- Remove unsused imports (exept for generated classes)
 - Convert to T.valueOf on boxed primitives from new T()
2021-05-25 09:34:35 -05:00
Jean-Baptiste Onofré fc80b86ac6
[AMQ-7442] Support JDK11 full build and code style (#647) 2021-05-25 06:55:39 +02:00
jbonofre 52a2bd446a [AMQ-7502] Remove leveldb 2021-03-25 18:54:53 +01:00
Jean-Baptiste Onofré db6098c53a
Merge pull request #365 from jgallimore/master-AMQ-7149
AMQ-7149 Remove dependency activemq-http and activemq-stomp
2021-03-24 11:36:04 +01:00
jbonofre 1e2a0de5cc [AMQ-8194] Upgrade to commons-lang3 3.12.0 2021-03-23 16:07:02 +01:00
Matt Pavlovich 79f1c2feb7 [AMQ-6951] Hide embedded jetty version
- WS transport
 - HTTP transport
2021-03-02 10:44:40 -06:00
Colm O hEigeartaigh 66cb8d4cfb AMQ-8029 - Place a bound on the data read in MessageServletSupport 2020-08-31 11:19:51 +01:00
Jean-Baptiste Onofré d2851888bf
Merge pull request #551 from coheigea/AMQ-7513
AMQ-7513 - Fix http://activemq.org links
2020-08-11 09:42:43 +02:00
Colm O hEigeartaigh e3e2fda509 AMQ-8020 - Replace toLowerCase().equals() with equalsIgnoreCase 2020-08-10 16:01:08 +01:00
Colm O hEigeartaigh fca3b615eb AMQ-7513 - Fix http://activemq.org links 2020-07-10 17:29:01 +01:00
Jean-Baptiste Onofré d474580a34
Merge pull request #503 from PascalSchumacher/AbstractMQTTSocket#getProtocolConverter_race_condition
AMQ-7439: AbstractMQTTSocket#getProtocolConverter: Race condition in …
2020-05-16 07:25:28 +02:00
Jean-Baptiste Onofré 2ec18730c2
Merge pull request #508 from coheigea/AMQ-7440
AMQ-7440 - Fix potential race condition in DiscoveryRegistryServlet
2020-05-16 06:22:52 +02:00
jbonofre 910a028fa7 [AMQ-7476] Add http schema in the HTTP registry 2020-05-05 07:33:34 +02:00
Colm O hEigeartaigh c44be3b0dd AMQ-7440 - Fix potential race condition in DiscoveryRegistryServlet 2020-03-10 16:12:59 +00:00
Pascal Schumacher 8fa772c8de AMQ-7439: AbstractMQTTSocket#getProtocolConverter: Race condition in double-checked locking object initialization
protocolConverter may be visible to other threads before its properties are set.
2020-03-08 15:09:02 +01:00
jbonofre 0245a3d5c4 [AMQ-7419] Return 405 error code instead of 500 in case of maxFrameSize exceeded on HTTP connector 2020-02-24 14:54:42 +01:00
Daniel Trebbien b020cba744 Fix some incorrect SLF4J logger calls
In some cases, there were an inconsistent number of formatting anchors.

In other cases, formatting anchors were used, but because the
trace/debug/info/warn/error(String, Throwable) variant was used, the
string is a message string rather than a format string.

These issues were found by SLF4J Helper for NetBeans IDE:
http://plugins.netbeans.org/plugin/72557/
2020-02-19 08:26:36 +00:00
Colm O hEigeartaigh 2f9e2b1e83 AMQ-7406 - ActiveMQSslConnectionFactory truststore settings don't work for the HTTPS connector 2020-02-14 14:37:59 +00:00
jbonofre 097506a458 [AMQ-7399] org.apache.activemq.SERIALIZABLE_PACKAGES doesn't include java* by default 2020-02-12 13:43:03 +01:00
Colm O hEigeartaigh d49370e363 AMQ-7393 - Remove unused Selenium tests 2020-01-28 14:36:15 +00:00
amarkevich 1ced34a383 [AMQ-6556] Support system property proxy settings for HTTP(S) client
(cherry picked from commit 746a839809)
2019-11-18 17:06:03 +01:00
Jean-Baptiste Onofré f7b08713f3
Merge pull request #305 from amarkevich/AMQ-7069
AMQ-7069 HTTP client don't handle XStream deserialization exception
2019-11-17 17:43:26 +01:00
Jean-Baptiste Onofré 1846df4863
Merge pull request #410 from jbonofre/AMQ-7327
[AMQ-7327] Use maxFrameSize to limit HTTP content length
2019-11-12 17:30:59 +01:00
Colm O hEigeartaigh 7441c6b603 AMQ-7339 - Fix possible XSS attack in the HttpTunnelServlet 2019-11-08 12:04:57 +00:00
Jean-Baptiste Onofré 397ede661f [AMQ-7327] Updated unit test around maxFrameSize support on the http transport connector 2019-11-06 17:05:40 +01:00
Jean-Baptiste Onofré 50a94cbf12 [AMQ-7327] Use maxFrameSize to limit HTTP content length 2019-11-06 11:17:34 +01:00
Colm O hEigeartaigh 3f11127567 AMQ-7289 - Fix failing HTTP tests 2019-08-26 15:42:03 +01:00
Jean-Baptiste Onofré 973c78cbec [AMQ-7249] Upgrade to Jetty 9.4.19.v20190610 2019-08-20 21:44:28 +02:00
Jean-Baptiste Onofré 32ddadc7ab
Merge pull request #362 from suem/master
AMQ-6949: SocketTimeoutException when using HTTP transport connector
2019-07-26 11:25:51 +02:00
Colm O hEigeartaigh 85ad5aa1ef Update HTTPClient and replace deprecated calls 2019-07-17 21:22:16 +01:00
Jonathan Gallimore 82b3d02fc2 Remove dependency activemq-http and activemq-stomp 2019-06-06 14:42:49 +01:00
suem ea0bcc12f7
AMQ-6949: SocketTimeoutException when using HTTP transport connector
A default socket timeout of 30 secods for the HTTP client was introduced with the following ticket: https://issues.apache.org/jira/browse/AMQ-6397

This timeout somewhow seems to conflict with the keep alive requests that stays open for arround 30 seconds. I increased the default timeout to 90 seconds and this seems to resolve the problem.
2019-05-29 15:28:30 +02:00
Christopher L. Shannon e093a8c1d8 NO-JIRA - add missing license headers 2018-10-24 09:01:39 -04:00
Jean-Baptiste Onofré ba2447e39a [AMQ-7063] Be able to configure ActiveMQ http transport connector by providing a jetty.xml 2018-10-11 14:47:05 +02:00