[英]configuring MSMQ to route messages from one queue to another queue (target)
My requirement is as follows: 我的要求如下:
I need to write messages to a queue on one machine-1 which should be routed in to another queue on another machine-2 (within the network) by MSMQ automatically. 我需要将消息写入一台计算机1上的队列,该消息应由MSMQ自动路由到另一台计算机2上的另一个队列(在网络内)。
Is this possible? 这可能吗?
Can this be done WITHOUT a program polling for the presence of messages and moving the messages to machine-2 programatically? 是否可以在没有程序轮询消息是否存在并将消息以编程方式移动到Machine-2的情况下完成此操作?
For MSMQ to automatically take care of this, what do we need to configure on machine-1? 为了让MSMQ自动处理此问题,我们需要在计算机1上配置什么?
Please let me know! 请告诉我! Thanks 谢谢
"1.Is this possible?" “ 1.这可能吗?” No. 没有。
MSMQ delivers messages to a queue. MSMQ将消息传递到队列。 That's it. 而已。 To route a message from one queue to another, you are effectively reading the message and writing a copy to the new destination. 要将消息从一个队列路由到另一个队列,您实际上是在阅读消息并将副本写到新目的地。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.