Topic mapping on an IBM MQ link

A topic mapping is an association that defines which messages published in WebSphere® Application Server or the IBM MQ network, should be forwarded to the other publish/subscribe system.

You define one or more topic mappings for a broker profile. The broker profile defines the connection between WebSphere Application Server and a IBM MQ queue manager or separate publish/subscribe broker. The topic mapping links a specific topic in the WebSphere Application Server service integration bus with its equivalent in the IBM MQ network.

When you define a topic mapping, you choose if messages are to flow from IBM MQ to WebSphere Application Server, or from WebSphere Application Server to IBM MQ, or if the flow is two-way, or bidirectional. If a topic mapping is bidirectional, a message is safeguarded from being continually republished on alternating sides of the publish/subscribe bridge.

In your topic mapping, the topic name and its position in the hierarchy (or tree) of topics must be the same in WebSphere Application Server and in the IBM MQ network. You can use wild cards, as described in 主题映射中的通配符. For example, if you set up a topic mapping for "stock/IBM" with a direction from the WebSphere Application Server service integration bus to IBM MQ, the publish/subscribe bridge subscribes to the topic "stock/IBM" in WebSphere Application Server, and receives the messages published to the topic. The publish/subscribe bridge then publishes the messages to the topic "stock/IBM" in the IBM MQ network.

Messages published by a service integration JMS client are transferred to a IBM MQ network if an appropriate topic mapping has been created. This is presented to the IBM MQ network as only the topic name, for example, "sports/football". A suitably configured IBM MQ JMS application can use this information to publish further information to the same topic, but the original WebSphere Application Server JMS application receives these messages only if appropriate topic mapping has been configured.

If you delete a IBM MQ 链路, you must first unsubscribe and delete your topic mappings, to ensure there are no outstanding subscriptions in WebSphere Application Server or the IBM MQ network. For the process to unsubscribe, see 准备移除服务集成总线与 IBM MQ 网络之间的外部总线连接.


指示主题类型的图标 概念主题



时间戳记图标 最近一次更新时间: July 9, 2016 9:27
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=cord&product=was-nd-mp&topic=cjc0015_
文件名:cjc0015_.html