初始化直接绑定接收上的相关集
我有一个单例编排,我想处理进入消息框的每条类型 X 的消息。这些消息来自何处(编排或接收端口)并不重要,但我想确保同一个编排实例按照它们到达消息框的顺序处理所有消息。
我可以这样做吗?我需要将单例接收形状与某些东西相关联,但我不确定是什么。我可以使用哪些属性?
有什么建议吗?
提前致谢。
I have a singleton orchestration which I want to process every message of type X coming into the messagebox. It doesn't matter where these messages are coming from (orchestrations or receive ports), but I want to ensure that the same orchestration instance processes all of them in the order they arrive in the messagebox.
Can I do this? I need to correlate the singleton receive shapes on something, but I am not sure what. Which properties can I use?
Any suggestions?
Thanks in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我以前必须实现这种类型的处理。使用有序交付以及关联不同类型的值是可行的。就我而言,我有一个 groupId 将被提升到上下文中。因此,groupId 0 的所有消息都将由单个编排按顺序进行处理。
BizTalk HotRod 中的《使用 BizTalk Server 2006 实现 FIFO 处理》一文可能会有所帮助。
I've had to implement this type of processing before. Using ordered delivery along with correlating on a value for different types will work. In my case I had a groupId that would get promoted into the context. So all messages for groupId 0 would get process by a single orchestration in sequential order.
The Implementing FIFO processing with BizTalk Server 2006 article in BizTalk HotRod might help.