MQ_PUBLISH_EXIT - Publish exit

The MQ_PUBLISH_EXIT call can inspect and alter messages delivered to subscribers.


Purpose

Use the publish exit to inspect and alter messages delivered to subscribers:

  • Examine the contents of a message published to each subscriber
  • Modify the contents of a message published to each subscriber
  • Alter the queue to which a message is put
  • Stop the delivery of a message to a subscriber

This exit is not available on IBM MQ for z/OS .


Syntax

MQ_PUBLISH_EXIT (ExitParms, PubContext, SubContext)


Parameters

Parent topic: User exits, API exits, and installable services reference