Here is how to do it. This will replace message body by the value of "xmlfile" property.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Here is how to do it. This will load body.xml file from governance registry, and store in 'xmlfile' property.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Now you want to split users, and call some backend service for each user. Here is how to do. (Here I'm logging each user details instead of calling a backend service.)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[2015-08-18 15:49:27,200] INFO - LogMediator Name is = X, Age is = 10 [2015-08-18 15:49:27,204] INFO - LogMediator Name is = Y, Age is = 12 [2015-08-18 15:49:27,205] INFO - LogMediator Name is = Z, Age is = 15