Class ConnectionFactoryConfigurator

java.lang.Object
com.rabbitmq.client.ConnectionFactoryConfigurator

public class ConnectionFactoryConfigurator extends Object
Helper class to load ConnectionFactory settings from a property file.

The authorised keys are the constants values in this class (e.g. USERNAME). The property file/properties instance/map instance keys can have a prefix, the default being rabbitmq..

Property files can be loaded from the file system (the default), but also from the classpath, by using the classpath: prefix in the location.

Client properties can be set by using the client.properties. prefix, e.g. client.properties.app.name. Default client properties and custom client properties are merged. To remove a default client property, set its key to an empty value.

Since:
5.1.0
See Also: