However, you are free to also specify the JNDI name of the destination, in which case, the destination name you specify in the deployment descriptor overrides the one in the activation specification.
然而,您也可以自由指定目的地的JNDI名称,在这种情况下,在部署描述符中指定的目的地名称会覆盖在激活规范中指定的名称。
To listen for the request, the deployment descriptor for the EJB module containing the MDB must define the JMS activation specification and the request queue resources.
为了侦听请求,包含MDB的EJB模块的部署描述符必须定义JMS激活规范和请求队列资源。
The deployment descriptor for the MDB contains a reference to the JMS activation spec (which in turn is associated with the JMS queue we created earlier), as shown in Figure 7.
MDB的部署描述符包含对JMS激活规范(它与我们前面创建的 JMS队列依次联合)的引用,如图 7 所示。
For example, you can specify the durability of the subscription in the bean's deployment descriptor, and that will override the durability specified in the activation specification.
例如,可以在Bean的部署描述符中指定订阅的持久性,而这将覆盖激活规范中指定的持久性设置。
You can also specify additional activity configuration details in the bean's deployment descriptor that will override those in the activation specification.
还可以在Bean的部署描述符中指定其他活动配置细节,以覆盖激活规范中的对应项。
The required properties for this activation specification are defined in the deployment descriptor ra.xml.
该激活规范的必须属性在部署描述符 ra.xml 中定义。
In the MDB's deployment descriptor, you define the JNDI of an activation spec.
在MDB的部署描述符中,您定义激活规范的JNDI。
The properties are then overridden again by any values specified in the activation-config properties of the MDB's deployment descriptor.
然后这些属性被MDB部署描述符中的 activation-config 属性的值再次覆盖。
The properties are then overridden again by any values specified in the activation-config properties of the MDB's deployment descriptor.
然后这些属性被MDB部署描述符中的 activation-config 属性的值再次覆盖。
应用推荐