简体   繁体   English

如何通过动态发送端口从编排中使用新的 Biztalk SFTP 适配器?

[英]How to use the new Biztalk SFTP Adapter from an orchestration through a Dynamic Send Port?

With the new Biztalk 2013, I would like to integrate the new SFTP adapter into one of my orchestration.使用新的 Biztalk 2013,我想将新的 SFTP 适配器集成到我的一个编排中。 I did this previously with the BLogical Codeplex component.我之前使用 BLogical Codeplex 组件完成了此操作。

MsgOut(Blogical.Shared.Adapters.Sftp.Schemas.host) = "server";
MsgOut(Blogical.Shared.Adapters.Sftp.Schemas.portno) = 22;
MsgOut(Blogical.Shared.Adapters.Sftp.Schemas.user) = "user";

How can I do this with the new Biztalk SFTP Adapter?如何使用新的 Biztalk SFTP 适配器执行此操作?

The official documentation is here https://docs.microsoft.com/en-us/biztalk/core/sftp-adapter Unfortunately it doesn't go into details about the using it as a dynamic send port.官方文档在这里https://docs.microsoft.com/en-us/biztalk/core/sftp-adapter不幸的是,它没有详细介绍如何将其用作动态发送端口。

It does follow the patterns of the other adapters, so you need to have它确实遵循其他适配器的模式,因此您需要拥有

// Set base properties 
MySendPort(Microsoft.XLANGs.BaseTypes.Address) = "sftp://Server[:Port]/FolderPath/";
MySendPort(Microsoft.XLANGs.BaseTypes.TransportType) = "SFTP"; 

// Set the SFTP adapter specific properties 
MsgOut(SFTP.Username) = "user";
...etc

The properties available are those listed here How to Configure an SFTP Send Port or for BizTalk 2016 and up SFTP Adapter可用属性是此处列出的那些如何配置 SFTP 发送端口或用于 BizTalk 2016 及更高版本的SFTP 适配器

except for Server, FolderPath & Port (as you set those in the address) and ConnectionLimit.除了服务器、文件夹路径和端口(如您在地址中设置的那样)和连接限制。

You might also need to look at configuring the handlers for your send Dynamic Send port Dynamic Send Port Handler is Configurable您可能还需要查看为您的发送动态发送端口配置处理程序动态发送端口处理程序是可配置的

Also worth noting is that this SFTP adapter does not currently support connections through a proxy.另外值得注意的是,此 SFTP 适配器目前不支持通过代理进行连接。 social.msdn.com 社会.msdn.com

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

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