web stats
Mirth Community - View Single Post - While loop never stops
View Single Post
Old 11-17-2009, 12:27 PM
jacobb jacobb is offline
Mirth Employee
Join Date: Aug 2006
Location: Irvine, CA
Posts: 1,218
jacobb is an unknown quantity at this point

You should definitely not have a while(true) loop in JavaScript in a mirth channel. This will hang it, as you have experienced. Try using the JavaScript reader, which will let you execute some task every x number of milliseconds.
Jacob Brauer
Director, Software Development
NextGen Healthcare

Reply With Quote