Interface TracedQueue.Handler

Enclosing class:
TracedQueue
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 static interface TracedQueue.Handler
Handler called under the persisted consumer context. Commit effects before returning; the outer queue acknowledgement remains a separate, retryable operation.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    process(byte[] payload)
    Processes an application payload without implicit queue acknowledgement.
  • Method Details

    • process

      void process(byte[] payload) throws Exception
      Processes an application payload without implicit queue acknowledgement.
      Parameters:
      payload - independent application bytes
      Throws:
      Exception - if processing fails