This sample project demonstrates generating multiple documents while limiting the number of threads processing at one time using a semaphore. This is useful for when your license has a thread limit and you don't want to exceed the limit.
- Open the project in Intellij
- Insert your license in the WindwardReports.properties file
- If you don't have a license you can leave it blank and a watermark will be present in output
- Set the numThreads property in WindardReports.properties to specify a thread limit (Default is 2)
- Run the sample with the Run button