这两个名称,一个用于连接工厂,一个用于实际队列,在客户端应用程序部署描述符中利用资源引用它们被束缚起来。
Both names, one for the connection factory and one for the actual queue, are bound using resource references in the client application deployment descriptor.
其原因在于通道代理会保留消息描述符的内容,它会设置所有字段以匹配来自发送队列管理器的消息。
The reason for this is that the channel agent will preserve the contents of the message descriptor by setting all the fields to match the message from the sending queue manager.
如上所述,如果消息描述符是V 1,MQMDE结构由队列管理器添加。
As discussed above, an MQMDE structure is added by the queue manager if the message descriptor is V1.
为了允许mdb发送响应,包含该MDB的EJB模块的部署描述符必须定义对连接工厂和应答队列的资源引用。
To allow the MDB to send the response, the deployment descriptor for the EJB module containing the MDB must define resource references for the connection factory and reply queue.
管道由一个队列和两个文件描述符(一个用于数据入列,另一个用于数据出列)组成。
A pipe is composed of a queue and two file descriptors-one to enqueue data and the other to dequeue data.
为了侦听请求,包含MDB的EJB模块的部署描述符必须定义JMS激活规范和请求队列资源。
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的部署描述符包含对JMS激活规范(它与我们前面创建的 JMS队列依次联合)的引用,如图7 所示。
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.
当消息流向V 7版本之前的队列管理器时,除了那些在消息描述符中的属性之外,消息属性都被看作是消息数据并计入消息长度中。
When a message flows to a queue manager prior to V7, properties of the message, except those in the message descriptor, are treated as message data and count towards the length of the message.
请在参考资料部分下载包含用于建立MQSeries队列的批处理文件以及应用程序的源代码和部署描述符的zip文件。
From the Resources section, download the zip file containing the batch file for setting up the MQSeries queues and the source code and deployment descriptors for the application.
配置部署描述符,以侦听由WebSphereESB中介模块的输入生成的队列。
Configure the deployment descriptor to listen on the queue generated by the WebSphere ESB mediation module's import.
如果找不到任何结果,队列管理器会在保持ReplyToQ不变的情况下在消息描述符的replytoqmgr字段中置入自己的名称。
If none is found, the queue manager places its own name in the ReplyToQMgr field of the message descriptor, with ReplyToQ unchanged.
更改mdb的部署描述符,将其配置为从WebSphereESB放置消息的队列获取消息。
Change the MDB's deployment descriptor to configure it to get messages from the queue on which WebSphere ESB puts them.
您需要在部署描述符ejb-jar.xml 中使用关联的JMS目标(或队列)配置MDB。
You need to configure the MDB with the associated JMS destination (or queue) in the deployment descriptor, ejb-jar.xml.
客户端部署描述符,在一个称为application-client.xml的文件中,包含对用于上述代码中JMS连接工厂和队列中JNDI名称的引用。
The client deployment descriptor, in a file called application-client.xml, contains references to the JNDI names of the JMS connection factory and queue that are used in the above code.
队列的名称将映射到web应用程序的web .xml部署描述符中。
This name is mapped in the web.xml deployment descriptor for the web application.
两个名称(一个用于连接工厂,另一个用于实际队列)都使用客户机应用程序部署描述符中的资源引用进行绑定。
Both names (one for the connection factory and one for the actual queue) are bound using resource references in the client application deployment descriptor.
消息描述符与队列管理器内驻留在队列上的每个消息相关。
A message descriptor is associated with every message that resides on a queue within a queue manager.
包含该Servlet的Web模块的部署描述符必须定义对连接工厂和请求队列及响应队列的资源引用。
The deployment descriptor for the Web module containing the servlet must define resource references for the connection factory and both the request and reply queues.
在部署描述符(其将作为由WebSphereESB中介模块的导出生成的队列)中配置队列名称。
Configure the queue name in the deployment descriptor to be the queue generated by the export of the WebSphere ESB mediation module.
在部署描述符(其将作为由WebSphereESB中介模块的导出生成的队列)中配置队列名称。
Configure the queue name in the deployment descriptor to be the queue generated by the export of the WebSphere ESB mediation module.
应用推荐