attributeGroup "commonThreadPoolAttributes"
Namespace:
Content:
Defined:
globally in mule.xsd; see XML source
Includes:
definitions of 4 attributes
Used:
XML Representation Summary
<...
   
 = 
(xsd:string | xsd:int)
 = 
("WAIT" | "DISCARD" | "DISCARD_OLDEST" | "ABORT" | "RUN")
 = 
(xsd:string | xsd:int)
 = 
(xsd:string | xsd:int)
...>
Known Usage Locations
XML Source (w/o annotations (4); see within schema source)
<xsd:attributeGroup name="commonThreadPoolAttributes">
<xsd:attribute name="threadTTL" type="substitutableInt"/>
<xsd:attribute name="poolExhaustedAction">
<xsd:simpleType>
<xsd:restriction base="xsd:NMTOKEN">
<xsd:enumeration value="WAIT"/>
<xsd:enumeration value="DISCARD"/>
<xsd:enumeration value="DISCARD_OLDEST"/>
<xsd:enumeration value="ABORT"/>
<xsd:enumeration value="RUN"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
<xsd:attribute name="threadWaitTimeout" type="substitutableInt"/>
<xsd:attribute name="maxBufferSize" type="substitutableInt"/>
</xsd:attributeGroup>
Attribute Detail (all declarations; defined within this component only; 4/4)
maxBufferSize
Type:
Use:
optional
Determines how many requests are queued when the pool is at maximum usage capacity and the pool exhausted action is WAIT. The buffer is used as an overflow.
Attribute Value
xsd:string | xsd:int
XML Source (w/o annotations (1); see within schema source)
<xsd:attribute name="maxBufferSize" type="substitutableInt"/>

poolExhaustedAction
Type:
anonymous simpleType (restriction of xsd:NMTOKEN)
Use:
optional
When the maximum pool size or queue size is bounded, this value determines how to handle incoming tasks. Possible values are: WAIT (wait until a thread becomes available; don't use this value if the minimum number of threads is zero, in which case a thread may never become available), DISCARD (throw away the current request and return), DISCARD_OLDEST (throw away the oldest request and return), ABORT (throw a RuntimeException), and RUN (the default; the thread making the execute request runs the task itself, which helps guard against lockup).
Attribute Value
enumeration of xsd:NMTOKEN
Enumeration:
"WAIT", "DISCARD", "DISCARD_OLDEST", "ABORT", "RUN"
Anonymous simpleType
Type Derivation Tree
xsd:NMTOKEN (restriction)
  simpleType
Derivation:
restriction of xsd:NMTOKEN
Facets:
enumeration:
"WAIT", "DISCARD", "DISCARD_OLDEST", "ABORT", "RUN"
XML Source (w/o annotations (1); see within schema source)
<xsd:attribute name="poolExhaustedAction">
<xsd:simpleType>
<xsd:restriction base="xsd:NMTOKEN">
<xsd:enumeration value="WAIT"/>
<xsd:enumeration value="DISCARD"/>
<xsd:enumeration value="DISCARD_OLDEST"/>
<xsd:enumeration value="ABORT"/>
<xsd:enumeration value="RUN"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>

threadTTL
Type:
Use:
optional
Determines how long an inactive thread is kept in the pool before being discarded.
Attribute Value
xsd:string | xsd:int
XML Source (w/o annotations (1); see within schema source)
<xsd:attribute name="threadTTL" type="substitutableInt"/>

threadWaitTimeout
Type:
Use:
optional
How long to wait in milliseconds when the pool exhausted action is WAIT. If the value is negative, it will wait indefinitely.
Attribute Value
xsd:string | xsd:int
XML Source (w/o annotations (1); see within schema source)
<xsd:attribute name="threadWaitTimeout" type="substitutableInt"/>

XML schema documentation generated with DocFlex/XML RE 1.8.5 using DocFlex/XML XSDDoc 2.5.0 template set. All content model diagrams generated by Altova XMLSpy via DocFlex/XML XMLSpy Integration.