Interface ContentTransformFailureListener

All Known Implementing Classes:
DlqContentTransformFailureListener
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 ContentTransformFailureListener
Hook invoked by ContentTransformDirectWriter when a per-node content transform fails in a non-retryable way (currently 4xx from ACS). Kept optional via ObjectProvider — when no bean is registered the writer only logs a WARN and moves on, matching the "best-effort secondary indexing" contract from ContentTransformDirectWriter's JavaDoc.
  • Method Details

    • onContentTransformFailure

      void onContentTransformFailure(Long dbId, String nodeRef, Long sourceCommitTimeMs, String failureType, String failureReason)
      Parameters:
      dbId - source node database id (never null — the writer only calls this after a per-node lookup)
      nodeRef - Alfresco node reference (never null)
      sourceCommitTimeMs - best-effort event/commit time in epoch ms; may be null
      failureType - short classifier (e.g. TRANSFORM_HTTP_400); never null
      failureReason - human-readable reason from the transform layer; may be null