public class ServicePortPropertiesFunction extends Object implements PropertiesFunction
PropertiesFunction that lookup the property value from
OS environment variables using the service idiom.
A service is defined using two environment variables where name is name of the service:
| Constructor and Description |
|---|
ServicePortPropertiesFunction() |
| Modifier and Type | Method and Description |
|---|---|
String |
apply(String remainder)
Applies the function
|
String |
getName()
Name of the function which is used as name: to let the properties component know its a function.
|
public ServicePortPropertiesFunction()
public String getName()
PropertiesFunctiongetName in interface PropertiesFunctionpublic String apply(String remainder)
PropertiesFunctionapply in interface PropertiesFunctionremainder - the remainder valueApache Camel