private void checkTransportKeys(final ConnectorFactory factory, final Map<String, Object> params) { if (params != null) { Set<String> invalid = ConfigurationHelper.checkKeys(factory.getAllowableProperties(), params.keySet()); if (!invalid.isEmpty()) { String msg = ConfigurationHelper.stringSetToCommaListString("The following keys are invalid for configuring a connector: ", invalid); throw new IllegalStateException(msg); } } }
private void checkTransportKeys(final ConnectorFactory factory, final Map<String, Object> params) { if (params != null) { Set<String> invalid = ConfigurationHelper.checkKeys(factory.getAllowableProperties(), params.keySet()); if (!invalid.isEmpty()) { String msg = "The following keys are invalid for configuring a connector: " + ConfigurationHelper.stringSetToCommaListString(invalid); throw new IllegalStateException(msg); } } }
HornetQServerLogger.LOGGER.connectorKeysInvalid(ConfigurationHelper.stringSetToCommaListString(invalid)); HornetQServerLogger.LOGGER.connectorKeysMissing(ConfigurationHelper.stringSetToCommaListString(invalid));
log.warn(ConfigurationHelper.stringSetToCommaListString("The following keys are invalid for configuring the connector service: ", invalid) + " the connector will not be started."); log.warn(ConfigurationHelper.stringSetToCommaListString("The following keys are required for configuring the connector service: ", invalid) + " the connector will not be started.");
RemotingServiceImpl.log.warn(ConfigurationHelper.stringSetToCommaListString("The following keys are invalid for configuring the acceptor: ", invalid) + " the acceptor will not be started.");
HornetQServerLogger.LOGGER.invalidAcceptorKeys(ConfigurationHelper.stringSetToCommaListString(invalid));