web stats
File reader source with waiting time - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Thread Tools Display Modes
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?

Reply With Quote
Old 04-30-2012, 06:02 AM
narupley's Avatar
narupley narupley is online now
Mirth Employee
Join Date: Oct 2010
Posts: 5,781
narupley is on a distinguished road

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

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 -8. The time now is 07:20 AM.

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