I am currently working with IBM MQ 7.0 and we have never used exits and I need to know in which scenario it can be best used. Needed some real time example where it will be used ?
Exits are simply points in the processing of the QMgr or channel that can call out to user-defined code. Some common examples include:
In general, WMQ does what you need it to do without the need for exits. However, if you do need some functionality WMQ does not provide, an exit can often help. Just be aware that WMQ exits on the server side are system-level C code that must be re-entrant, relocatable and thread safe because they share memory with the QMgr.