如何在 BizTalk 中从 MsgBox 接收相关消息

发布于 12-12 20:36 字数 354 浏览 5 评论 0原文

我有以下编排:

在此处输入图像描述

我向网络服务发送一条消息,它用一些信息回答我虚拟消息。然后它向我发送另一个有用的消息(从服务获取实际答案组中的接收形状具有在发送形状中初始化的以下相关集),我应该响应后退。

如果我对 ServiceAnswerPort 使用“稍后指定”绑定,一切都会正常工作。但是,当我选择使用 msgbox-direct-binding 时,我收到异常消息,说现在我有多个订阅者,因此我无法通过“发送”形状发送消息。有哪些方法可以让它发挥作用?

I have the following piece of orchestration:

enter image description here

I send a message to a web service, it answers me with some dummy msg. Then it sends me another useful msg (the Receive shape in the Get actual answer from the service group has Following Correlation Sets which is initialized in the Send shape) and I should response back.

Everything works fine if I use 'Specify later' binding for the ServiceAnswerPort. But when I choose to use msgbox-direct-binding I get exception saying that now I have multiple subscribers and thus I'm unable to send a message thru the Send shape. What are the ways to make it work?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

不一样的天空2024-12-19 20:36:52

当使用请求-响应(双向)端口时,biztalk 引擎期望对于从该端口发送的每条消息,都会有一个响应消息返回。在运行时,当从请求响应端口发送消息时,biztalk 会检查该消息有多少个收件人,如果发现多于一个,则会发生错误。通常,可以通过向收件人添加一个筛选器来解决此问题,以确保邮件不能被多个收件人接受。

When using solicit-response (two way) port, the biztalk engine expects that for every message sent from the port, one response message will arrive back. At runtime, when sending the message from solicit-response port, biztalk is checking how many recipients there are to the message, and if more then one is found the error you get occurs. usually this is solved by adding a filer the recipients making sure a message cannot be accepted by more then one of them.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文