How message-driven bean listener ports use the connection pool?
消息驱动的Bean侦听器端口如何使用连接池?
Jms-mdb-sample - demonstrates the Message-Driven Bean in EJB 3.0.
jms - mdb - sample——演示e JB 3.0中的消息驱动Bean。
That message is read by a message-driven bean (MDB) and then processed.
由消息驱动的Bean (MDB)读取此消息,然后对此消息进行处理。
The client may be implemented as a JMS client or an EJB message-driven bean.
客户机可以实现为JMS 客户机或EJB消息驱动的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。
The JMS endpoint is enabled by creating a message-driven bean that front ends the EJB.
而jms端点则是通过在EJB前创建消息驱动的Bean来启用的。
The service provider application USES a message-driven bean to receive messages from the ESB.
服务提供程序服务器使用一个消息驱动的bean从esb接收消息。
In this article, we refer to a message-driven bean (MDB) running in the point-to-point domain.
在本文中,我们讨论在点到点域中运行的消息驱动bean (MDB)。
The obvious one is to use a message-driven bean, but only if your vendor supports MDB technology.
比较明显的一种方式就是使用一个消息驱动bean,但前提是您的供应商支持MDB技术。
Next, create an activation specification to connect your message-driven bean to the queue destination.
接下来,创建激活规范,以将MDB连接到队列目的地。
These are all the artifacts that we need to send a message to the bus and, from there, to the message-driven bean.
这些是我们发送消息到总线和从那儿到消息驱动bean需要的所有构件。
An enterprise service can be offered to clients as a web service, a session EJB component, or a message-driven bean.
企业服务可以作为Web服务、会话ejb组件、或者消息驱动的bean提供给客户。
For example, it might invoke a message-driven bean (MDB) with a container manager transaction attribute of Supports.
例如,它可能使用Supports的容器管理器事务属性来调用消息驱动bean (MDB)。
To invoke secure EJBs from a message-driven bean, the message-driven bean needs to be configured with a run-as role.
要从消息驱动的Bean调用安全EJB,需要为消息驱动的 Bean配置Run-as 角色。
Activation specification — used by the application's message-driven bean to connect to the queue and receive messages.
激活规范——由应用程序的消息驱动Bean使用以连接到队列并接受消息。
As we have mentioned earlier, the service provider that receives the JMS message is implemented using a message-driven bean.
我们在前文已经提到,接收JMS消息的服务提供程序是使用消息驱动的Bean实现的。
After the target application processing, the message-driven bean takes charge of sending response messages, if there are any.
在目标应用处理后,如果有响应消息,消息驱动bean负责发送响应消息。
We will also show how to implement the message-driven bean (MDB) to receive the events from the event Distribution Interface.
我们还将说明如何实现接收来自于EventDistribution Interface的事件的消息驱动的bean (message - driven bean,MDB)。
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 用于使用消息。
If we already have a message-driven bean for sending the E-mail, this additional information should be part of one transaction.
如果我们已经有了一个消息驱动Bean来发送e - mail,这个附加的信息应该是一个事务中的一部分。
You can inspect this from the EJB deployment descriptor for the message-driven bean that was created in the JMS router project.
可以从在JMS路由器项目中创建的MDB 的EJB部署描述符检查此设置。
For example, a message-driven bean can setup a proper identity, using the information from the message, before invoking a session EJB.
例如,消息驱动的Bean可以在调用会话ejb之前,使用消息中的信息设置适当的标识。
An event consumer can implement a message-driven bean (MDB) and associate it with the appropriate JMS destination to receive events.
事件消费者可以实现消息驱动的bean (MDB)并将其关联到适当的JMS目标以接收事件。
Another reason for choosing a mediation over a message-driven bean is that mediations are not tied to a specific messaging technology.
选择使用中介而不是消息驱动bean的另一个原因是中介不与特定的消息技术绑定在一起。
It is already possible to write a message-driven bean (MDB) to transform messages between different formats, so why choose a mediation?
目前,已经可以使用消息驱动bean (MDB)在不同格式消息间进行转换,那么我们为什么还要使用中介呢?
In the third and final article of this series, I'll cover the JCA 1.5 message-inflow contract, better known as message-driven bean support.
在本系列的第3篇也是最后一篇文章中,我将介绍JCA 1.5消息流入合约,它比较出名的地方是对消息驱动bean的支持。
The application will consist of a sender part, running within a J2EE client application, and a receiver, represented by a message-driven bean.
该应用程序包括在J2EE客户端应用程序中运行的发送方部分,以及由一个消息驱动Bean表示的接收方部分。
Remember that this is an application with a message-driven bean that receives messages over a JMS queue and prints their content to the screen.
请记住,这是一个带有消息驱动Bean的应用程序,它通过jms队列接收消息,并将其内容打印到屏幕。
Instead of using these methods, you should either poll for messages using the synchronous receive methods or consider using a message-driven bean.
应当用同步方法receive轮询消息或者考虑使用消息驱bean替代这些方法。
应用推荐