protected Map getProperties()

in src/main/java/com/azure/servicebus/jms/ServiceBusJmsConnectionFactory.java [312:324]


    protected Map<String, String> getProperties() {
        // build a map of properties for JNDI
        Map<String, String> properties = new HashMap<>();
        
        String connectionString = this.builder == null ? null : this.builder.toString();
        properties.put(CONNECTION_STRING_PROPERTY, connectionString);

        if (this.factory != null && StringUtil.isNullOrEmpty(this.getClientId())) {
            properties.put(CLIENT_ID_PROPERTY, this.getClientId());
        }
        
        return Collections.unmodifiableMap(properties);
    }