Friday, 22 November 2013

OSB File Adapter

Problem Statement:

I would like to poll the files in C:poller directory successfully using OSB Proxy Service using a File poller.

Pre-requisites

We start this with creating the Poller Directory under our C: drive of windows file system as My OSB insallation is done for Windows machine.











Windows folder StructureTesting the Folder URI using Browser
 

Solution:

1. Login to OSB Console: http://localhost:7001/sbconsole

2. Follow the below step to create the File Poller OSB Project from Console called “FilePoller”



3. Create a Sub folder Called ProxyService

4. Name the Proxy Service under the Subfolder ProxyService as TestFileAdp_PS

5. Follow the configuration screen shots to complete the polling configuration.



-



-



-



-



I would want to archive the successfully polled files inside the Archive directory in my Filesystems .

I also set the frequency of polling as 6 seconds.



6. Click Next

7. Click Next

8. Save

9. Activate the Configuration going back to Change Center.

Testing

- Test by placing the file with desired extention as we have specified *.* as File Mask during configuration.

- The result should resemble the below behavior.

No comments:

Post a Comment