Velocity Parser Pool Size

Last modified by Vincent Massol on 2026/08/05 17:15

cogGet the Velocity parser.pool.size property value
TypeSnippet
Category
Developed by

Vincent Massol

Rating
0 Votes
LicenseGNU 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}}

Get Connected