Commit Graph

8470 Commits

Author SHA1 Message Date
Justin Bertram b4f8aada3c ARTEMIS-3092 inconsistent JDBC config logging 2021-02-04 15:32:51 -05:00
Justin Bertram 4b314e2aab NO-JIRA fix JDBC parsing typo 2021-02-04 15:32:51 -05:00
Clebert Suconic 0190ad4db2 This closes #3430 2021-02-04 15:23:56 -05:00
Justin Bertram 15e3cdf409 ARTEMIS-3096 bridge config using wrong default conf-window-size 2021-02-04 13:48:37 -06:00
Clebert Suconic c47122ea15 ARTEMIS-3084 Avoid pending IO to close files 2021-02-03 16:56:07 -05:00
Clebert Suconic 89aca1f630 This closes #3408 2021-02-03 13:12:34 -05:00
Marcos Singermann 69fb226054 ARTEMIS-3068 Fix HierarchicalRepository matcher comparator 2021-02-03 13:12:34 -05:00
Clebert Suconic 95e65b8f76 This closes #3421 2021-02-03 13:03:11 -05:00
Emmanuel Hugonnet 40f4c0218e
[ARTEMIS-3080]: Provide JakartaEE 9 artefacts.
* using batavia and eclipse transformer to transform JMS code to JakartaEE.
* adding a test with JakartaEE
* upgrading owasp plugin to 6.1.0

Jira: https://issues.apache.org/jira/browse/ARTEMIS-3080
2021-02-03 18:35:01 +01:00
Clebert Suconic 42e0afac51 This closes #3416 2021-02-03 12:02:19 -05:00
Ingo Karkat 044d6101e9 ARTEMIS-3081 Swap precedence of key/tr.store props
If an application wants to use a special key/truststore for Artemis but
have the remainder of the application use the default Java store, the
org.apache.activemq.ssl.keyStore needs to take precedence over Java's
javax.net.ssl.keyStore. However, the current implementation takes the
first non-null value from
  System.getProperty(JAVAX_KEYSTORE_PATH_PROP_NAME),
  System.getProperty(ACTIVEMQ_KEYSTORE_PATH_PROP_NAME),
  keyStorePath

So if the default Java property is set, no override is possible. Swap
the order of the JAVAX_... and ACTIVEMQ_... property names so that the
ActiveMQ ones come first (as a component-specific overrides), the
standard Java ones comes second, and finally a local attribute value
(through Stream.of(...).firstFirst()).

(In our case the application uses the default Java truststore location
at $JAVA_HOME/lib/security/jssecacerts, and only supplies its password
in javax.net.ssl.trustStorePassword, and then uses a dedicated
truststore for Artemis. Defining both org.apache.activemq.ssl.trustStore
and org.apache.activemq.ssl.trustStorePassword now makes Artemis use the
dedicated truststore (javax.net.ssl.trustStore is not set as we use the
default location, so the second choice
org.apache.activemq.ssl.trustStore applies), but with the Java default
truststore password (first choice javax.net.ssl.trustStorePassword
applies instead of the second choice because it is set for the default
truststore). Obviously, this does not work unless both passwords are
identical!)
2021-02-03 12:02:19 -05:00
Clebert Suconic e507938835 This closes #3398 2021-02-03 10:27:09 -05:00
franz1981 9e06a0645b ARTEMIS-3051 Fix MessageReferenceImpl::getMemoryEstimate 2021-02-03 10:27:09 -05:00
franz1981 71685bf6bf ARTEMIS-3051 Fix MessageReferenceImpl::getMemoryEstimate 2021-02-03 10:27:08 -05:00
Clebert Suconic 8d1fe2baa0 This closes #3428 2021-02-03 10:20:42 -05:00
Domenico Francesco Bruscino bcdb13365e ARTEMIS-3075 Skip temporary queues scale down 2021-02-03 10:20:42 -05:00
Clebert Suconic 7a199d7f97 This closes #3429 2021-02-03 10:19:27 -05:00
Erwin Dondorp 4c611a6670 NO-JIRA fixed debug message 2021-02-03 10:19:06 -05:00
Clebert Suconic 386aaa067e This closes #3412 2021-02-01 19:21:40 -05:00
Tomas Hofman ebeea15c2a ARTEMIS-3074 Add ActiveMQServerControl#createBridge() method variant accepting a JSON string 2021-02-01 19:21:40 -05:00
Clebert Suconic bd738e0e00 This closes #3423 2021-02-01 19:20:51 -05:00
Erwin Dondorp bd9ca52d9a NO-JIRA added space to separate 2 words that otherwise appear joined 2021-02-01 19:20:51 -05:00
Clebert Suconic 36b3289571 This closes #3424 2021-02-01 19:19:21 -05:00
Justin Bertram d9e114da55 ARTEMIS-3089 direct delivery can break LVQ+non-destructive 2021-02-01 19:19:20 -05:00
Clebert Suconic 43391178ce This closes #3426 2021-02-01 15:31:27 -05:00
Clebert Suconic 755947ee0b ARTEMIS-3084 Deal with async close and double close
Since the libaio.close is now async
there might be a situation with more than one close called during a server.stop();

This should deal with that scenario
2021-02-01 15:29:39 -05:00
Clebert Suconic 59eb515c1b This closes #3425 2021-02-01 11:54:37 -05:00
Domenico Francesco Bruscino 267c6e5b56 ARTEMIS-3091 Fix AMQP message headers export from the journal 2021-02-01 11:54:37 -05:00
Clebert Suconic 1ed52cc5b0 NO-JIRA Speeding up AddressqueueDeleteDelayTest 2021-02-01 11:32:19 -05:00
gtully d186d20406 ARTEMIS-3067 - track application properties in memory estimate and check for modification after potential filter execution 2021-02-01 09:21:17 -05:00
Clebert Suconic 03b0fcd2c2 ARTEMIS-3084 Issue a warning instead of blocking forever in case of not completing closes 2021-01-29 13:24:57 -05:00
Clebert Suconic b05bea7db9 ARTEMIS-3084 Issue a warning instead of blocking forever in case of not completing closes 2021-01-29 12:44:34 -05:00
Clebert Suconic 7ce5315d7a ARTEMIS-3084 Fix on checkstyle
sorry for breaking it in the first place.
I messed up into some gitfu sending an older version by accident.
2021-01-29 10:50:47 -05:00
Clebert Suconic 873c2bcc18 ARTEMIS-3084 Avoiding Race condition on async close 2021-01-29 10:44:55 -05:00
Clebert Suconic e5a5ce1218 This closes #3418 2021-01-28 15:26:16 -05:00
gtully 05e9cfed4c ARTEMIS-3064 - ensure useTopologyForLoadBalancing is disabled when ha=false 2021-01-28 15:26:15 -05:00
Clebert Suconic 1b4f0d4cd5 This closes #3422 2021-01-28 15:25:40 -05:00
Clebert Suconic 4b5c29939c ARTEMIS-3084 Fixing intermittent failures on testsuite. file.close() should block
This fixed a failure I saw once at GroupingFailoverReplicationTest.testGroupingLocalHandlerFailsMultipleGroups
2021-01-28 14:24:12 -05:00
Clebert Suconic f122b5059f NO-JIRA Improvements on StompStests
Replace some Wait clauses
Use lower timeout when results are expected to be null
2021-01-28 14:10:24 -05:00
Clebert Suconic 03f8f83935 ARTEMIS-3084 Small tweak. Log a Thread dump if a server.stop cannot get a completion of pending closes 2021-01-28 11:31:58 -05:00
Justin Bertram 67556034a6 This closes #3420 2021-01-28 10:11:17 -06:00
Clebert Suconic c019218c4e ARTEMIS-3084 Eliminate Block on moving to next file on libaio 2021-01-28 11:10:40 -05:00
Clebert Suconic 2cf8d5c181 This closes #3419 2021-01-27 20:41:33 -05:00
Justin Bertram 88b21f9039 ARTEMIS-3082 fix non-destructive + rollback 2021-01-27 20:41:33 -05:00
Justin Bertram 0845ff2353 This closes #3281 2021-01-25 13:44:36 -06:00
Ryan Yeats 86a2cad12a ARTEMIS-1884 add plugin API for message level authorization policies 2021-01-25 13:44:36 -06:00
Justin Bertram 126e9617a7 This closes #3358 2021-01-25 13:35:19 -06:00
Justin Bertram 4fbc8bf67d ARTEMIS-3008 mngmnt op to reload config file 2021-01-25 13:35:19 -06:00
Justin Bertram ce7215c9b8 This closes #3360 2021-01-25 13:34:18 -06:00
Justin Bertram 9319f0c8c8 ARTEMIS-3012 incorrect fallback consumer authorization
The fallback consumer authorization implemented in ARTEMIS-592 needs to
check for an *exact* security-settings match otherwise in certain
configurations a more general and more permissive setting might
be used instead of the intended more specific and more restrictive
setting.
2021-01-25 13:34:18 -06:00