JMS
abbr. Java消息服务(Java Message Service);日本测量标準(Japanese Measuring Standard)
2025-11-24 06:58 浏览次数 15
abbr. Java消息服务(Java Message Service);日本测量标準(Japanese Measuring Standard)
jms providersjms提供者
JMS providersJMS提供者
jms技术jms technique
jms规范jms specification
Jms Records出版者
JMS Server服务器
JMS-abbr. Java消息服务(Java Message Service);日本测量标準(Japanese Measuring Standard)
Intégrale JMS唱片名
Spring JMS使用
JMS is transactional as far as the exchange of messages goes, but the exchange and processing occurs in separate transactions.
只要消息交换在进行,JMS就是事务性的,但交换和处理发生在相互分开的事务中。
With the JMS template defined, the next step is to wire it into the example application, after which you can use it to send and receive messages.
有了定义好的JMS模板,下一步就是把它绑定到示例应用程序中,然后就可以用它发送和接收消息了。
Just the simplification of JMS configuration is already a strong argument to start using it.
JMS配置的简化,仅仅这一点就是开始使用它的强有力的理由。
JMS is ideal in this situation because it is an interface specification — not an implementation.
在这种情况下JMS非常理想,因为它是一种接口规范——而不是实现。
It is worth stressing that, unless you require backwards compatibility, there is no reason to write new JMS applications using the old queue and topic interfaces.
值得强调的是,除非需要向后兼容性,否则没有理由用老的队列和主题接口编写新的JMS应用程序。
As you will see, JMS transport nodes help you solve many conversion and bridging problems solutions with no coding on your part.
正如您将看到的,JMS传输节点可以帮助您解决许多转换和桥接问题,而不用编写任何代码。
For our testing, we will use the JMS client from Part 3 to send the message to a destination, which then forwards to the foreign destination.
对于我们的测试,我们将使用第3部分的JMS客户机将消息发送到一个目的地,然后再转发到外部目的地。
By including wildcards in the topic name of the JMS topic definition, a subscriber can receive messages from multiple topics with a single subscription.
通过将通配符包含到JMS主题定义的主题名称中,订户可以使用单个订阅接收来自多个主题的消息。
The basic functions of a custom event handler are to consume the event messages in the JMS queue and interact with external applications accordingly.
一个定制的事件处理器的基本功能是使用jms队列中的事件消息,然后相应地与外部应用进行交互。
Since the JMS version was loaded last, it happens to be the first found during the query; however, that might not always be the case, depending on other activity in the registry.
由于JMS版本是最后加载的,因此它一般会是查询过程中发现的第一个匹配项,不过,并非始终是这种情况,具体取决于注册中心内的其他活动。
You can see in Listing 3 that some elements in the deployment descriptor correspond to the JMS concepts of acknowledge mode, subscription durability, and message selector.
在清单3中可以看到,部署描述符中的一些元素对应着JMS概念中的应答模式、订阅、持久性和消息选择器。
While I assume you have a basic understanding of JMS message processing, we'll start the discussion with a brief review of the basic concepts and terminology.
虽然我假设您对JMS消息处理有基本的了解,但我们还是将对基本概念和术语进行简短回顾,来开始这次讨论。
Next, look at the various platforms and how they can be used to implement, or in this case, re-implement the functionality of a JMS queue.
接下来,我们来看一下各种平台及怎样使用这些平台来实现或像本例一样重新实现一个jms队列的功能性。
In the case of the five different JMS message types, we need to provide custom binding implementations so that any message format can be supported.
在采用五种不同的JMS消息类型的情况下,我们需要提供自定义绑定实现,以便支持任何消息格式。
To receive any arbitrary JMS message into a mediation flow, we must define a set of operations that represents these messages.
要接收任意的JMS消息作为中介流中的成员,我们必须定义表示这些消息的一组操作。
As we have seen in the above example, reading message bodies is not complex, especially if you are only using JMS byte or text messages.
正如在上面的示例中所看到的,阅读消息正文一点也不复杂,尤其是在仅使用JMS字节或文本消息时。
You can configure the Event Service to write all Event data to a Datastore and or to distribute the events to other JMS Destinations.
您可以将事件服务配置为将所有事件数据写入数据存储和/或将事件分发到其他JMS目的地。
Moreover, even though both requester and provider use JMS as the transport protocol in this case, one of them could switch to a different protocol without affecting the other.
而且,尽管在这种情况下请求者和提供者都使用JMS作为传输协议,但任意一方都可以在不影响另一方的情况下切换到其他协议。
In Part 3 of this series of articles, we implemented a simple JMS client that sends a package delivery confirmation message to a destination.
在这一文章系列的第3部分中,我们实现了一个简单的JMS客户机将包传递确认消息发送到目的地。
Requests from JMS clients are sent to this queue.
将来自jms客户端的请求发送到此队列。
In this section, you will create another JMS integration service similar to what was done in the previous section. The only difference is that this retrieves (「 get 」) the message.
在这一小节中,您将创建另一个JMS集成服务,该服务与上一节中创建的服务类似,惟一的区别是这个服务检索(「获取」)消息。
JMS clients open connections to destinations on the MOM server and then send and receive messages on those destinations.
JMS客户机向MOM服务器上的目的地开放连接,然后在那个目的地上发送和接收消息。
Now that we all have access to JMS services, we should learn to leverage the strengths of messaging in our applications.
既然我们都可以使用JMS服务,我们就应该学会在应用程序中使用消息传递的能力。
More significantly, you may have noticed that not all resources allow you to specify container managed aliases, such as JMS factories.
更重要的是,您可能已经注意到,并非所有的资源都允许指定容器管理的别名,如JMS工厂。
Now that we have explored how to setup a bus, and how to use JMS as a message protocol going across the bus, we are finally ready to introduce another key component into our solution: Mediations!
既然我们已经讨论了如何建立总线以及如何将JMS作为整个总线的消息协议,最后我们準备将另一个关键组件引入我们的解决方案中,这就是中介!
The test application is a simple JMS application that ACTS both as the client and the server, and takes a single number as an argument.
该测试应用程序是一个简单的JMS应用程序,它同时扮演了客户端和服务器,并且使用单个数值作为参数。
We will also create two JMS queue objects for use by the sample application.
我们还将创建两个JMS队列对象,以供示例应用程序使用。
So, at this point we know how to connect to a JNDI service and acquire a connection from different JNDI and JMS implementations without having to recompile our code.
那么,至此我们已经知道如何连接到JNDI服务以及如何从不同的JNDI和JMS实现获取连接而不必重编译我们的代码。