Interface DispatchCallback<T>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A callback used to signal when a item coming from a Camel route has been delivered to the external stream processor.
-
Method Summary
-
Method Details
-
processed
Signals the delivery of the item. If the item cannot be delivered (no subscribers registered, conversion error) the relatedThrowable
is specified as parameter.- Parameters:
data
- the itemerror
- the error occurred, if any
-