If a transformer returns null, the transform sequence assumes transformation has failed and produces a really unhelpful error message:
17:09:15,434 WARN [org.switchyard.transform.TransformSequence] (http--127.0.0.1-8080-2) Transformer 'org.switchyard.transform.TransformerUtil$1' returned a null transformation result. Check input payload matches requirements of the Transformer implementation.
Reconsider whether this should be considered an error and produce a useful error message.
|