Class ServicePropertiesFunction
- java.lang.Object
-
- org.apache.camel.component.properties.ServicePropertiesFunction
-
- All Implemented Interfaces:
org.apache.camel.spi.PropertiesFunction
public class ServicePropertiesFunction extends Object implements org.apache.camel.spi.PropertiesFunction
APropertiesFunction
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:- NAME_SERVICE_HOST
- NAME_SERVICE_PORT
-
-
Constructor Summary
Constructors Constructor Description ServicePropertiesFunction()
-