This should reflect the identity used by the message driven bean.
此ID应该反映消息驱动的Bean所使用的标识。
Create message driven beans (MDBs) to publish messages to other MDBs.
创建消息驱动Bean (MDB)向其他MDB发布信息。
This same optimization can be applied to message driven beans as well.
这种优化同样也可以应用到消息驱动的bean。
Default: Used when requests come in for a message driven bean or if a particular transport chain has not been defined to a specific thread pool.
默认:当针对消息驱动bean的请求传入时,或者没有为特定传输链定义具体线程池时使用。
For example, if your team developed code to provide asynchronous functionality for EJBs, you may want to consider implementing message driven beans.
比如,如果您的小组开发的代码要为ejb提供异步功能,您可能就要考虑实现消息驱动的bean。
Because your Web service also accepts requests using the JMS, you need to create a bus, two queue destinations for incoming and replies, and an activation spec for the message driven bean (MDB).
由于您的Web服务还接受使用JMS的请求,因此需要创建一个总线、两个用于传入和应答的队列目的地和一个用于消息驱动Bean (Message Driven Bean,mdb)的激活规范。
An Activation Specification provides the necessary configuration details for a message driven bean (MDB) and includes information on where to connect, and from which destination to consume messages.
激活规范为消息驱动的Bean (Message Driven Bean,MDB)提供必要的配置细节,并包括关于在何处连接以及从哪个目的地使用消息的信息。
To complete the scenario, we need to create a Message Driven Bean (MDB).
为了完成此方案,我们需要创建消息驱动的Bean (Message Driven Bean, MDB)。
Click Message Driven Bean listener bindings in the configuration as highlight 1 in Figure 3.
单击配置中的Message DrivenBeanlistenerbindings,如图3中第1个突出显示的地方所示。
Scroll down and select HWPort as the Message Driven Bean's listener input port name (selected by default).
向下滚动选择HWPort作为消息驱动Bean的侦听器输入端口的名称(缺省选中)。
Inbound communication: Allows the resource adapter to send messages to J2EE applications via message Driven Beans.
入站通讯:允许资源适配器通过Message DrivenBean发送消息给J2EE应用程序。
In a typical J2EE application, the request processor would be implemented as a Message Driven Bean according to the JMS specification.
在一个典型的J2EE应用程序中,按照JMS定义,请求处理器应该通过一个消息驱动Bean来实现。
For the asynchronous communication, a Message Driven Bean (MDB), called event Service MDB, is installed and retrieves the events using JMS mechanisms.
对于异步通信,将安装名为事件服务mdb的消息驱动的Bean (Message Driven Bean, MDB),并使用JMS机制检索事件。
The message listener service is provided by the base runtime and manages the runtime configuration of the Message Driven Bean that is listening on the queue.
这个消息侦听器服务是由基础运行时提供的,并管理负责侦听此队列的Message DrivenBean的运行时配置。
The way you use a Stateless Session Bean is different than the way you use a Stateful Session Bean, Entity Bean, Custom Entity Home Method or Message Driven Bean.
使用无状态会话Bean的方式不同于使用有状态会话Bean、实体Bean、自定义实体home方法或消息驱动Bean的方式。
Alternatively I could have implemented each as JMS Message Driven Beans but chose not to do so, due to the mild increase in application complexity that it would cause.
我可以使用JMSMessage DrivenBean来实现,但我没有选择这么做,是因为它将导致应用程序复杂度的有所增加。
The EJB JAR has a stateless session bean, which is used to produce a message, and a message-driven bean used to consume a message.
EJBJAR具有一个无状态会话Bean,用于产生消息,而消息驱动 Bean 用于使用消息。
In Part 2, we showed how the message is sent to the ESB through a JMS queue, and then forwarded (again using JMS) to the backend application, which receives the message through a message-driven bean.
在第2部分中,我们介绍了如何通过jms队列将消息发送到ESB,然后转发(仍使用JMS)到后端应用程序,后者通过消息驱动Bean接收消息。
The receiver of this message is a message-driven bean, also using JMS as its protocol.
消息的接收者是消息驱动bean,也使用JMS作为它的协议。
The bus can then forward this message to a JMS consumer, such as a message-driven bean.
接下来总线可以将消息转发至JMS消费者,例如消息驱动bean。
As we have mentioned earlier, the service provider that receives the JMS message is implemented using a message-driven bean.
我们在前文已经提到,接收JMS消息的服务提供程序是使用消息驱动的Bean实现的。
Observe that one EAR contains a single session bean that publishes a message, and that there are two message-driven beans.
会发现一个EAR包含发布消息的一个会话Bean,另外有两个消息驱动Bean。
These are all the artifacts that we need to send a message to the bus and, from there, to the message-driven bean.
这些是我们发送消息到总线和从那儿到消息驱动bean需要的所有构件。
Hopefully this article has helped you understand the behaviour of your message-driven J2EE application, and has given you some ideas for addressing possible performance issues.
希望本文能够帮助您理解消息驱动J2EE应用程序的行为,并且为您提供一些解决可能出现的性能问题的思路。
This is a very simple message-driven bean.
这是一个非常简单的消息驱动Bean。
How message-driven bean listener ports use the connection pool?
消息驱动的Bean侦听器端口如何使用连接池?
The client may be implemented as a JMS client or an EJB message-driven bean.
客户机可以实现为JMS 客户机或EJB消息驱动的Bean。
You can assign the destination of the message-driven rule bean using the application server resources.
您可以使用应用程序服务器资源来分配消息驱动规则bean的目的地。
An example of such invocation of functionality in the receiving application is message-driven beans (MDBs).
接收应用程序中此类功能调用的一个示例是消息驱动的bean (MDB)。
Most of the changes are additive, including such things as servlet filters and message-driven beans.
这些改动大部分是添加性的,包括servlet过滤器和消息驱动bean。
应用推荐