Commit Graph

7090 Commits

Author SHA1 Message Date
Justin Bertram 72f5a1f5bc NO-JIRA fix up docs for security-ldap example 2020-02-24 13:32:02 -06:00
Clebert Suconic e6ecbfaaf4 This closes #2985 2020-02-20 17:44:56 -05:00
Justin Bertram d0758f34f6 ARTEMIS-2624 auto-create expiry resources 2020-02-20 17:44:56 -05:00
Justin Bertram b76f3b3a0d ARTEMIS-2587 auto-create dead-letter resources
This is a reimplementation of the IndividualDeadLetterQueueStrategy
from 5.x in a way that makes sense with the Artemis addressing model.
2020-02-20 17:44:56 -05:00
Clebert Suconic d3efc24ffb This closes #2987 2020-02-20 14:30:45 -05:00
Emmanuel Hugonnet ac98cda224
[ARTEMIS-2626]: Postgresql Journal implementation requires direct access to PostgeSQL driver internal classes.
Issue: The BLOB manipulation is done using PostgreSQL internal classes starting from PGConnection.
This leads to ClasCastExceptions if the connection is wrapped in a pool or if the driver is in a different classloader (WildFly).

Fix: unwrap the connection and if the PostgreSQL classes are not directly available uses reflection to manipulate the BLOBs.

Jira: https://issues.apache.org/jira/browse/ARTEMIS-2626
2020-02-20 19:01:38 +01:00
Christopher L. Shannon (cshannon) d3d9ceb4c8 This closes #2966 2020-02-17 12:16:06 -05:00
Christopher L. Shannon (cshannon) 3966e47338 ARTEMIS-2613: Add support for DivertBindings for federated addresses
This will allow federated addresses to create remote consumers based on
the existing of divert bindings and matching queue bindings
2020-02-17 12:15:18 -05:00
Howard Gao 3c83587746 This closes #2952 2020-02-17 19:50:25 +08:00
brusdev 4b6390f42f NO-JIRA improve role-access match priority doc 2020-02-17 19:49:50 +08:00
Justin Bertram b588f61670 This closes #2983 2020-02-14 13:57:04 -06:00
Clebert Suconic 990890d228 ARTEMIS-2622 Making replica resilient to closed pages 2020-02-14 14:01:52 -05:00
Clebert Suconic 9a24b89a33 This closes #2974 2020-02-14 13:23:05 -05:00
Justin Bertram a8cf6b04b4 ARTEMIS-2607 interceptor returns false but processing continues 2020-02-14 13:23:05 -05:00
Clebert Suconic fa6a008fa9 This closes #2976 2020-02-14 13:12:49 -05:00
Justin Bertram 72429e1e49 ARTEMIS-2325 ack handler being invoked twice 2020-02-14 13:12:49 -05:00
Justin Bertram 1c15e1f812 NO-JIRA fixing stale comments 2020-02-14 13:12:49 -05:00
Justin Bertram b76700c18f NO-JIRA fix JMSMessageConsumerTest.testTimedOutWaitingForWriteLogOnConsumer 2020-02-14 13:12:49 -05:00
Howard Gao 05b9bf6a8f This closes #2980 2020-02-13 11:10:36 +08:00
Justin Bertram daae7e750a ARTEMIS-2619 allow disabling STOMP 'server' header 2020-02-12 19:38:38 -06:00
Clebert Suconic 69779eed10 This closes #2975 2020-02-12 13:29:51 -05:00
Francesco Nigro d42267f05a ARTEMIS-2617 Lazy scan AMQP message data 2020-02-12 13:29:51 -05:00
Francesco Nigro 5897909dc9 ARTEMIS-2617 use core pools to reduce GC on journal loading 2020-02-12 13:29:51 -05:00
Christopher L. Shannon (cshannon) 0b8c33bb0f NO-JIRA: Adding missing module to broker-federation pom 2020-02-11 08:56:08 -05:00
Christopher L. Shannon (cshannon) b42cc35d5e This closes #2981 2020-02-11 08:55:50 -05:00
brusdev 832f1e5b92 NO-JIRA Fix federated-address-downstream pom 2020-02-11 08:33:06 +01:00
Justin Bertram 67022a0744 This closes #2979 2020-02-10 10:50:13 -06:00
Clebert Suconic 0487e712e2 NO-JIRA some Wait.assertEquals 2020-02-10 09:25:06 -05:00
Justin Bertram 2f71327978 This closes #2965 2020-02-06 12:27:00 -06:00
Sebastian Thomschke ae31854548 ARTEMIS-2606 Upgrade to Hawt.io 1.5.12 2020-02-06 12:27:00 -06:00
Justin Bertram a00fb746f8 This closes #2953 2020-02-06 12:21:55 -06:00
brusdev b71178b4fb ARTEMIS-2600 Update mqtt-client version to 1.16 for tests 2020-02-06 12:21:54 -06:00
Clebert Suconic dddc4d9977 This closes #2970 2020-02-05 15:25:31 -05:00
brusdev 622c0d61e8 ARTEMIS-2615 Update netty version to 4.1.45.Final
Update netty version to 4.1.45.Final and netty-tcnative version to 2.0.28.Final.
2020-02-05 15:25:31 -05:00
Clebert Suconic 1bc88a7264 This closes #2950 2020-02-05 11:19:57 -05:00
Francesco Nigro 3282f105bb ARTEMIS-2604 Optimize journal loading
- Avoid some Properties Decoding, checking if we need certain properties like scheduled delivery
- Avoid creating some unnecessary SimpleString instances
- Removed some intermediate ActiveMQBuffer allocation
- Removed some intermediate UnreleasableByteBuf allocation
2020-02-05 11:13:53 -05:00
Justin Bertram fb60795b59 NO-JIRA fix user command parameter docs 2020-02-05 08:36:34 -06:00
Justin Bertram 1481b87b64 This closes #2967 2020-02-04 15:49:51 -06:00
Maurice Betzel 12170fd792 ARTEMIS-2612 Corrected Bundle-Name and Bundle-Description in artemis-hawtio 2020-02-04 15:49:50 -06:00
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