Commit Graph

7051 Commits

Author SHA1 Message Date
Clebert Suconic a2ed46358f This closes #2969 2020-02-04 10:13:10 -05:00
Sebastian Thomschke ba4e52ca40
NO-JIRA Fix compiler warning in FederationStreamConnectMessage v2
Second attempt to fix the following compiler warning that is reported in Travis builds, this time using the correct cast type `Class<?>[]` which prevents temporary object allocation because of var-args handling:

```java
/home/travis/build/apache/activemq-artemis/artemis-core-client/src/main/java/org/apache/activemq/artemis/core/protocol/core/impl/wireformat/FederationStreamConnectMessage.java:151: warning: non-varargs call of varargs method with inexact argument type for last parameter;

         return (FederationPolicy) Class.forName(clazz).getConstructor(null).newInstance();

  cast to Class<?> for a varargs call
  cast to Class<?>[] for a non-varargs call and to suppress this warning
```
2020-02-03 19:22:04 +01:00
Clebert Suconic 4172ffec82 This closes #2968 2020-02-03 11:07:46 -05:00
Francesco Nigro 09fe47884b Revert "NO-JIRA Fix compiler warning in FederationStreamConnectMessage"
This reverts commit 9fe17d40
2020-02-03 11:07:46 -05:00
Justin Bertram ee592d1d77 This closes #2964 2020-02-03 09:56:39 -06:00
Sebastian Thomschke 26b5ad439c NO-JIRA Remove redundant instanceof check in CoreAmqpConverter
message is of type ServerJMSMessage, thus the test `if (message instanceof ServerJMSMessage)` always yields true.
2020-02-03 09:56:39 -06:00
Justin Bertram 34e58a9f40 This closes #2963 2020-02-03 09:54:43 -06:00
sebthom 4bc5c6f2a8 NO-JIRA Add serialVersionUID and remove redundant casts
Adding serialVersionUID to WildcardConfiguration since it is
serializable. Without serialVersionUID  being specified a new one is
generated on each compilation which prevents object deserialization
between releases.
2020-02-03 09:54:43 -06:00
Justin Bertram bfd943a06c This closes #2962 2020-02-03 09:53:13 -06:00
Sebastian Thomschke 85a1c753d7 NO-JIRA Wrong autoDeleteDelay value passed to createSharedQueue 2020-02-03 09:53:13 -06:00
Justin Bertram 41991e22e6 This closes #2961 2020-02-03 09:51:49 -06:00
Sebastian Thomschke 3797b62420 NO-JIRA Remove unnecessary null-check in ExpiryScanner 2020-02-03 09:51:49 -06:00
Justin Bertram c2f7e9e292 This closes #2956 2020-02-03 09:44:17 -06:00
sebthom cfa11bbadc ARTEMIS-2610 Improve ActiveMQServer.getConnectionCount() 2020-02-03 09:44:17 -06:00
Christopher L. Shannon d1558f172b
This closes #2958 2020-01-30 15:54:13 -05:00
Christopher L. Shannon 7ad2d0f71a
This closes #2959 2020-01-30 15:53:12 -05:00
Christopher L. Shannon e16240825a
This closes #2957 2020-01-30 15:50:44 -05:00
Christopher L. Shannon edf1985fb6
This closes #2960 2020-01-30 15:48:21 -05:00
Sebastian Thomschke 9fe17d4081
NO-JIRA Fix compiler warning in FederationStreamConnectMessage
This fixes the following compiler warning that is reported in Travis builds:

```
/home/travis/build/apache/activemq-artemis/artemis-core-client/src/main/java/org/apache/activemq/artemis/core/protocol/core/impl/wireformat/FederationStreamConnectMessage.java:151: warning: non-varargs call of varargs method with inexact argument type for last parameter;

         return (FederationPolicy) Class.forName(clazz).getConstructor(null).newInstance();

  cast to Class<?> for a varargs call
  cast to Class<?>[] for a non-varargs call and to suppress this warning
```
2020-01-29 22:39:52 +01:00
Sebastian Thomschke 0250f84921
NO-JIRA Fix Javadoc warning in ActiveMQTestBase
Fixes Javadoc warnings "Javadoc: Exception Exception is not declared" and "Javadoc: Exception InterruptedException is not declared"
2020-01-29 17:34:08 +01:00
Sebastian Thomschke c117976e3a
NO-JIRA Fix Javadoc @link syntax in ActiveMQServerConsumerPlugin
Fixes Javadoc warning "Javadoc: Missing closing brace for inline tag"
2020-01-29 17:21:53 +01:00
Sebastian Thomschke a3aa669827
NO-JIRA Fix compiler warning in FileConfigurationParserTest
Fixes compiler warning "Unnecessary cast from String to String".
2020-01-29 17:15:53 +01:00
Clebert Suconic 0be433ee73 This closes #2955 2020-01-28 09:34:15 -05:00
brusdev 7a087de266 ARTEMIS-2601 Update jetty version to 9.4.26.v20200117
Add required dependency org.apache.geronimo.specs:geronimo-jaspic_1.0_spec.
2020-01-27 12:50:35 +01:00
Wei Yang 20ca545555 This closes #2885 2020-01-23 11:23:16 +08:00
Wei Yang 1d1f0625db ARTEMIS-2544 Remove rolledback PageTransactionInfo to free up memory 2020-01-23 11:23:14 +08:00
Justin Bertram 9e2705c6dc This closes #2913 2020-01-22 15:32:55 -06:00
Sebastian Thomschke cf26103bb2 ARTEMIS-2571 Remove synchronization of ActiveMQServerImpl#getSessions() 2020-01-22 15:32:55 -06:00
Clebert Suconic 2179aea627 This closes #2937 2020-01-21 14:20:04 -05:00
Justin Bertram 7d8c0dfc8c ARTEMIS-1676 allow users to override JAVA_ARGS via env vars 2020-01-21 14:20:04 -05:00
Clebert Suconic 659b5194e7 This closes #2949 2020-01-21 12:55:17 -05:00
brusdev 52e3a0a347 ARTEMIS-2601 Update jetty version to 9.4.26.v20200117 2020-01-21 12:55:16 -05:00
Clebert Suconic 7b06050f5f This closes #2941 2020-01-21 12:16:57 -05:00
Jiří Daněk 171a7f57fc NO-JIRA: fix .asf.yaml invalid GitHub labels
```
An error occurred while running github feature in .asf.yaml!:
.asf.yaml: Invalid GitHub label 'Apache' - must be lowercase alphanumerical and <= 35 characters!
```
2020-01-21 12:16:56 -05:00
Clebert Suconic 5dbce95431 This closes #2942 2020-01-21 12:14:03 -05:00
Francesco Nigro c3e74e055c ARTEMIS-2599 DescribeJournal isn't correctly counting surviving msg 2020-01-21 12:14:02 -05:00
Clebert Suconic fee21f7bf6 This closes #2947 2020-01-21 12:10:23 -05:00
Francesco Nigro fa0c187ae6 ARTEMIS-2602 Reduce number of copies for non JDBC Journal 2020-01-18 18:45:12 +01:00
Clebert Suconic 3b6176438e This closes #2944 2020-01-17 14:31:52 -05:00
Francesco Nigro b10d765139 ARTEMIS-2602 load surviving records into SparseArrayLinkedList 2020-01-17 14:31:52 -05:00
Francesco Nigro 4cc6464ddd ARTEMIS-2602 Improve Journal loading heap usage 2020-01-17 14:31:52 -05:00
Clebert Suconic 2f68f002a8 This closes #2943 2020-01-17 14:28:31 -05:00
brusdev caa19ab144 ARTEMIS-2598 Update netty version to 4.1.43.Final
Update netty version to 4.1.43.Final and netty-tcnative version to 2.0.26.Final.
Change restricted-security-client.policy because Netty 4.1.43.Final requires
access to two more files: /etc/os-release and /usr/lib/os-release.
2020-01-17 14:28:31 -05:00
Clebert Suconic a7ef54dc63 This closes #2946 2020-01-17 14:28:07 -05:00
Clebert Suconic 1a6c4e5c62 ARTEMIS-2603 Deadlock between pageStore.getCurrentID and page.cleanup
This happened when JournalStorageManager.startReplication and PageStore.cleanup were called between multiple threads.
2020-01-17 11:39:30 -05:00
Clebert Suconic 02cc2b5957 This closes #2945 2020-01-17 11:39:05 -05:00
brusdev 5e80a5c738 ARTEMIS-2600 Update mqtt-client version to 1.16 2020-01-17 13:31:54 +01:00
Clebert Suconic 1f9396e40d This closes #2940 2020-01-15 11:19:33 -05:00
Jiří Daněk 038dfe8881 NO-JIRA: add .asf.yaml file with github repo metadata
> When making use of a feature in .asf.yaml, please ensure that you have discussed this with the entire project first, and have understood what the configuration changes will do to your workflow and project resources.
>    ~~ https://cwiki.apache.org/confluence/display/INFRA/.asf.yaml+features+for+git+repositories

I believe that the github config part (setting tagline and project labels) is mostly harmless.

The GitHub project page currently has a somewhat random set of tags at the top,
so this should be a big improvement.

https://github.com/apache/activemq-artemis currently contains the following tags

    php, activemq, c, network-client, ruby, python, csharp, cplusplus, java, perl, network-server
2020-01-15 11:19:33 -05:00
Clebert Suconic 1c1359f9f9 This closes #2939 2020-01-15 11:18:13 -05:00