In this kind of scenario we need some kind of mapping which can associate values from one application to another.In ESB it can be done through Domain value mapping.In this exercise we will see how to create a DVM and use it.
We will see it step by step
1>Create a domain value map.
Log in to ESB console
http://host:port/esb
Now on the right hand top side click on the map .

Now domain map page will come just click on create a new map and name it as per your requirement.
Now once the map comes it is easy to add columns,rows and values.It is for you to design your own map.You have to double click on every item to change its values.I created a simple DVM like this.

Now you can use this DVM in your transformation where in two different end point might be using two different notations for pointing to the same data.
In the transformation activity you can drag and drop an assign activity and then choose the parameters as per your requirement.
A simple illustration is

No comments:
Post a Comment