Package com.babelqueue.idempotency
Interface Handler
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A consume handler: processes one decoded
Envelope. It may throw — a thrown
handler leaves the message unacknowledged so the runtime redelivers it (the core is
codec-only, so an adapter drives the actual consume loop).-
Method Summary
-
Method Details
-
handle
Handles one message.- Parameters:
envelope- the decoded envelope- Throws:
Exception- to signal failure (redelivery / dead-letter per the adapter)
-