Looking to get an IBM MQ message by Message ID using bash
Is there a tool readily available ? can any of the bash samples that come MQ installation serve the purpose? Please let me know.
You could issue a CURL command to invoke the REST API in your bash script.
eg.
curl -X DELETE --header 'Accept: application/json' 'https://HOST:PORT/ibmmq/rest/v3/messaging/qmgr/QM1/queue/DEV.QUEUE.1/message?messageId=MSGID'
Substitute