ibm-messaging / mq-golang

Calling IBM MQ from Go applications
Apache License 2.0
167 stars 60 forks source link

Manual message acknowledge #201

Closed Apcenuu closed 11 months ago

Apcenuu commented 1 year ago

In IBM MQ we have XMSC_AUTO_ACKNOWLEDGE mode and XMSC_CLIENT_ACNOWLEDGE mode. But library uses autoacknowledge. I dont find in samples and sources how to use manual ack mode. Its possible?

ibmmqmet commented 1 year ago

Thiose are JMS/XMS concepts, not MQI. The approximate equivalent in the core MQI is to use transactions - the Put/Get options for SYNCPOINT with a Cmit() call.