简体   繁体   English

Mirth Connect HTTP侦听器

[英]Mirth Connect HTTP Listener

I am new to Mirth Connect but was wondering could it be used to pull down vaccine information sheets from the CDC.gov website. 我是Mirth Connect的新手,但想知道它是否可用于从CDC.gov网站上提取疫苗信息表。 They provide the XML source code on the CDC website and I was hoping that as new updated vaccine sheets were added it would download them to a folder on our server. 它们在CDC网站上提供XML源代码,我希望随着新的更新疫苗表的添加,它将它们下载到我们服务器上的文件夹中。 Is this something you would us the http listener for? 这是您希望我们使用HTTP侦听器使用的东西吗? Sorry if it is a little vague just trying to get an idea right now before diving in. 很抱歉,如果您只是想在进入之前立即想出一个主意,是否有点含糊。

It's possible but not feasible. 有可能但不可行。 First of all, it's not HTTP Listener (Source connector) that you need, it's HTTP Sender (Destination connector) that retrieves the required file (PDF if I'm correct) from the CDC site. 首先,不需要HTTP侦听器(源连接器),而是HTTP Sender(目标连接器)从CDC站点中检索所需的文件(如果我正确,请使用PDF)。

Then you need to configure your Source connector as JavaScript Reader to periodically trigger your HTTP Sender destination. 然后,您需要将Source连接器配置为JavaScript Reader,以定期触发HTTP Sender目标。

All of these can be easily implemented as a single Java/.NET utility without installing Mirth Connect as an engine. 所有这些都可以轻松地实现为单个Java / .NET实用程序,而无需将Mirth Connect作为引擎安装。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM