complexType "testComponentType"
Namespace:
Content:
complex, 10 attributes, attr. wildcard, 5 elements
Defined:
globally in mule-test.xsd; see XML source
Includes:
definitions of 10 attributes, 2 elements
Used:
Content Model Diagram
XML Representation Summary
<...
   
 = 
xsd:boolean
 = 
xsd:boolean
 = 
xsd:boolean
 = 
(xsd:string | xsd:NMTOKEN)
 = 
xsd:string
 = 
xsd:boolean
 = 
xsd:boolean
 = 
xsd:string
 = 
(xsd:string | xsd:long)
 = 
xsd:string
    {any attribute with non-schema namespace}
    >
   
Content: 
mule:annotations?, ((mule:abstract-interceptor | mule:interceptor-stack)+)?, return-data?, callback?
</...>
Content Model Elements (5):
callback,
mule:abstract-interceptor,
mule:annotations,
mule:interceptor-stack (type mule:refInterceptorStackType),
return-data
All Direct / Indirect Based Elements (2):
component, web-service-component
Known Usage Locations
Type Definition Detail
Type Derivation Tree
mule:annotatedType (extension)
      mule:abstractComponentType (extension)
          testComponentType
XML Source (w/o annotations (14); see within schema source)
<xsd:complexType name="testComponentType">
<xsd:complexContent>
<xsd:extension base="mule:abstractComponentType">
<xsd:sequence>
<xsd:element maxOccurs="1" minOccurs="0" name="return-data">
<xsd:complexType mixed="true">
<xsd:attribute name="file" type="xsd:string"/>
</xsd:complexType>
</xsd:element>
<xsd:element maxOccurs="1" minOccurs="0" name="callback">
<xsd:complexType>
<xsd:attribute name="class" type="xsd:string" use="required"/>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
<xsd:attribute name="throwException" type="xsd:boolean"/>
<xsd:attribute name="logMessageDetails" type="xsd:boolean"/>
<xsd:attribute name="doInboundTransform" type="xsd:boolean"/>
<xsd:attribute name="exceptionToThrow" type="mule:substitutableName"/>
<xsd:attribute name="exceptionText" type="xsd:string"/>
<xsd:attribute name="enableMessageHistory" type="xsd:boolean"/>
<xsd:attribute name="enableNotifications" type="xsd:boolean"/>
<xsd:attribute name="appendString" type="xsd:string"/>
<xsd:attribute name="waitTime" type="mule:substitutableLong"/>
<xsd:attribute name="id" type="xsd:string"/>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
Attribute Detail (all declarations; defined within this component only; 10/11)
appendString
Type:
xsd:string, predefined
Use:
optional
A string value that will be appeneded to every message payload that passes through the component. Note that by setting this property you implicitly select that the message payload will be converted to a string and that a string payload will be returned. The inbound transformer (if any) will get applied first, but if that does not return a string, {{MuleEventContext.getMessageAsString()}} will be called directly after.
XML Source (w/o annotations (1); see within schema source)
<xsd:attribute name="appendString" type="xsd:string"/>

doInboundTransform
Type:
xsd:boolean, predefined
Use:
optional
Whether the message will be transformed using the transformer(s) set on the inbound endpoint before it gets processed. The default is true.
XML Source (w/o annotations (1); see within schema source)
<xsd:attribute name="doInboundTransform" type="xsd:boolean"/>

enableMessageHistory
Type:
xsd:boolean, predefined
Use:
optional
Every message that is received by the test component is stored and can be retrieved. If you do not want this information stored, such as if you are running millions of messages through the component, you can disable this feature to avoid a potential out of memory error.
XML Source (w/o annotations (1); see within schema source)
<xsd:attribute name="enableMessageHistory" type="xsd:boolean"/>

enableNotifications
Type:
xsd:boolean, predefined
Use:
optional
Whether to fire a {{FunctionalTestNotification}} when a message is received by the component. Test cases can register to receive these notifications and make assertions on the current message.
XML Source (w/o annotations (1); see within schema source)
<xsd:attribute name="enableNotifications" type="xsd:boolean"/>

exceptionText
Type:
xsd:string, predefined
Use:
optional
The text of the exception that is thrown. Used in conjunction with {{throwException}}. If this is not specified, an empty message will be used.
XML Source (w/o annotations (1); see within schema source)
<xsd:attribute name="exceptionText" type="xsd:string"/>

exceptionToThrow
Type:
Use:
optional
A fully qualified classname of the exception object to throw. Used in conjunction with {{throwException}}. If this is not specified, a {{FunctionalTestException}} will be thrown by default.
Attribute Value
xsd:string | xsd:NMTOKEN
XML Source (w/o annotations (1); see within schema source)
<xsd:attribute name="exceptionToThrow" type="mule:substitutableName"/>

id
Type:
xsd:string, predefined
Use:
optional
The name of this component
XML Source (w/o annotations (1); see within schema source)
<xsd:attribute name="id" type="xsd:string"/>

logMessageDetails
Type:
xsd:boolean, predefined
Use:
optional
Whether to output all message details to the log. This includes all headers and the full payload. The information will be loogged at INFO level.
XML Source (w/o annotations (1); see within schema source)
<xsd:attribute name="logMessageDetails" type="xsd:boolean"/>

throwException
Type:
xsd:boolean, predefined
Use:
optional
Whether the component should throw an exception before any processing takes place.
XML Source (w/o annotations (1); see within schema source)
<xsd:attribute name="throwException" type="xsd:boolean"/>

waitTime
Type:
Use:
optional
The time in milliseconds to wait before returning a result. All processing happens in the component before the wait begins.
Attribute Value
xsd:string | xsd:long
XML Source (w/o annotations (1); see within schema source)
<xsd:attribute name="waitTime" type="mule:substitutableLong"/>
Content Element Detail (all declarations; defined within this component only; 2/5)
callback
Type:
anonymous complexType, empty content
A user-defined callback that is invoked when the test component is invoked. This can be useful for capturing information such as message counts. Use the {{class}} attribute to specify the callback class name, which must be an object that implements {{org.mule.tck.functional.EventCallback}}.
XML Source (w/o annotations (2); see within schema source)
<xsd:element maxOccurs="1" minOccurs="0" name="callback">
<xsd:complexType>
<xsd:attribute name="class" type="xsd:string" use="required"/>
</xsd:complexType>
</xsd:element>

return-data
Type:
anonymous complexType, mixed content
Defines the data to return from the service once it has been invoked. The return data can be located in a file, which you specify using the {{file}} attribute (specify a resource on the classpath or on disk), or the return data can be embeddded directly in the XML.
XML Source (w/o annotations (2); see within schema source)
<xsd:element maxOccurs="1" minOccurs="0" name="return-data">
<xsd:complexType mixed="true">
<xsd:attribute name="file" type="xsd:string"/>
</xsd:complexType>
</xsd:element>

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.