Quantcast
Channel: SCN : Unanswered Discussions - Process Integration (PI) & SOA Middleware
Viewing all articles
Browse latest Browse all 6719

accessing a very large key-value pair

$
0
0

Hi All,

 

I am developing a scenario where I need to access a very large key-value pairs i.e. 3000 pairs in my mapping. I have put all the details in a properties file and saved the file in the PI directory. Then I read the file from a UDF in a mapping.

 

Properties prop= new Properties(); 

InputStream input = this.getClass().getClassLoader().getResourceAsStream(file_path);

prop.load(input);

 

Please let me know if there are any other easier ways of doing it.

 

Thanks and Regards,

Rana Brata De

 

SAP PI Consultant

 


Viewing all articles
Browse latest Browse all 6719

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>