用于与 Oracle AQ 交互的自定义 WCF 绑定?
任何人都知道使用 WCF 与 Oracle AQ(高级队列)交互的任何好的示例/资源,甚至可能是自定义绑定?
谢谢。
Anyone aware of any good examples/resources using WCF to interact with Oracle AQ (Advanced Queueing), possibly even a custom binding?
Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在我看来,WCF 解决的问题与 OracleAQ 可以提供的问题相同。 WCF 通过数据契约紧密耦合,并且可以绑定到多种传输类型。 OracleAQ 可通过数据协定(通过注册的 XSD)进行配置或使用 RAW xml 队列。我不知道客户绑定到 OracleAQ 的不同传输机制,并且 ODAC 有很好的记录和支持。 OO4O 与 9i 聊天的情况并非如此,但那是另一个故事了...
我会考虑花精力在客户端连接中实现 OracleAQ 支持,因为这遵循与 WCF 类似的总体模式。除了引入一定程度的复杂性之外,在 OracleAQ 和客户端端点之间放置一个服务来转换绑定似乎没有任何意义。
To my mind WCF solves the same problems as OracleAQ can provide. WCF is tightly coupled by data contracts and can be bound to multiple transport types. OracleAQ is configurable by data contract (via registered XSD) or use a RAW xml queue. I am not aware of customer binding to differing transport mechanisms for OracleAQ and is very well documented and supported by ODAC. This wasn't the case for OO4O chatting to 9i but that's another story...
I would consider expending effort on implementing OracleAQ support within the client connection as this follows a similar overall pattern to WCF. Putting a service in between OracleAQ and the client endpoint to translate bindings doesn't appear to make sense other than introducing a level of complexity.