web stats
Help limit mirth from pulling 1 file in at a time - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Thread Tools Display Modes
Old 01-21-2019, 03:48 PM
lhansen lhansen is offline
What's HL7?
Join Date: Jan 2019
Posts: 1
lhansen is on a distinguished road
Default Help limit mirth from pulling 1 file in at a time

Hello fellow mirth users,

Currently, I'm interning for my company that uses mirth and I've been assigned what seems like a simple task that I might just be missing something. I have looked all over the forums for a couple days and can't seem to find someone talking about it (maybe cause it's not business realistic).

Currently there using a java.lang.Thread.sleep(); message to delay files from getting to the destination from mirth and that works great, however, they want to limit the amount of files mirth is grabbing. At the moment it just grabs everything in the source directory.

I created a test lab channel called input1 output1 where I would have 5 example files in an input folder. I want the channel to pull 1 file from that input folder every 10 seconds, for example, then do its thing, then output that 1 file to the output folder. At the moment I have it doing the last part but the first part it's pulling all 5 at once and I want to be able to limit it (for potential throttle issue reasons down the road).

let me know what you all think. Thank you also for your time!
Attached Files
File Type: xml input1 output1.xml (22.9 KB, 0 views)
Reply With Quote

input limit, mirth, output limit, throttle

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 09:48 PM.

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