// This method looks for the MAX_POOL_SIZE property within switchyard.xml to
// configure the default transformer pool size
int getTransformPoolSize(XsltTransformModel model) {
int poolSize = DEFAULT_MAX_POOL_SIZE;
// attempt to navigate to parent
Model root = model.getModelRoot();
if (root instanceof SwitchYardModel) {
SwitchYardModel syModel = (SwitchYardModel)root;
if (syModel.getDomain() != null && syModel.getDomain().getProperties() != null) {
String poolProp = syModel.getDomain().getProperties().getPropertyValue(MAX_POOL_SIZE);
if (poolProp != null) {