Forget the MQOO_INQUIRE, there is no equivalent in XMS, unless you'd like to do PCF messages. However any operation on the queues will need the inquire permission set.
As for syncpoint, that is defined in the XMS Context or Session by signifying that the session will be transacted or not. Input_Shared is the default with XMS consumers,
Fail if quiescing is set on the connection factory.
I hope this helps you navigate the pitfalls.
------------------------------
Francois Brandelik
------------------------------
Original Message:
Sent: Fri December 01, 2023 12:04 PM
From: Brad Sprague
Subject: XMS and MQGetMessageOptions and MQPutMessageOptions
Hello. My team is looking in to moving from the .NET MQ Client libraries to the .NET XMS Client libraries in preparation for some micro services development. We are using a simple point to point model so nothing overly exotic. Currently in our MQ Client code, we set the MQC.MQGMO_NO_SYNCPOINT + MQC.MQGMO_CONVERT + MQC.MQGMO_FAIL_IF_QUIESCING message options when we get a message and the MQC.MQPMO_NO_SYNCPOINT + MQC.MQPMO_FAIL_IF_QUIESCING message options when we put a message. I'm trying to understand if these options are supported or even required with XMS. I've haven't able to find anything in the documentation (Developing XMS .NET applications
| Ibm | remove preview |
| | Developing XMS .NET applications | | IBM MQ Message Service Client (XMS) for .NET (XMS .NET) provides an application programming interface (API) called XMS that has the same set of interfaces as the Java Message Service (JMS) API. IBM MQ Message Service Client (XMS) for .NET contains a fully managed implementation of XMS, which can be used by any .NET compliant language. | | View this on Ibm > |
|
|
) that provides any direction on this. We also set the MQC.MQOO_FAIL_IF_QUIESCING + MQC.MQOO_OUTPUT + MQC.MQOO_INPUT_SHARED + MQC.MQOO_INQUIRE when opening the queue, depending on how its being used. Again, I don't see anything in the documentation that indicates whether these options are supported or even required with XMS.
I've been looking a the .Net XMS sample apps for direction but these questions are not answered there.
Any information or direction that can be provided would be greatly appreciated.
------------------------------
Brad Sprague
------------------------------