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.
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 Summary
-
Method Details
-
onContentTransformFailure
void onContentTransformFailure(Long dbId, String nodeRef, Long sourceCommitTimeMs, String failureType, String failureReason) - Parameters:
dbId- source node database id (nevernull— the writer only calls this after a per-node lookup)nodeRef- Alfresco node reference (nevernull)sourceCommitTimeMs- best-effort event/commit time in epoch ms; may benullfailureType- short classifier (e.g.TRANSFORM_HTTP_400); nevernullfailureReason- human-readable reason from the transform layer; may benull
-