What you need is to set the message persistence - of the MessageDescriptor structure (MQMD).
In JMS / XMS this property can be set on the destination...
Hello,
I am publishing a message using the .NET API.
The runtime version of IBM.XMS is v2.0.50727.
However, when I try to set the message retention as shown in the JAVA samples, by using:
sendMs ...