Using the File or FTP transport to trigger a proxy service upon arrival of a new file
In this recipe, we will trigger a proxy service upon arrival of a file in a certain location. We will implement both, a proxy service listening on a folder in a local filesystem as well as one listening to a remote location via FTP.
Getting ready
In order to make working with the FTP example as simple as possible, we first install a simple local FTP server:
- From http://coreftp.com/server/index.html, download the Core FTP Server.
- Start the installer and click through it (leave all options on default).
- Create a folder
C:\work\ftp
. - Launch the Core FTP Server executable. ...
Get Oracle Service Bus 11g Development Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.