web stats
File reader source with waiting time - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Reply
 
Thread Tools Display Modes
  #1  
Old 04-30-2012, 02:30 AM
chris_k chris_k is offline
OBX.1 Kenobi
 
Join Date: Jan 2012
Location: Austria
Posts: 27
chris_k is on a distinguished road
Post File reader source with waiting time

Hi everyone,

Is it possible to configure a file reader (source connector) to wait for 5 seconds after each file process?
I set the polling type to interval and e.g. 5 seconds, but the channel takes ALL files from the directory for process.
I would like to configure the channel, just to take one file per interval?

cheers
Chris
Reply With Quote
  #2  
Old 04-30-2012, 06:02 AM
narupley's Avatar
narupley narupley is offline
Mirth Employee
 
Join Date: Oct 2010
Posts: 4,192
narupley is on a distinguished road
Default

The easiest way to do this would probably be to change your File Reader to a JavaScript Reader, and then code it such that it only returns one file at a time.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 12:16 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Mirth Corporation