complexType "poolingProfileType"
Namespace:
Content:
empty, 5 attributes
Defined:
globally in mule.xsd; see XML source
Includes:
definitions of 5 attributes
Used:
Content Model Diagram
XML Representation Summary
<...
   
 = 
xsd:string
 = 
xsd:string
 = 
("INITIALISE_NONE" | "INITIALISE_ONE" | "INITIALISE_ALL") : "INITIALISE_ONE"
 = 
("WHEN_EXHAUSTED_GROW" | "WHEN_EXHAUSTED_WAIT" | "WHEN_EXHAUSTED_FAIL") : "WHEN_EXHAUSTED_GROW"
 = 
xsd:string
/>
All Direct / Indirect Based Elements (1):
pooling-profile
Known Usage Locations
Annotation
A pooling profile is used to configure the pooling behaviour of Mule components. Each component can have its own pooling profile.
Type Definition Detail
Type Derivation Tree
abstractPoolingProfileType (extension)
  poolingProfileType
XML Source (w/o annotations (6); see within schema source)
<xsd:complexType name="poolingProfileType">
<xsd:complexContent>
<xsd:extension base="abstractPoolingProfileType">
<xsd:attribute name="maxActive" type="xsd:string"/>
<xsd:attribute name="maxIdle" type="xsd:string"/>
<xsd:attribute default="INITIALISE_ONE" name="initialisationPolicy">
<xsd:simpleType>
<xsd:restriction base="xsd:NMTOKEN">
<xsd:enumeration value="INITIALISE_NONE"/>
<xsd:enumeration value="INITIALISE_ONE"/>
<xsd:enumeration value="INITIALISE_ALL"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
<xsd:attribute default="WHEN_EXHAUSTED_GROW" name="exhaustedAction">
<xsd:simpleType>
<xsd:restriction base="xsd:NMTOKEN">
<xsd:enumeration value="WHEN_EXHAUSTED_GROW"/>
<xsd:enumeration value="WHEN_EXHAUSTED_WAIT"/>
<xsd:enumeration value="WHEN_EXHAUSTED_FAIL"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
<xsd:attribute name="maxWait" type="xsd:string"/>
<!-- <xsd:attribute name="factory" type="xsd:string" default="org.mule.config.pool.CommonsPoolFactory"/> -->
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
Attribute Detail (all declarations; defined within this component only; 5/5)
exhaustedAction
Type:
anonymous simpleType (restriction of xsd:NMTOKEN)
Use:
optional
Specifies the behavior of the Mule component pool when the pool is exhausted. Possible values are: "WHEN_EXHAUSTED_FAIL", which will throw a NoSuchElementException, "WHEN_EXHAUSTED_WAIT", which will block by invoking Object.wait(long) until a new or idle object is available, or WHEN_EXHAUSTED_GROW, which will create a new Mule instance and return it, essentially making maxActive meaningless. If a positive maxWait value is supplied, it will block for at most that many milliseconds, after which a NoSuchElementException will be thrown. If maxThreadWait is a negative value, it will block indefinitely.
Attribute Value
enumeration of xsd:NMTOKEN
Enumeration:
"WHEN_EXHAUSTED_GROW", "WHEN_EXHAUSTED_WAIT", "WHEN_EXHAUSTED_FAIL"
Default:
"WHEN_EXHAUSTED_GROW"
Anonymous simpleType
Type Derivation Tree
xsd:NMTOKEN (restriction)
  simpleType
Derivation:
restriction of xsd:NMTOKEN
Facets:
enumeration:
"WHEN_EXHAUSTED_GROW", "WHEN_EXHAUSTED_WAIT", "WHEN_EXHAUSTED_FAIL"
XML Source (w/o annotations (1); see within schema source)
<xsd:attribute default="WHEN_EXHAUSTED_GROW" name="exhaustedAction">
<xsd:simpleType>
<xsd:restriction base="xsd:NMTOKEN">
<xsd:enumeration value="WHEN_EXHAUSTED_GROW"/>
<xsd:enumeration value="WHEN_EXHAUSTED_WAIT"/>
<xsd:enumeration value="WHEN_EXHAUSTED_FAIL"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>

initialisationPolicy
Type:
anonymous simpleType (restriction of xsd:NMTOKEN)
Use:
optional
Determines how components in a pool should be initialized. The possible values are: INITIALISE_NONE (will not load any components into the pool on startup), INITIALISE_ONE (will load one initial component into the pool on startup), or INITIALISE_ALL (will load all components in the pool on startup)
Attribute Value
enumeration of xsd:NMTOKEN
Enumeration:
"INITIALISE_NONE", "INITIALISE_ONE", "INITIALISE_ALL"
Default:
"INITIALISE_ONE"
Anonymous simpleType
Type Derivation Tree
xsd:NMTOKEN (restriction)
  simpleType
Derivation:
restriction of xsd:NMTOKEN
Facets:
enumeration:
"INITIALISE_NONE", "INITIALISE_ONE", "INITIALISE_ALL"
XML Source (w/o annotations (1); see within schema source)
<xsd:attribute default="INITIALISE_ONE" name="initialisationPolicy">
<xsd:simpleType>
<xsd:restriction base="xsd:NMTOKEN">
<xsd:enumeration value="INITIALISE_NONE"/>
<xsd:enumeration value="INITIALISE_ONE"/>
<xsd:enumeration value="INITIALISE_ALL"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>

maxActive
Type:
xsd:string, predefined
Use:
optional
Controls the maximum number of Mule components that can be borrowed from a session at one time. When set to a negative value, there is no limit to the number of components that may be active at one time. When maxActive is exceeded, the pool is said to be exhausted.
XML Source (w/o annotations (1); see within schema source)
<xsd:attribute name="maxActive" type="xsd:string"/>

maxIdle
Type:
xsd:string, predefined
Use:
optional
Controls the maximum number of Mule components that can sit idle in the pool at any time. When set to a negative value, there is no limit to the number of Mule components that may be idle at one time.
XML Source (w/o annotations (1); see within schema source)
<xsd:attribute name="maxIdle" type="xsd:string"/>

maxWait
Type:
xsd:string, predefined
Use:
optional
Specifies the number of milliseconds to wait for a pooled component to become available when the pool is exhausted and the exhaustedAction is set to WHEN_EXHAUSTED_WAIT.
XML Source (w/o annotations (1); see within schema source)
<xsd:attribute name="maxWait" type="xsd:string"/>

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.