Package org.apache.camel.spi
Interface ResourceReload
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Listener for re-loading a
Resource
such as a Camel route.-
Method Summary
-
Method Details
-
onReload
Callback when the resource is re-loaded.- Parameters:
name
- name of the resource such as the file name (absolute)resource
- the resource- Throws:
Exception
- error reloading the resources
-