Hi, As per previous discussions we had, the objective of the datamapper mediator is to map input (payload) from one mediator (most probably this would be a connector) an gives the required output to the other mediator. Currently we are using a class mediator for this purpose. Therefore we are going to implement a custom mediator for data mapping called 'DataMapperMediator'.
Mainly for the mapping done in the data mapper engine we need three inputs as mapping configuration, input avro schema and output avro schema. References for these inputs should be in the Data Mapper Mediator, therefore below mentioned properties or attributes should be defined for the Mediator. - Configuration key - InputSchema key - OutputSchema key The Data Mapper Mediator implemented based on the above properties will get the resources from the pointed locations and give them to the data mapper engine as inputs. And also it generates a required output for the next mediator based on the output received from the datamapper backend. Currently the payload is in XML and the data mapper engine gives the output as JSON therefore, for the time been Data Mapper Mediator is going to implement to get the XML input and to generate an XML output. Thanks, Sohani Sohani Weerasinghe Software Engineer WSO2, Inc: http://wso2.com Mobile : +94 716439774 Blog :http://christinetechtips.blogspot.com/ Twitter : https://twitter.com/sohanichristine
_______________________________________________ Architecture mailing list [email protected] https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
