private Hashtable<Object, Object> createProperties() {
        Hashtable<Object, Object> properties = new Hashtable<>();

        properties.put(Context.INITIAL_CONTEXT_FACTORY, getInitialContextFactory());
        properties.put(Context.PROVIDER_URL, getProviderURL());

        if (getJndiSettings() != null) {
            getJndiSettings().entrySet().forEach(entry -> properties.put(entry.getKey(), entry.getValue()));
        }
        return properties;
    }
private Hashtable<Object, Object> createProperties() {
        Hashtable<Object, Object> properties = new Hashtable<>();

        properties.put(Context.INITIAL_CONTEXT_FACTORY, getInitialContextFactory());
        properties.put(Context.PROVIDER_URL, getProviderURL());

        if (getJndiSettings() != null) {
            getJndiSettings().entrySet().forEach(entry -> properties.put(entry.getKey(), entry.getValue()));
        }
        return properties;
    }
private Hashtable < Object , Object > createProperties ( ) { Hashtable < Object , Object > properties = new Hashtable <> ( ) ; properties . put ( Context . INITIAL_CONTEXT_FACTORY , getInitialContextFactory ( ) ) ; properties . put ( Context . PROVIDER_URL , getProviderURL ( ) ) ; if ( getJndiSettings ( ) != null ) { getJndiSettings ( ) . entrySet ( ) . forEach ( entry -> properties . put ( entry . getKey ( ) , entry . getValue ( ) ) ) ; } return properties ; }
Used to construct properties for JMS JNDI context.
Populates with
<p>
```
properties.put(Context.INITIAL_CONTEXT_FACTORY, getInitialContextFactory());
properties.put(Context.PROVIDER_URL, getProviderURL());
```
Then adds all of the setting in jndi settings.

@return this
Used to construct properties for JMS JNDI context . Populates with <p > properties . put ( Context . INITIAL_CONTEXT_FACTORY getInitialContextFactory () ) ; properties . put ( Context . PROVIDER_URL getProviderURL () ) ; Then adds all of the setting in jndi settings .