Book Image

Mastering Spring Application Development

By : Anjana Mankale
Book Image

Mastering Spring Application Development

By: Anjana Mankale

Overview of this book

Table of Contents (19 chapters)
Mastering Spring Application Development
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Spring's XSD for FTP


Let's look at the XSD that the Spring Integration package has provided for FTP. This has all the schema definitions and gives us all the configuration possibilities that are supported by Spring, so it becomes easier to configure the XML file.

The XSD (http://www.springframework.org/schema/integration/ftp/spring-integration-ftp.xsd) offers a lot of information about the Spring integration with FTP. It gives us information about configuring the channel adapters in the XML configuration files.

The inbound and outbound channel adapters are the two main elements in the XSD. Here is an extract from the XSD available at the link we just mentioned:

<xsd:element name="outbound-channel-adapter">...</xsd:element>
<xsd:element name="inbound-channel-adapter">...</xsd:element>
<xsd:complexType name="base-ftp-adapter-type">...</xsd:complexType>
</xsd:schema>

In the next sections, we shall see how we can configure each of the inbound and outbound...