Commit Graph

2326 Commits

Author SHA1 Message Date
岳豹 9c5ec1b07c ARTEMIS-3105 large message file not closed on backup side 2021-02-07 10:41:41 +08:00
Clebert Suconic e65eff0f24 ARTEMIS-3096 Fixing compilation on JDK 1.8 2021-02-04 17:35:36 -05:00
Justin Bertram 15e3cdf409 ARTEMIS-3096 bridge config using wrong default conf-window-size 2021-02-04 13:48:37 -06: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
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
Domenico Francesco Bruscino bcdb13365e ARTEMIS-3075 Skip temporary queues scale down 2021-02-03 10:20:42 -05:00
Tomas Hofman ebeea15c2a ARTEMIS-3074 Add ActiveMQServerControl#createBridge() method variant accepting a JSON string 2021-02-01 19:21:40 -05:00
Justin Bertram d9e114da55 ARTEMIS-3089 direct delivery can break LVQ+non-destructive 2021-02-01 19:19:20 -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
gtully 05e9cfed4c ARTEMIS-3064 - ensure useTopologyForLoadBalancing is disabled when ha=false 2021-01-28 15:26:15 -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 c019218c4e ARTEMIS-3084 Eliminate Block on moving to next file on libaio 2021-01-28 11:10:40 -05:00
Justin Bertram 88b21f9039 ARTEMIS-3082 fix non-destructive + rollback 2021-01-27 20:41:33 -05:00
Ryan Yeats 86a2cad12a ARTEMIS-1884 add plugin API for message level authorization policies 2021-01-25 13:44:36 -06:00
Justin Bertram 4fbc8bf67d ARTEMIS-3008 mngmnt op to reload config file 2021-01-25 13:35:19 -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
Domenico Francesco Bruscino 9d070812dd ARTEMIS-3079 Fix AMQP binary properties serialization to JSON 2021-01-25 13:22:53 -06:00
gtully ec32b68247 ARTEMIS-2559 - resolve intermittent test failure when last ack is lost 2021-01-20 11:25:10 -05:00
Clebert Suconic 78c0792989 ARTEMIS-3065 AMQP Anonymous producer would eventually block 2021-01-13 15:46:54 -05:00
franz1981 884336f08c ARTEMIS-3049 append only chunk list benchmark 2021-01-12 17:28:13 -05:00
Justin Bertram 9aa7a10744 ARTEMIS-3058 improper AddressSettings merge
The merge method in AddressSettings should *not* use any getters. It
should reference the relevant variables directly. Using any getters will
return default values in the underlying value is null. This can cause
problems for hierarchical settings.

Also fixed a few potential NPEs exposed by the test-case.
2021-01-11 11:38:59 -05:00
Clebert Suconic b4d66b684a ARTEMIS-3054 Fix inconsistencies between replica catchup and page cleanup 2021-01-08 13:48:41 -05:00
Clebert Suconic 727baf20b2 NO-JIRA fixing intermittent failure on QueueAutoDeleteTest 2021-01-07 10:42:26 -05:00
gtully c384776d6f ARTEMIS-3033 - fix early visibility on cached simple string parts array 2021-01-07 11:32:46 +00:00
gtully 546bbfebfb ARTEMIS-3033 - implement address tree map for wildcards in place of linked addresses 2021-01-06 20:31:46 +00:00
gtully 4e70fcdb52 ARTEMIS-3043 - remove reference to improperly named field, now corrected, from test 2021-01-06 20:19:49 +00:00
Andy Taylor ea7f001776 ARTEMIS-3043 - improvements on new console
https://issues.apache.org/jira/browse/ARTEMIS-3043
2021-01-06 10:47:57 -05:00
franz1981 2b5d99bbd1 ARTEMIS-3016 Refactored duplicate ids cache 2021-01-06 09:05:01 -05:00
franz1981 b3b5d4893c ARTEMIS-3016 Reduce DuplicateIDCache memory footprint 2021-01-06 09:05:01 -05:00
franz1981 985559d086 ARTEMIS-3016 Adding JMH benchmark on duplicate ids cache 2021-01-06 09:05:01 -05:00
Domenico Francesco Bruscino 52e7c13207 NO-JIRA Fix PageCursorStressTest with hole on ack
Use a browsing cursor to get depaged messages
2021-01-04 17:46:33 +01:00
Clebert Suconic c63aa9f481 NO-JIRA OpenWire test retry 2020-12-23 11:14:29 -05:00
Domenico Francesco Bruscino 92d6ae87ed ARTEMIS-3027 Fixing AMQP persister encoding 2020-12-22 10:37:34 -05:00
Clebert Suconic c1de2c8679 NO-JIRA Checkstyle fix 2020-12-21 20:10:31 -05:00
Clebert Suconic 562674aaa9 NO-JIRA Intermittent failure fix 2020-12-21 17:36:42 -05:00
Clebert Suconic 1bb15639d7 NO-JIRA Fix intermittent failure on JMSConsumer2Test 2020-12-21 17:33:35 -05:00
Clebert Suconic a2bce6e921 NO-JIRA intermittent failures on testsuite 2020-12-21 16:51:25 -05:00
Clebert Suconic 122187ab88 NO-JIRA Disabling storage on openWire TemporaryQueueClusterTest 2020-12-21 16:26:09 -05:00
Clebert Suconic c3beea3a9e NO-JIRA Fixing intermittent test failure
waiting advisory to update client on openwire client
2020-12-21 16:19:42 -05:00
Clebert Suconic b07ae7af7c NO-JIRA fixing intermittent test failures 2020-12-21 14:23:39 -05:00
Clebert Suconic d8f57ae810 NO-JIRA Fixing checkstyle after SoakPagingTest Improvement 2020-12-21 14:17:50 -05:00
Clebert Suconic e3670b64e5 NO-JIRA Improving SoakPagingTest 2020-12-21 12:59:40 -05:00
Domenico Francesco Bruscino d7fc2fb8b8 ARTEMIS-3040 Fix reloading large messages paged before 2.12 2020-12-21 11:03:11 -05:00
Clebert Suconic 9f59006226 NO-JIRA Intermittent test failure due to Wait.assertEquals 2020-12-21 09:40:25 -05:00
Clebert Suconic 6b7d963f45 ARTEMIS-3039 Fixing network isolation signal on replication 2020-12-18 16:56:14 -05:00
Tomas Hofman b1835fa2d8 ARTEMIS-3037 JournalImpl#checkKnownRecordID() implementation can leave a thread hanging in WAITING state 2020-12-18 12:44:18 -05:00
Clebert Suconic 1c0896f773 NO-JIRA Using Assume on DNSSwitchTest and ignoring if it cannot be executed 2020-12-17 16:49:45 -05:00
Clebert Suconic 78715e66e0 NO-JIRA Allow some variance on the fast disk calculation
SyncSendTest could intermittnetly fail on fast jenkins instances.
2020-12-17 16:06:44 -05:00