在Biztalk映射和业务流程中读取配置 [英] Reading configuration in Biztalk maps AND orchestrations

查看:115
本文介绍了在Biztalk映射和业务流程中读取配置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在两种情况下,我需要将配置数据读入BizTalk:

I've got 2 situations in which I need to read in configuration data into BizTalk:

  1. 在业务流程的表达形状之内.将消息响应的一部分与环境之间不同的预定义字符串进行比较
  2. 地图中数据库查找的连接字符串

我不想为了在测试环境和实时环境之间切换而不得不重新编译,我将有多个应用程序可能需要它们自己的同一配置元素版本.

I don't want to have to recompile in order to move between a test and live environment and I will have multiple applications potentially needing their own version of the same configuration element.

我已经看到这个问题,但这是服务器级别,并且似乎有风险.

I've seen this question but this is server level and seems risky.

我的另一个想法是使用带有SP的自定义表来读回值.这意味着每次我想阅读设置时,都必须在业务流程中构造,发送和接收消息.这也对地图没有帮助.

My other idea was to use a custom table with an SP to read values back. This means that every time I want to read a setting I have to construct, send and receive a message in the orchestration. It also doesn't help me in the map.

是否有其他选项对流程没有那么大的干扰,或者涉及的工作/维护更少?

Are there any other options which are less intrusive to the process flow or involve less work/maintenance?

推荐答案

为BizTalk存储配置数据的最常用方法是SSO,尽管当然还有其他选择.

The most frequently chosen method to store config data for BizTalk is SSO though there are certainly other options.

您可以使用SSO Config数据存储工具

You can use the SSO Config Data Storage Tool, http://seroter.wordpress.com/2007/09/21/biztalk-sso-configuration-data-storage-tool/, to maintain the information.

Microsoft已发布了一个示例助手类来读取数据, http://go.microsoft .com/fwlink/?linkid = 99741 .

Microsoft has published a sample helper class to read the data, http://go.microsoft.com/fwlink/?linkid=99741.

BRE也可能是编排的一种选择.

The BRE might also be an option to consider for the Orchestration.

这篇关于在Biztalk映射和业务流程中读取配置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆