Message Mapping Pattern
2023-11-29 14:9:12 Author: blogs.sap.com(查看原文) 阅读量:2 收藏

Understanding Queues and Context is tricky. If you stick to some rules, mappings can be simplified to great extent. Below video has mapping logic for a common scenario.

Rules:-
– Put filter logic on Node elements.
– Map Leaf elements one – to – one.

Avoid:-
– Avoid removeContexts, collapseContexts, mapWithDefault on Node elements.
– Avoid context change of Leaf elements.

Do’s:-
– Control the occurrence of Node elements by controlling the context of input element.
– Use mapWithDefault for Leaf elements, if required.


文章来源: https://blogs.sap.com/2023/11/29/message-mapping-pattern/
如有侵权请联系:admin#unsafe.sh