Package org.apache.camel.spi
Interface PropertiesReload
-
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface PropertiesReload
Listener for re-loading aProperties
such as a Camel route.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onReload(String name, Properties properties)
Callback when the properties is re-loaded.
-
-
-
Method Detail
-
onReload
void onReload(String name, Properties properties) throws Exception
Callback when the properties is re-loaded.- Parameters:
name
- name of the resource such as the file name (absolute)properties
- the properties that was re-loaded- Throws:
Exception
- error reloading properties
-
-