W3C 端点与交换实施

发布于 2024-12-04 04:19:38 字数 276 浏览 0 评论 0原文

我是新的 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

小女人ら 2024-12-11 04:19:38

在 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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文