重复消息发送到WCF服务 [英] Duplicate message send to WCF service

查看:62
本文介绍了重复消息发送到WCF服务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我对这个问题感到异常困惑......

Hi, I'm unusually baffled by this problem...

Orchestration接收到A类消息,将其映射到B类.B类是一个请求传递到本地WCF存根。

Orchestration receives a message of type A, maps it to type B. Type B is a request which is passed to a local WCF stub.

传入消息已提升属性。

在跟踪时,在管理控制台中,我观察到2个发送操作和2个响应。响应会导致路由失败:

When tracing and in the admin console I observe 2 send actions and 2 responses. The responses give routing failures:

MAIO_CommitBatch状态-1061151998 ErrorInfo无法路由已发布的消息,因为未找到订阅者。

业务流程的一个实例运行,并暂停2个相关的响应消息。

One instance of the orchestration runs and that suspends with 2 associated response messages.

所有非常奇怪,这应该是基本的东西,但我在浪费时间!

All very strange, this should be basic stuff, but I'm wasting time on it!

任何帮助表示赞赏。很高兴提供更多细节。

Any help appreciated. Happy to provide more detail.

推荐答案

如何配置WCF端口编排?

How do you configure the WCF port in the orchestration?

1)直接绑定到业务流程中的发送端口?

1) Binded directly to the Send port in the orchestration?

2)或者你没有绑定端口,只是从订阅WCF端口中的过滤器的业务流程发布到MessageBox?

2) Or you don't bind the port and just publish to MessageBox from the orchestration subscribing with Filters in the WCF port?

如果你正在使用选项1,确保WCF端口没有可以再次订阅提供的消息的过滤器或任何其他消息......

If you are using option 1, make sure that the WCF port does not have a Filter that could be subscribing again the offered message or any other one...

如果您使用选项2,请确保过滤器足够独特,以便它不订阅B型和A型或任何其他... ...

If you are using option 2, make sure that the Filter is enough unique so that it does not subscribe to Type B and Type A or any other one...


这篇关于重复消息发送到WCF服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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