Products | Versions |
---|---|
TIBCO ActiveMatrix Service Grid | 3.3.0 |
The "Thread Pool" Resource Template has a configuration field named 'Rejection Policy'.
When creating it from Administrator GUI the possible values that can be set from the drop-down list are: 'Caller Runs', 'Abort', and 'Blocking'.
In CLI script for creating such "Thread Pool" Resource Template ("resourcetemplate_data.xml") the 'Blocking' value is set by default:
<ResourceTemplate
xsi:type="amxdata:ThreadPoolResourceTemplate"
name="ThreadPoolRT"
description="This is Thread Pool RT"
corePoolSize="2"
maxPoolSize="10"
keepAliveTime="30"
autoStartCoreThread="false"
threadPoolNamePrefix="tp"
daemon="false"
rejectionPolicy="Blocking"
priority="5"
/>
Providing values as 'Blocking', 'Abort' in CLI scripts works fine.
However, providing literal representation 'Caller Runs' in CLI scripts will NOT work, and in that case the default 'Blocking' policy will be used instead.