Class ManagedQueueDeliveryContext

java.lang.Object
org.j7m.middleware.application.distributed.ManagedQueueDeliveryContext

public final class ManagedQueueDeliveryContext extends Object
Actual owner-bound queue metadata for the current USER callback. Retaining it does not extend receipt ownership. DLQ observations grant no ACK, removal or redrive authority. This context is local-only and cannot serve as a bearer token or be deserialized from a message.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.j7m.middleware.distributed.QueueDelivery
    Reads the exact immutable source grant, including original receipt for DLQ observations.
    byte[]
    Reads the original retry-stable transport envelope used for inbox content fingerprints.

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • delivery

      public org.j7m.middleware.distributed.QueueDelivery delivery()
      Reads the exact immutable source grant, including original receipt for DLQ observations.
      Returns:
      complete immutable delivery metadata and defensive payload accessor
      Throws:
      IllegalStateException - outside this owned USER callback
    • envelope

      public byte[] envelope()
      Reads the original retry-stable transport envelope used for inbox content fingerprints.
      Returns:
      copied opaque envelope, never a newly captured trace context
      Throws:
      IllegalStateException - outside this owner callback