There are many ways to handle this situation. You can also used enhanced interface determination and check the condition whether data exists or not in the mapping and choose the target structure accordingly. This way you decide target structure with showing some message text showing that data does not exist on the sender side. If the data exists then default your target structure if not your customized another message structure. Raja already pointed another approach receiver determination check. Though I like Adapter engine xml validation , it might also cause some performance issues at runtime.
↧