JBeret standalone (in Java SE environment) uses standard java Executor Service, so you can configure it in jberet-install-dir/bin/jberet.properties, which contains properties matching relevant executor service properties (e.g., thread-pool-core-size, thread-pool-queue-capacity, thread-pool-max-size, etc).
I have problem with settings in jberet.properties file. I would like to put to the queue about 50 tasks. At this same time only 3 should be active, and rest should waits in the queue. As I undestand then settings are more important:
thread-pool-type = Configured
thread-pool-core-size = 100
thread-pool-queue-capacity = 100
thread-pool-max-size = 100
But how to set it to my requirments?
can you try thread-pool-core-size = 5 ? JBeret reserves some threads out of the thread-pool-core-size internally, so the value of thread-pool-core-size should be slightly higher than the number of tasks that you want executed immediately.