Class SimplePropertyValueConnectionNameStrategy
java.lang.Object
org.springframework.amqp.rabbit.connection.SimplePropertyValueConnectionNameStrategy
- All Implemented Interfaces:
- ConnectionNameStrategy,- Aware,- EnvironmentAware
public class SimplePropertyValueConnectionNameStrategy
extends Object
implements ConnectionNameStrategy, EnvironmentAware
A 
ConnectionNameStrategy that returns the value of a (required) property. If
 the property does not exist, the connection will be given the name of the property.- Since:
- 2.1
- Author:
- Gary Russell
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionobtainNewConnectionName(ConnectionFactory connectionFactory) voidsetEnvironment(Environment environment) 
- 
Constructor Details- 
SimplePropertyValueConnectionNameStrategy
 
- 
- 
Method Details- 
setEnvironment- Specified by:
- setEnvironmentin interface- EnvironmentAware
 
- 
obtainNewConnectionName- Specified by:
- obtainNewConnectionNamein interface- ConnectionNameStrategy
 
 
-