diff --git a/src/main/java/org/jboss/ejb/client/legacy/JBossEJBProperties.java b/src/main/java/org/jboss/ejb/client/legacy/JBossEJBProperties.java index 19b9d97fc..eeefdc381 100644 --- a/src/main/java/org/jboss/ejb/client/legacy/JBossEJBProperties.java +++ b/src/main/java/org/jboss/ejb/client/legacy/JBossEJBProperties.java @@ -632,7 +632,7 @@ boolean populateFromProperties(final Properties properties, final String prefix, } } - setChannelOptions(getOptionMapFromProperties(properties, prefix + ".channel.options.", classLoader)); + setChannelOptions(getOptionMapFromProperties(properties, prefix + "channel.options" + ".", classLoader)); final ExceptionSupplier callbackHandlerSupplier = () -> Class.forName(callbackHandlerClassName, true, classLoader).asSubclass(CallbackHandler.class).getConstructor().newInstance(); @@ -803,7 +803,7 @@ boolean populateFromProperties(final String clusterName, final Properties proper return false; } setClusterName(clusterName); - setMaximumAllowedConnectedNodes(getLongValueFromProperties(properties, prefix + "max-connected-nodes", 1000L)); + setMaximumAllowedConnectedNodes(getLongValueFromProperties(properties, prefix + "max-allowed-connected-nodes", 1000L)); final String clusterNodeSelectorClassName = getProperty(properties, prefix + "clusternode.selector", null, true); if (clusterNodeSelectorClassName != null) { setClusterNodeSelectorClassName(clusterNodeSelectorClassName);