Use of the message bean and interleaved transactions allows for generation of the identifiers in a separate transaction, ensuring uniqueness.
使用消息bean和交叉事务,允许在单独事务中生成标识符,确保了惟一性。
The original application developed for the first article was enhanced with a statistics collector message bean and interleaved transactions for generating entity identifiers.
为第一篇文章开发的初始应用程序增加了统计信息收集器消息bean和用于生成实体标识符的交叉事务。
This should reflect the identity used by the message driven bean.
此ID应该反映消息驱动的Bean所使用的标识。
As describe above, the Service Integration Bus has a built-in retry mechanism with the SCA message driven bean (MDB).
如上所述,服务集成总线拥有内置重试机制和SCA消息驱动Bean (MDB)。
As we have mentioned earlier, the service provider that receives the JMS message is implemented using a message-driven bean.
我们在前文已经提到,接收JMS消息的服务提供程序是使用消息驱动的Bean实现的。
For example, a message-driven bean can setup a proper identity, using the information from the message, before invoking a session EJB.
例如,消息驱动的Bean可以在调用会话ejb之前,使用消息中的信息设置适当的标识。
These are all the artifacts that we need to send a message to the bus and, from there, to the message-driven bean.
这些是我们发送消息到总线和从那儿到消息驱动bean需要的所有构件。
The receiver of this message is a message-driven bean, also using JMS as its protocol.
消息的接收者是消息驱动bean,也使用JMS作为它的协议。
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,这个附加的信息应该是一个事务中的一部分。
The bus can then forward this message to a JMS consumer, such as a message-driven bean.
接下来总线可以将消息转发至JMS消费者,例如消息驱动bean。
You can assign the destination of the message-driven rule bean using the application server resources.
您可以使用应用程序服务器资源来分配消息驱动规则bean的目的地。
The service provider application USES a message-driven bean to receive messages from the ESB.
服务提供程序服务器使用一个消息驱动的bean从esb接收消息。
Another reason for choosing a mediation over a message-driven bean is that mediations are not tied to a specific messaging technology.
选择使用中介而不是消息驱动bean的另一个原因是中介不与特定的消息技术绑定在一起。
Activation specification — used by the application's message-driven bean to connect to the queue and receive messages.
激活规范——由应用程序的消息驱动Bean使用以连接到队列并接受消息。
How message-driven bean listener ports use the connection pool?
消息驱动的Bean侦听器端口如何使用连接池?
An event consumer can implement a message-driven bean (MDB) and associate it with the appropriate JMS destination to receive events.
事件消费者可以实现消息驱动的bean (MDB)并将其关联到适当的JMS目标以接收事件。
To demonstrate the run-as security for an EJB3 message-driven bean, we have provided an application (jms-mdb-sample-ear-2.1.0.1.ear) in the sample.
为了演示e JB 3消息驱动的Bean的Run - as安全性,我们在示例中提供了一个应用程序(jms - mdb - sample - ear -2.1.0.1 . ear)。
The obvious one is to use a message-driven bean, but only if your vendor supports MDB technology.
比较明显的一种方式就是使用一个消息驱动bean,但前提是您的供应商支持MDB技术。
It is already possible to write a message-driven bean (MDB) to transform messages between different formats, so why choose a mediation?
目前,已经可以使用消息驱动bean (MDB)在不同格式消息间进行转换,那么我们为什么还要使用中介呢?
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队列接收消息,并将其内容打印到屏幕。
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表示的接收方部分。
After the target application processing, the message-driven bean takes charge of sending response messages, if there are any.
在目标应用处理后,如果有响应消息,消息驱动bean负责发送响应消息。
For example, it might invoke a message-driven bean (MDB) with a container manager transaction attribute of Supports.
例如,它可能使用Supports的容器管理器事务属性来调用消息驱动bean (MDB)。
Receive new events: Write a message-driven bean to receive new events using Event Distribution interface and merge them with the historical events.
接收新事件:书写消息驱动bean,并利用EventDistribution接口接收新的事件,将其与历史事件结合。
An enterprise service can be offered to clients as a web service, a session EJB component, or a message-driven bean.
企业服务可以作为Web服务、会话ejb组件、或者消息驱动的bean提供给客户。
Make sure you select the module first, since its deployment will generate the queues and other definitions that are used by the message-driven bean.
请确保先选择模块,因为该模块的部署将生成由消息驱动Bean使用的队列和其他定义。
In order to receive new events, associate the StopEventGroup with a JMS destination and write a message-driven bean to receive the new stop events.
为了接收新事件,将StopEventGroup与JMS目标相关联并书写一个消息驱动bean来接收新的停止事件。
That message is read by a message-driven bean (MDB) and then processed.
由消息驱动的Bean (MDB)读取此消息,然后对此消息进行处理。
The JMS endpoint is enabled by creating a message-driven bean that front ends the EJB.
而jms端点则是通过在EJB前创建消息驱动的Bean来启用的。
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的支持。
应用推荐