1

ESB Toolkit 2.1 具有使用旧 SQL 适配器的 ALL.Exceptions 发送端口。

但是 BizTalk Health Monitor 报告...

Non WCF SQL adapter used in some Send Ports 
Prefer to use the WCF one which is more performant !

有没有办法更新到 WCF.SQL 适配器?

4

1 回答 1

3

是的,这是可能的。然而,它将包括一些定制开发。

您将需要在 FaultMessage 架构(在 Microsoft.Practices.ESB.ExceptionHandling.Schemas.Reporting.dll 中)和 usp_insert_Fault 架构(使用 Visual Studio 中的使用适配器服务创建,来自 EsbExceptionDb 数据库中的 usp_insert_Fault SP ),因为旧的 SQL 适配器使用不同的架构布局来执行存储过程。

所需步骤:

  1. 将 ALL.Exceptions 端口的传输类型更改为 WCF-SQL
  2. 设置地址:mssql://SQLServer:1433/SQLInstance/EsbExceptionDb?
  3. 设置操作:TypedProcedure/dbo/usp_insert_Fault
  4. 更改 ESBFaultProcessor 发送管道以在 ESB 转换组件中使用您的自定义映射

编辑:注意:这里描述的解决方案不包括消息及其上下文,就像带有 SQL 适配器的映射一样。为此,您应该使用复合操作在一个事务中插入多个表。

于 2014-10-22T10:25:17.797 回答