BTAHL7序列化错误 [英] BTAHL7 Serialization error
问题描述
我设置了一个发送端口,用于删除任何对文件夹有解析错误的HL7邮件,以及通过BTAHL7Schemas.parseError == True进行过滤后通过BTAHL7进程失败的邮件。我还希望捕获带有序列化错误的
消息,并将它们移动到该文件夹中。我有几个已经通过显然具有未在模式中列出的值的字段。但除非我能看到该文件,否则我不知道那些错误的
值是什么。我查看了发送端口上的过滤器选项,但没有看到任何序列化错误。 我该怎么办?
I have a send port set up to drop any HL7 messages that have a parsing error to a folder for messages that fail when going through the BTAHL7 process by filtering with the BTAHL7Schemas.parseError == True. I would also like to capture messages that have serialization errors and move them to the folder as well. I have several that have come through that apparently have fields with values that are not listed in the schema. But unless I can see the file I have no idea what those erroneous values are. I looked through the filter options on a send port but did not see any for serialization errors. How can I do this?
谢谢。
Thanks.
推荐答案
您可以"为失败的消息启用路由"在解析HL7的接收端口上,然后有错误发送端口 订阅ErrorReport.ReceivePortName = [NameOfTheReceivePort]
You can "Enable routing for failed messages" on the receive port that parses the HL7, and then have the error send port subscribe to ErrorReport.ReceivePortName = [NameOfTheReceivePort]
Morten la Cour
Morten la Cour
这篇关于BTAHL7序列化错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!