As part of our application we want to create temporary files (.xml) that will sit in JBoss/server/default/tmp. These files will help us for debugging purposes.
The size of the created files depend on the transaction carried out. So as not to flood the temp folder with huge files, we want to be able to retain the files in the tmp folder for a particular time frame, after which Jboss will automatically delete the files. Is this possible to do?