PoolClass Property Substitution and Configuration via XML
Issue
-
We have annotations like this:
@PoolClass(value=org.jboss.ejb3.StrictMaxPool.class, maxSize=750, timeout=10000)
However sometimes we want to tune the maxSize at jboss start time.
Is it possible to do something like this:
@PoolClass(value=org.jboss.ejb3.StrictMaxPool.class, maxSize=${my.system.property}, timeout=10000)
Environment
- JBoss Enterprise Application Platform (EAP)
- 4.3
- 5.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
