XML Schema "mule-xmpp.xsd"
Target Namespace:
http://www.mulesoft.org/schema/mule/xmpp
Defined Components:
6 global elements, 4 complexTypes, 5 attribute groups
Default Namespace-Qualified Form:
Local Elements: qualified; Local Attributes: unqualified
Schema Location:
http://www.mulesoft.org/schema/mule/xmpp/3.0/mule-xmpp.xsd; see XML source
Imports Schemas (3):
mule-schemadoc.xsd [src], mule.xsd [src], xml.xsd [src]
Annotation
The XMPP transport connects Mule to an XMPP (Jabber) server.
XML Source
<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://www.mulesoft.org/schema/mule/xmpp" xmlns="http://www.mulesoft.org/schema/mule/xmpp" xmlns:mule="http://www.mulesoft.org/schema/mule/core" xmlns:schemadoc="http://www.mulesoft.org/schema/mule/schemadoc" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace"/>
<xsd:annotation>
<xsd:documentation>
The XMPP transport connects Mule to an XMPP (Jabber) server.
</xsd:documentation>
<xsd:appinfo>
<schemadoc:short-name>XMPP</schemadoc:short-name>
<schemadoc:page-title>XMPP Transport</schemadoc:page-title>
<schemadoc:transport-features dispatchEvents="true" receiveEvents="true" requestEvents="true" streaming="false" transactions="false">
<schemadoc:MEPs default="one-way" supported="one-way, request-response"/>
</schemadoc:transport-features>
</xsd:appinfo>
</xsd:annotation>
<xsd:element name="connector" substitutionGroup="mule:abstract-connector" type="xmppConnectorType">
<xsd:annotation>
<xsd:documentation>
Connect Mule to an XMPP (Jabber) server to send or receive data via the network.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:complexType name="xmppConnectorType">
<xsd:complexContent>
<xsd:extension base="mule:connectorType">
<xsd:attribute name="host" type="xsd:string">
<xsd:annotation>
<xsd:documentation>
Host name or IP address of the Jabber server.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="port" type="mule:substitutablePortNumber">
<xsd:annotation>
<xsd:documentation>
The port number to connect on. Default port is 5222.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="serviceName" type="xsd:string">
<xsd:annotation>
<xsd:documentation>
The service name to use when connecting the Jabber server.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="user" type="xsd:string">
<xsd:annotation>
<xsd:documentation>
The username used for authenitcation.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="password" type="xsd:string">
<xsd:annotation>
<xsd:documentation>
The password for the user being authenticated.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="resource" type="xsd:string">
<xsd:annotation>
<xsd:documentation>
The resource portion of the address, such as user@host/resource or domain/resource.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="createAccount" type="mule:substitutableBoolean">
<xsd:annotation>
<xsd:documentation>
If true, an attempt is made to create an account using the user and password while connecting. Default is false.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:element name="inbound-endpoint" substitutionGroup="mule:abstract-inbound-endpoint" type="inboundEndpointType">
<xsd:annotation>
<xsd:documentation>
The endpoint on which this connector receives messages from the xmpp connection.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:complexType name="inboundEndpointType">
<xsd:complexContent>
<xsd:extension base="mule:inboundEndpointType">
<xsd:attributeGroup ref="addressAttributes"/>
<xsd:attributeGroup ref="propertyAttributes"/>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:element name="outbound-endpoint" substitutionGroup="mule:abstract-outbound-endpoint" type="outboundEndpointType">
<xsd:annotation>
<xsd:documentation>
The endpoint to which this connector sends messages.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:complexType name="outboundEndpointType">
<xsd:complexContent>
<xsd:extension base="mule:outboundEndpointType">
<xsd:attributeGroup ref="addressAttributes"/>
<xsd:attributeGroup ref="propertyAttributes"/>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:element name="endpoint" substitutionGroup="mule:abstract-global-endpoint" type="globalEndpointType">
<xsd:annotation>
<xsd:documentation>
An endpoint "template" that can be used to construct an inbound or outbound endpoint elsewhere in the configuration by referencing the endpoint name.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:complexType name="globalEndpointType">
<xsd:complexContent>
<xsd:extension base="mule:globalEndpointType">
<xsd:attributeGroup ref="addressAttributes"/>
<xsd:attributeGroup ref="propertyAttributes"/>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:attributeGroup name="addressAttributes">
<xsd:attribute name="recipient" type="xsd:string">
<xsd:annotation>
<xsd:documentation>
The Jabber ID of the intended recipient of the messages, such as ross@myco.com. For GROUPCHAT type endpoints, this is the address of the chat to join.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="from" type="xsd:string">
<xsd:annotation>
<xsd:documentation>
The user who sent the message. Ignored in GROUPCHAT type endpoints.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:attributeGroup>
<xsd:attributeGroup name="propertyAttributes">
<xsd:attribute default="CHAT" name="type">
<xsd:annotation>
<xsd:documentation>
The type of the Jabber message to send: MESSAGE, CHAT or GROUPCHAT.
</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:NMTOKEN">
<xsd:enumeration value="MESSAGE"/>
<xsd:enumeration value="CHAT"/>
<xsd:enumeration value="GROUPCHAT"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
<xsd:attributeGroup ref="messageAttributes"/>
<xsd:attributeGroup ref="chatAttributes"/>
<xsd:attributeGroup ref="multiUserChatAttributes"/>
</xsd:attributeGroup>
<xsd:attributeGroup name="messageAttributes">
<xsd:attribute name="subject" type="xsd:string">
<xsd:annotation>
<xsd:documentation>
The subject of the message (applies to type=MESSAGE endpoints only).
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:attributeGroup>
<xsd:attributeGroup name="chatAttributes">
<!-- TODO xmpp: use the thread attribute in code (currently unimplemented) -->
<xsd:attribute name="thread" type="xsd:string">
<xsd:annotation>
<xsd:documentation>
The thread to which the message belongs.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:attributeGroup>
<xsd:attributeGroup name="multiUserChatAttributes">
<xsd:attribute name="nickname" type="xsd:string">
<xsd:annotation>
<xsd:documentation>
The user's nickname in a groupchat.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:attributeGroup>
<xsd:annotation>
<xsd:documentation>
The xmpp-to-object-transformer element configures a transformer that converts an XMPP message into an object by extracting the message payload.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:annotation>
<xsd:documentation>
The object-to-xmpp-transformer element configures a transformer that converts an object into an XMPP message.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:schema>

XML schema documentation generated with DocFlex/XML SDK 1.8.1b6 using DocFlex/XML XSDDoc 2.2.1 template set. All content model diagrams generated by Altova XMLSpy via DocFlex/XML XMLSpy Integration.