Commit Graph

8629 Commits

Author SHA1 Message Date
Justin Bertram 8ff072a4e8 This closes #3295 2021-02-11 20:52:31 -06:00
Petr Kužel a75dce9577 ARTEMIS-2931: Resolving potential NPEs detected by eclipse
WARNING: the eclipse static analyser is pretty limited and it cannot cope with cases like: correlated variables, exception paths, .... 70% of eclipse warnings on artemis codebase is a false alarm.

Anyway some variable correlations can be eliminated and code becomes more readable for humans too.

For "never-throws", the assumption is made explicit. If you disagree with the reverse-engineered assumption then it is likely an indication of a true potential NPE.

Last but not least, copy&paste is a common source of bugs. I suspect eclipse indirectly detected one such case.

Hope it helps
2021-02-11 20:52:16 -06:00
Clebert Suconic 21ee5985ea [maven-release-plugin] prepare for next development iteration 2021-02-11 12:00:04 -05:00
Clebert Suconic 36a771150b [maven-release-plugin] prepare release 2.17.0 2021-02-11 11:59:51 -05:00
Clebert Suconic cb1beac21f This closes #3450 2021-02-11 11:29:52 -05:00
Clebert Suconic e7e3c71511 ARTEMIS-3113 - Artemis AMQP shouldn't depend on JMS.
* removing the  JMS dependency on AMQP module
* fixing destinations usage.
* refactoring to remove some JMS usage and make exceptions a bit better

Jira: https://issues.apache.org/jira/browse/ARTEMIS-3113
2021-02-11 10:45:01 -05:00
Clebert Suconic 3cd5efd7ae This closes #3451 2021-02-11 10:44:10 -05:00
Jan Šmucr 5dc038b537 NO-JIRA Add a note about the `jms-client-id` session metadata to the docs 2021-02-11 10:43:27 -05:00
Clebert Suconic 078b2c076e This closes #3452 2021-02-11 10:35:59 -05:00
Erwin Dondorp 2aedde1c80 NO_JIRA mention that a multiple values are allowed for anycastPrefix/multicastPrefix 2021-02-11 10:35:41 -05:00
Clebert Suconic 0bd52c7b9f This closes #3445 2021-02-10 19:26:00 -05:00
Justin Bertram 077087571f ARTEMIS-2943 fix static selector example
The static-selector example was using a multicast queue instead of an
anycast queue which meant that the consumer never actually received any
of the messages. Furthermore, it wasn't actually verifying that it
received the proper messages so there was no failure. This commit
resolves these issues.
2021-02-10 19:26:00 -05:00
Clebert Suconic 4f6c39809a This closes #3446 2021-02-10 19:25:12 -05:00
Justin Bertram 5574e1f7aa ARTEMIS-2343 "Illegal reflective access" with OpenJDK 11 2021-02-10 19:25:12 -05:00
Clebert Suconic 7f64822591 Revert "[ARTEMIS-3113]: Artemis AMQP shouldn't depend on JMS."
This reverts commit 5079ad1019.
2021-02-10 18:34:25 -05:00
Michael André Pearce 6b1d534128 [NO-JIRA] Belated happy new year! 2021-02-10 16:56:36 -05:00
Justin Bertram f0cb730672 NO-JIRA clarify clustered grouping docs 2021-02-10 13:44:25 -06:00
Clebert Suconic 7ada47e40a This closes #3448 2021-02-10 12:47:38 -05:00
Clebert Suconic 5079ad1019 [ARTEMIS-3113]: Artemis AMQP shouldn't depend on JMS.
* removing the  JMS dependency on AMQP module
* fixing destinations usage.

Jira: https://issues.apache.org/jira/browse/ARTEMIS-3113
2021-02-10 12:47:38 -05:00
Robbie Gemmell e277421a0f NO-JIRA: refresh release instructions for website updates 2021-02-10 16:42:36 +00:00
Clebert Suconic e5b27d6de7 NO-JIRA Adding thread dump logging 2021-02-10 10:40:24 -05:00
Clebert Suconic 54b273b785 NO-JIRA Link updates on RELEASE.md 2021-02-09 17:42:51 -05:00
Clebert Suconic c0867f0361 [maven-release-plugin] prepare for next development iteration 2021-02-09 12:12:48 -05:00
Clebert Suconic 9b473698e0 [maven-release-plugin] prepare release 2.17.0 2021-02-09 12:12:35 -05:00
Clebert Suconic b4f0decde2 NO-JIRA Removing performance-jmh from source distribution 2021-02-09 11:30:17 -05:00
Clebert Suconic a50afb2eea This closes #3443 2021-02-09 11:21:52 -05:00
Justin Bertram ea6b133ac8 ARTEMIS-3109 unsetting expiry-address results in excessive logging 2021-02-09 11:21:52 -05:00
Clebert Suconic 1647f5e1f1 NO-JIRA updating pom on jmh perf 2021-02-09 09:46:25 -05:00
Clebert Suconic 108334b333 NO-JIRA Fix Extra Tests pom 2021-02-08 16:09:13 -05:00
Clebert Suconic 6ed1e4c87d [maven-release-plugin] prepare for next development iteration 2021-02-08 15:56:31 -05:00
Clebert Suconic 06b29806ca [maven-release-plugin] prepare release 2.17.0 2021-02-08 15:56:18 -05:00
Clebert Suconic 624580a5ae This closes #3442 2021-02-08 14:40:43 -05:00
Justin Bertram f1d5303994 ARTEMIS-2952 allow protected access to ActiveMQConnectionFactory readOnly 2021-02-08 14:40:43 -05:00
Clebert Suconic 017daa90f2 NO-JIRA fixing javadoc 2021-02-08 14:29:02 -05:00
Justin Bertram cd7600314f ARTEMIS-3108 fixing yet another test failure 2021-02-08 11:45:26 -06:00
Justin Bertram 1dd34e6e54 ARTEMIS-3108 fixing another test failure 2021-02-08 11:43:43 -06:00
Justin Bertram 05e7198099 ARTEMIS-3108 fix test failure 2021-02-08 11:37:11 -06:00
Clebert Suconic b8b4649053 This closes #3440 2021-02-08 12:19:42 -05:00
Justin Bertram 52de3827fe ARTEMIS-3108 bridge XML config doesn't allow -1
The value `-1` is valid for both the confirmation-window-size and the
producer-window-size elements.
2021-02-08 12:19:42 -05:00
Clebert Suconic c81ba279e1 NO-JIRA update versions.md 2021-02-08 12:18:26 -05:00
Justin Bertram 0b62fdcf3d NO-JIRA update versions.md before release 2021-02-08 10:52:33 -06:00
Clebert Suconic 26972532a8 This closes #3437 2021-02-08 11:18:23 -05:00
Justin Bertram 86cb888b62 NO-JIRA remove failover-on-server-shutdown from bridge doc 2021-02-08 11:18:23 -05:00
Clebert Suconic 2c11c2e3e8 This closes #3438 2021-02-08 11:16:23 -05:00
Antonio Musarra 17ad9c701f ARTEMIS-3107 - Extension of the artemis-docker module
Adding Adoptopenjdk-11 as a build option on docker
2021-02-08 11:16:23 -05:00
Clebert Suconic e5ae22b2bd This closes #3439 2021-02-08 07:09:50 -05:00
Domenico Francesco Bruscino 41affe11ee ARTEMIS-3086 Fix diagram refresh 2021-02-08 07:09:50 -05:00
Justin Bertram c36f3a159b This closes #3431 2021-02-07 13:08:05 -06:00
Erwin Dondorp 6694912121 NO-JIRA remove single quotes on status screen title 2021-02-07 13:07:49 -06:00
Clebert Suconic 76e359279e This closes #3432 2021-02-07 11:18:29 -05:00