- 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 NewMessageIdentifier
An optimization for stateful retry of message processing. If a message is known to be "new", i.e. never consumed
before by this or any other client, then there are potential optimizations for managing the state associated with
tracking the processing of a message (e.g. there is no need to check a cache for a hit).
- Author:
- Dave Syer, Gary Russell