Book Image

Spring Integration Essentials

By : CHANDAN K PANDEY
Book Image

Spring Integration Essentials

By: CHANDAN K PANDEY

Overview of this book

Table of Contents (18 chapters)
Spring Integration Essentials
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Index

Prerequisites


Before we can get started with an example, we will need the following software in order to import and run the project:

  • A Java IDE (preferably STS, but any other IDE such as Eclipse or NetBeans will also do)

  • JDK 1.6 and above

  • Maven

  • FTP server (this is optional and will only be needed if enabled)

Setting up

Once we have all the prerequisites, follow these steps to launch the program:

  1. Check out the project that you've downloaded with the code bundle. It is a Maven project, so using the IDE of your choice, import it as a Maven project.

  2. Add settings for the e-mail, JMS, and FTP accounts in settings.properties:

    #URL of RSS feed, as example http://stackoverflow.com/feeds -Make #sure there are not copyright or legal issues in consumption of
    #feed
    feeds.url=some valid feed URL 
    #Username for e-mail account
    mail.username=yourusername
    #Password for e-mail account
    mail.password=yourpassword
    #FTP server host
    ftp.host=localhost
    #FTP port
    ftp.port=21
    #Remote directory on FTP which the listener would...