W3C 端点与交换实施
我是新的 Web 服务(特别是 Java Web 服务),并且看到术语端点和交换散布在各种框架中。我做了一些演绎推理,最终找到了第一个术语“端点”,它在 W3C 文档中定义为协议和 URL 之间的绑定。
我无法找到“交换”的通用 W3C 术语,因为它被 Camel 框架和其他地方使用。
有谁知道这些所谓的“交换”是什么,正在交换什么(双向),以及我在哪里可以找到一些关于其理论/抽象定义的文献?
感谢您在这里的任何帮助!
I'm new web services (and, specifically, Java web services) and have seen the terms endpoint and exchange sprinkled throughout various frameworks. I did some deductive reasoning and eventually found the first term, endpoint, defined in the W3C docs as a binding between a protocol and and URL.
What I have not been able to find is a generic W3C term for "exchange" as it is used by the Camel framework and in other places.
Does anybody know what these so-called "exchanges" are, what is being exchanged (both directions), and where I could find some literature about their theoretical/abstract definitions?
Thanks for any help here!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在 Camel 中, Exchange 是在整个路由过程中保存信息的容器 消费者收到的消息。它由属性、IN 消息和 OUT 消息组成。每条 消息 均由标头组成、主体和附件。 IN消息携带请求消息,IN或OUT可用于携带响应消息(取决于处理器 正在使用)。
有关详细信息,请参阅 Exchange 类文档: http://camel.apache.org/maven/current/camel-core/apidocs/org/apache/camel/Exchange.html
In Camel, an Exchange is the container holding the information during the entire routing of a Message received by a Consumer. Its comprised on properties, an IN message and an OUT message. Each message consists of headers, a body and attachments. The IN message carries the request message and the IN or OUT can be used to carry the response message (depending on the Processors being used).
See the Exchange class documentation for more information: http://camel.apache.org/maven/current/camel-core/apidocs/org/apache/camel/Exchange.html