- Question about openWithProperties
Question about openWithProperties
We have just come across this little oddity and wonder if anyone can throw any light on what is supposed to be happening
I notice from the source to the C# implementation of Open Mama 2.3.0, that the following code:
public static void open ()
increments the mMamaopen flag, whereas the code:
public static void openWithProperties (string path, string filename)
MamaWrapper.CheckResultCode (NativeMethods.mama_openWithProperties (path, filename));
does not. The transport's destroy() method does nothing unless mMamaopen is non-zero, and that is causing me problems when I try to shutdown an application that uses
openWithProperties. Making an additional call to open() gets round the problem but doesn’t really seem to be the right thing to do. Assuming it is necessary should I expect to call
open() before or after openWithProperties()
Has anyone come across this issue?
Join Openmamafirstname.lastname@example.org to automatically receive all group messages.