-
Notifications
You must be signed in to change notification settings - Fork 63
Description
Using the latest version - 5e39ebf
I don't have a small example, but can put one together if you need me to.
I am seeing an issue where the GMO and GMO message handle lose their qmgr pointer during a callback. Once that is lost I can't get to the message properties. I tried printing the structs and both the pointer in the GMO and the Message handle are set to nil, but the other elements are still present.
I am not sure why the pointer to the qMgr is lost, i don't see anything in the copy to/from C.
If I use polling I can use MQGMO_PROPERTIES_IN_HANDLE with a local handle and everything works great. I was thinking callbacks will be better for threading, but maybe go routines polling is ok.
Another options is if there is a way to decode the message properties without setting MQGMO_PROPERTIES_IN_HANDLE but I couldn't find it.