Now that we all have access to JMS services, we should learn to leverage the strengths of messaging in our applications.
既然我们都可以使用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集成服务,该服务与上一节中创建的服务类似,惟一的区别是这个服务检索(“获取”)消息。
In creating this application, we will see the setup that is needed to send a JMS message through the message bus in the application server.
在创建此应用程序的过程中,我们将看到在应用程序服务器中通过消息总线发送JMS消息所必需的设置。
The JMS approach supports a range of asynchronous services, but JMS does tie the client and service code to the use of some messaging infrastructure.
尽管JMS方法支持一些异步服务,但是JMS将客户端和服务代码束缚到了某些消息基础设施的使用之上。
JMS Function Selector — Remember that we explained how we view the application receiving the JMS message as a service?
jms函数选择器——我们介绍过如何作为服务查看接收JMS消息的应用程序,还记得吗?
The run time server passes the relevant data associated with the action from the intermediate object as an action payload to the outbound JMS message queue.
运行时服务器将与操作关联的相关数据作为操作有效负载从中间对象传递到出站JMS 消息队列。
This article describes the steps to create and connect to a JMS queue and to send and retrieve messages by using a simple integration service.
本文描述创建并连接到一个jms队列、以及使用一个简单的集成服务来发送和获取消息的步骤。
JMS is often used as the preferred protocol for synchronous and asynchronous service invocation because of its popularity as a standard for message-oriented middleware.
由于JMS作为面向消息的中间件标准得到了广泛的应用,因此经常用作同步和异步服务调用的首选协议。
JMS is a messaging service that supports topics and queues, and it has many features that make it a good choice for robust messaging.
JMS是一个消息传递服务,支持主题和队列,其很多特性使其成为稳定消息传递的一个很好选择。
Given that many applications already use JMS, and given that the services within an SOA need a way to do messaging, it makes perfect sense to use JMS in the context of an ESB.
充分考虑到很多应用程序已经在使用JMS了,而soa内的服务又需要一种进行消息传递的方式,这样就能很好地理解jms在es b上下文中所扮演的角色。
The run time server retrieves the message from the JMS queue and populates the appropriate intermediate objects with the values contained in the event payload.
运行时服务器从JMS队列检索消息,并使用事件有效负载中包含的值填充适当的中间对象。
It provides a default JMS messaging engine for common connectivity of services while supporting multiple communication protocols and interaction patterns.
在支持多种通信协议和交互模式的同时,它为通用服务连接提供了缺省JMS消息传递引擎。
JMS is a messaging service that supports topics and queues and has many features that make it a good choice for robust messaging.
JMS是一个消息传递服务,支持主题和队列两种模式以及其它的很多特征,是可靠消息传递的不错选择。
It describes the steps required to create and connect to a JMS queue and how you can use a simple integration service to send and retrieve messages.
本文描述创建并连接到一个jms队列、以及使用一个简单的集成服务来发送和获取消息的步骤。
In fact, you literally can't have a J2EE application server without a messaging solution; an implementation of the JMS standard is a requirement of the J2EE specification.
实际上,根本不可能存在不具备消息传递解决方案的J2EE应用服务器;JMS标准的实现是J2EE规范的要求之一。
Each ESB must be capable of receiving messages via JMS from a service consumer and forward them to the appropriate service provider, over JMS, or over a different protocol (like HTTP), and vice versa.
每个ESB都必须能够通过JMS从服务使用者接收消息,并将其转发到相应的服务提供者(通过JMS或其他协议,如HTTP),反之亦然。
As a full-fledged JMS client, MDBs can both send and receive messages asynchronously via a MOM server.
作为一种成熟的JMS客户机,MDB通过一个MOM服务器既可以发送消息,又可以接收消息。
Instead, a client can invoke MDB services by simply sending a JMS message to a destination.
相反,客户机只需将JMS消息发送到目标,便可以调用mdb服务。
JMS and MOMs work nicely together because they both divide responsibility between message clients and the messaging server.
JMS和MOM能够很好地协同工作,因为它们都划清了消息传递客户机和服务器之间的责任界限。
The JMS API is useable when the communication method between client and service is a messaging system which supports JMS.
当客户端和服务之间使用支持JMS的消息系统进行通信时就可以使用JMSAPI。
Another JMS client (subscriber) can access the queue and retrieve the message from the server.
而另一个JMS客户机(订阅者)则可以访问这个队列,并从该服务器获取这条消息。
JMS can be used for messaging between services and is important in situations where reliability is required.
JMS可用于服务间的消息传输,它对于需要可靠性的场景非常重要。
Creating the JMS integration service: Send message to remote queue.
创建JMS集成服务:发送消息到远程队列。
Creating the JMS integration service: Retrieve message from remote queue.
创建JMS集成服务:从远程队列获取消息。
An export with a Web service SOAP over JMS binding, used for receiving SOAP messages and converting them into business objects.
一个使用Web服务SOAPover JMS绑定的导出,用于接收SOAP消息并将它们转换为业务对象。
As we have mentioned earlier, the service provider that receives the JMS message is implemented using a message-driven bean.
我们在前文已经提到,接收JMS消息的服务提供程序是使用消息驱动的Bean实现的。
An example of such a service is one that sends SOAP messages over IBM MQSeries messaging systems using JMS.
这种服务的一个实例就是使用jms在ibmMQSeries消息系统上发送SOAP消息的Web服务。
The application will contain a message-driven enterprise bean (MDB) connected to a JMS queue defined within the same application server.
应用程序包含消息驱动的企业bean (MDB),后者与相同应用服务器中定义的jms队列相连。
This is because building a Web service with the SOAP over JMS project generates the default JMS artifacts, which are related to the message queue.
这是因为构建基于SOAPoverJMS的Web服务项目会生成缺省的JMS构件,这些构件与消息队列相关。
The SIMessage object is used to represent many different message types, including JMS and Web services formats.
SIMessage对象被用来描绘许多不同的消息类型,包括JMS与Web服务格式。
应用推荐