Destination Multitasking Question

jeudi 26 février 2015

I have a channel that pulls a message off an ActiveMQ queue then sends a file name element to a destination. Using a Javascript destination we call jsch SFTP function to transfer large files to a customers server.



This part works fine.



The issue is we are being block by the source connector. It seems the Mirth source is blocking until the transfer destination is completed that could take hours.



If I run the channel and a clone of the channel we are able to send 2 files at once with no issues. But that's not what I would like to do.





Question:



is there a way to have the destination thread not be dependent on the source?



in other words what I would like to see is a message come in a destination thread spun off and that processed. a second message coming in would just spin off another destination thread and be processed at the same-time as the first.



Can this be done?



Thanks



Mike





Destination Multitasking Question

0 commentaires:

Enregistrer un commentaire