Delete a topic mapping on a WebSphere MQ link publish/subscribe broker profile
This describes how we delete a topic mapping on a broker profile on a WebSphere MQ link, which forms part of a publish/subscribe bridge between WebSphere Application Server and WebSphere MQ.
Before you start we have to know the bus name, messaging engine name, WebSphere MQ link name and broker profile name on which you intend to delete the topic mapping.
- If we intend to delete all topic mappings before deleting the broker profile or the WebSphere MQ link, we can avoid restarting the application server more than once by following the steps given in Delete a WebSphere MQ link publish/subscribe broker profile.
- Delete a topic mapping is a two-stage operation to ensure both the WAS (base) and the message brokers in the WebSphere MQ network are synchronized once the deletions have taken place:
- Delete the topic mapping (see the following Procedure section).
- When we have deleted the topic mappings, the changes take effect immediately if we have enabled dynamic configuration updates, otherwise restart the application server.
To delete a topic mapping, use the console to complete the following steps.
- In the navigation pane, click Service integration -> Buses -> bus_name -> [Topology] Messaging engines -> engine_name -> [Additional properties] WebSphere MQ links -> link_name -> [Additional Properties] Publish/subscribe broker profiles -> profile_name -> [Additional Properties] Topic mappings
- Select the check box next to the topic mapping to delete.
- Click Delete.
- Save the changes to the master configuration.
What to do next
Any topic mappings that we have deleted are automatically cleaned up by the publish/subscribe bridge when the application server is restarted.