I am creating temporary files using following Java code.
File tmp = File.createTempFile(“ORD” , “.tmp”, new File(“/home/adubey”));
When I put this code in a Java file, compile and run it, then its generating temporary files with name “ORD#####.tmp”, where “#####” is a randomly generated number.
However, if I am creating a Java Service in webMethods and using same java code for temporary file generation, then the value of “#####” is always sequential. After every execution the “#####” value is getting an increment of one.
Are there any properties or settings available in webMethods which is a reason for this sequential temporary file generation, and where is this sequence number being persisted?
Thanks
Amrendra
#webMethods#Flow-and-Java-services#Integration-Server-and-ESB