I use Iguana to receive HL7 requests and to translate them into a different format.
But in case of corrupt wrong message format, I would like to prevent programmatically, that the message is pushed to the queue.
One kind of those wrong format is “The header segment ‘MSH’ was not found.”.
But currently, the message is pushed directly on entering the main function:
– Calling main function
– Message committed to queue.
– Message committed.
– The header segment ‘MSH’ was not found.
The last log is traced, during call of hl7.parse
Can you show us your code? Unless you’re calling queue.push() or have Use Filter set to No, the message should not be placed in the queue. It sounds like you are using a filter and performing a queue.push(), though, so seeing what’s going on in the translator will be helpful.
What version of Iguana?
Jeff Drumm ◊ VP and COO ◊ HICG, LLC. ◊ http://www.hicgrp.com
You must be logged in to reply to this topic.