Github user michaelandrepearce commented on a diff in the pull request:
https://github.com/apache/activemq-artemis/pull/2313#discussion_r217442671
--- Diff:
artemis-ra/src/main/java/org/apache/activemq/artemis/ra/inflow/ActiveMQActivationSpec.java
---
@@ -603,7 +605,11 @@ public void setMaxSession(final Integer value) {
logger.trace("setMaxSession(" + value + ")");
}
- maxSession = value;
+ if ( value < 0 ) {
+ logger.warn("Invalid number of session (negative):" + value +",
defaulting to 1.");
--- End diff --
Ditto
---