- Spring 5.0 Projects
- Nilang Patel
- 58字
- 2021-07-02 12:35:02
Processor rules
Processor is described with the following interface definition:
public interface Processor<T, R> extends Subscriber<T>, Publisher<R> {
}
It has just two rules. The first rule talks about the contract that must be followed by both Subscriber and Publisher , while the second rule is intended to handle the error situation, either recover or propagate to Subscriber.