Parameterized Java Mapping is a new feature from PI 7.1 which allow us to pass runtime variable from Mapping, BPM and even from Interface Determination.
In this blog, I am going to show you how to read the parameters from the java mapping and configure it in the message mapping.
Sample Parameterized Java Mapping:
I have loaded the Java Mapping and used in the Operation Mapping as below:
Now we need to add the Parameters for this operating mapping:
After the parameters are added we need to bind this parameter to our java mapping indicating which one we will use and with what names.
Once the mapping is executed our java mapping now able to read the parameters.
I have attached the source code for your reference and can be downloaded from below. Let me know if you encounter any issues here.