+

Search Tips   |   Advanced Search

Add or modify topic mappings on the IBM MQ link publish/subscribe broker

Define topic mappings on a publish/subscribe broker profile, part of the publish/subscribe bridge on an IBM MQ link. A topic mapping is a mapping between a topic on a service integration bus and a stream queue and subscription point provided by an IBM MQ broker.

We have to know the bus name, messaging engine name, IBM MQ link name and the name of the broker profile on which we intend to define the topic mappings.

Topic mappings are associated with an IBM MQ link publish/subscribe broker profile. Together, the profile and topic mappings enable publication and subscription with a broker in an IBM MQ network.

Publication messages forwarded to a message broker in the IBM MQ network are republished on the same topic as they were originally published to in the service integration bus topic space, and vice versa.

To define topic mappings, use the administrative console to complete the following steps:


Tasks

  1. In the navigation pane, click Service integration -> Buses -> bus_name -> [Topology] Messaging engines -> engine_name -> [Additional properties] IBM MQ links -> link_name -> [Additional Properties] Publish/subscribe broker profiles -> profile -> [Additional Properties] Topic mappings

  2. In the content pane, either click New to add a new topic mapping, or click the name of a existing topic mapping to modify. The Topic Mapping [Settings] form is displayed.

  3. Type the topic name.

    The name of the topic on the service integration bus. The name must be the same as the topic name on the message broker in an IBM MQ network.

    The topic name can contain wildcards in the service integration bus syntax. See Wild cards in topic mapping.

  4. Select the name of the topic space containing the topic. If we don't select a name the default is used.

  5. Select the direction of publication flow. The direction of publication flow can be:

    Bi-directional

    Messages flow in both directions between the bus and IBM MQ.

    To IBM MQ

    Messages flow only from the bus to IBM MQ. That is, from WAS to a message broker in the IBM MQ network.

    From IBM MQ

    Messages flow only to the bus from IBM MQ. That is, from a message broker in the IBM MQ network to WAS.

  6. Select the broker stream queue we want to use. If the queue you require is not on the list, click other, please specify then enter the name of the broker stream queue.

    The broker stream queue in this instance is a queue on the IBM MQ queue manager to which the message broker is connected. This queue is being used as the input node for a message flow containing a publication node. Messages sent to this queue are processed by the message broker, then published to applications that have subscribed on the topic specified in the message.

    Stream names are case sensitive.

    After you type a new name, then save the changes, the name becomes available for selection in the drop-down list.

  7. Select the IBM MQ message broker subscription point from which the service integration bus receives messages. If the subscription point you require is not on the list, click other, please specify then enter the name of the subscription point.

    The default subscription point is used if no value is specified.

    After you type a new name, then save the changes, the name becomes available for selection in the drop-down list.

  8. Click OK.

  9. Save changes to the master configuration.

  10. Optional: If we have enabled dynamic configuration updates, the changes take effect immediately. Otherwise, restart the application server.


Related:

  • Wild cards in topic mapping
  • Create topic space mappings
  • Configure topic space mappings between service integration buses
  • Connect a bus and an IBM MQ network to use publish/subscribe messaging
  • Topic names and use of wildcard characters in topic expressions
  • Topic Mapping [Collection]
  • Topic Mapping [Settings]