Velocity Parser Pool Size
Last modified by Vincent Massol on 2026/08/05 17:15
| Get the Velocity parser.pool.size property value |
| Type | Snippet |
| Category | |
| Developed by | |
| Rating | |
| License | GNU Lesser General Public License 2.1 |
Table of contents
Description
Use the following Groovy script:
{{groovy}}import org.xwiki.velocity.*
def velocityManager = services.component.getInstance(VelocityManager.class)
def velocityEngine = velocityManager.getVelocityEngine()
println velocityEngine.rsvc.getProperty("parser.pool.size"){{/groovy}}