Is there a way to get the information (Like a message sequence number) about the

last message sent to a Queue in MQ?

I need to know this to implement a persistence mechanism in my C++ Application.

If I can get this information I'll be able to avoid same message repeatedly sending

to the Queue after a system crash.