From 9b9f049afea691cca5f99cfab4662de89e748b9d Mon Sep 17 00:00:00 2001 From: Richard Achmatowicz Date: Thu, 11 May 2017 12:06:53 -0400 Subject: [PATCH] [EJBCLIENT-225] Some more fixes to JBossEJBProeprties in anticipation of EJBCLIENT-225 --- .../java/org/jboss/ejb/client/legacy/JBossEJBProperties.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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);