Navigation: Developing Apps > BINETIX® AGE™ API > Plugins > IMQ Controller > Modules > imq
purge_message/4
Description
purge_message/4 is an Erlang function exported by "imq" module.
Deletes a message from queue by ID and/or correlation ID.
References
•Headers
•register/3
Parameters
Name
Type
Manager
string()
Name of registered MQ manager.
Queue
Name of valid queue created within this MQ manager.
MessageID
binary()
Message ID
Correlation
Optional. Message correlation ID. Defaults to <<>>
Result
Value or Type
{ok, Code}
On success returns a control code.