我对我如何配置与外部系统相联的系统存在疑问。
Here are the various parts, which I was thinking of putting together:
<><>>>>
- I have 3 external services which brings in 3 different types of messages to the system.
- I have a WCF service which listens to all these external services, which converts the messages into a common format.
- I have a WPF UI which is connected with the WCF service using duplex tcp binding, and messages gets updated on the UI.
- The UI also sends any outgoing messages to the service which in turn sends it to the external services.
我的问题是,你是否认为这是设计解决办法的一个可衡量、可维持、成本有效的方法? 如果我把这个问题放在内联网的设想中,你是否看到任何具体问题?
我提出的另一项考虑是:
<><>>>
- Have 3 windows services which connects to the external services.
- Each service churns out the messages into a canonical format and puts it on a message bus on a specific topic.
- Have a WCF service which listens to the topics on the message bus for the new messages.
- Use a duplex binding to update the client with any incoming messages.
- Client sends the outgoing messages to the WCF service, which in turn drops it on to a specific topic listened by the windows services, which sends them to the external systems.
我在这里感到困惑不解的是,请你帮助我了解什么是更好的办法,如果你能够,请让我指出讨论这些情景的任何联系?
Volume of data exchange is 400 messages every 5 minutes, divided across the external systems.
I m sure lot of you might have faced this situation, so if you have a better approach to this please let me know.
Thanks, -Mike