[
http://jira.jboss.com/jira/browse/JBESB-1567?page=all ]
Daniel Bevenius closed JBESB-1567.
----------------------------------
Resolution: Done
Committed work with revision 18616.
Update helloworld_ftp_action to use a cron schedule.
----------------------------------------------------
Key: JBESB-1567
URL:
http://jira.jboss.com/jira/browse/JBESB-1567
Project: JBoss ESB
Issue Type: Task
Security Level: Public(Everyone can see)
Components: Examples
Affects Versions: 4.3
Reporter: Daniel Bevenius
Assigned To: Daniel Bevenius
Fix For: 4.3
Update the helloworld_ftp_action quickstart to demonstrate how a cron schedule can be
used with an ftp listener:
<schedule-provider name="cronExample">
<cron-schedule scheduleid="cron-schedule" cronExpression="0/5 * * *
* ?"/>
</schedule-provider>
...
<ftp-listener name="FtpGateway"
busidref="helloFTPChannel"
maxThreads="1"
is-gateway="true"
scheduleidref="cron-schedule"/>
This can be useful if one has several ftp listener listening to the same remote directory
and this gives more control over when a specific listener should go and look for files.
This is a simple way to avoid having two or more nodes process the same file.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira