Class ManagedQueueDeliveryContext
java.lang.Object
org.j7m.middleware.application.distributed.ManagedQueueDeliveryContext
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
-
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
-