Interoperation using an IBM MQ server
IBM MQ 伺服器代表 IBM MQ 佇列管理程式或(若為 WebSphere® MQ for z/OS®)佇列共用群組。 Service integration can communicate directly with a IBM MQ queue manager or queue sharing group where a IBM MQ queue is located. You can configure a service integration queue-type destination to add messages directly onto the IBM MQ queue, and retrieve messages directly from the queue.
如果要與 WebSphere Application Server 7.0 版或更新版本交互作業,WebSphere MQ 的版本必須是 WebSphere MQ for z/OS 第 6 版或更新的版本,或是 WebSphere MQ(分散式平台)第 7 版或更新的版本。
To configure WebSphere Application Server for this style of interoperation with IBM MQ, you define a IBM MQ server. This definition represents the IBM MQ queue manager or queue sharing group that hosts the queue which you want to access. The definition has cell scope. The same IBM MQ server definition works for all queues in the queue manager or queue sharing group.
Next, you add the IBM MQ server as a member of the service integration bus (or buses) that require access to the queues that the IBM MQ server hosts. If you have several service integration buses in your cell, you can add the same IBM MQ server as a bus member into more than one of these buses.
After you have done this, you can define queue-type destinations in the service integration bus so that service integration adds messages directly onto a IBM MQ queue located on the IBM MQ server, or retrieves messages directly from that queue, or both. To help you define your service integration destinations, you can (optionally) select the IBM MQ queue you want to use from a list which the administrative console gets directly from the IBM MQ queue manager or queue sharing group. This facility is called "queue discovery".
If you want to mediate a service integration queue-type destination, then you must define two queues within the destination. One is used to queue messages arriving at the destination ready for mediation; this is called the mediation point. The other is used to queue messages after mediation is complete and the messages are ready to be consumed; this is called the queue point. Either the mediation point, or the queue point, or both, can be defined as IBM MQ queues (as previously described).
You can create and configure a IBM MQ server by using the administrative console or by using the wsadmin tool. If you use the administrative console, the server creation wizard can automatically discover resources in the IBM MQ network.