Failover transform pipelines - Failover transform pipelines - Alfresco - Alfresco Transform Service - Alfresco/Alfresco-Transform-Service/4.1/Alfresco-Transform-Service/Configure/Configure-Transform-Service/Configuring-T-Engines/Failover-transform-pipelines - 4.1 - 4.1

Alfresco Transform Service

Platform
Alfresco
Product
Alfresco Transform Service
Release
4.1
License
ft:lastPublication
2025-04-04T12:53:25.056000
ft:locale
en-US

A failover transform simply provides a list of transforms to be attempted one after another until one succeeds. For example, you may have a fast transform that is able to handle a limited set of transforms and another that is slower but handles all cases.

{
  "transformers": [
    {
      "transformerName": "imgExtractOrImgCreate",
      "transformerFailover" : [ "imgExtract", "imgCreate" ],
      "supportedSourceAndTargetList": [
        {"sourceMediaType": "application/vnd.oasis.opendocument.graphics", "priority": 150, "targetMediaType": "image/png" },
        ...
        {"sourceMediaType": "application/vnd.sun.xml.calc.template",       "priority": 150, "targetMediaType": "image/png" }
      ]
    }
  ]
}
  • transformerName - Unique name for the transform.
  • transformerFaillover - A list of transformers to try.
  • supportedSourceAndTargetList - The supported source and target Media Types, which refer to the Media Types this failover transformer can transform from and to, additionally you can set the priority and the maxSourceSizeBytes. Unlike pipelines, it must not be blank.
  • transformOptions - A list of references to options required by the pipeline transformer.