IBM MQ XMS.NET IBM.XMS.IllegalStateException: CWSMQ0076E

371 views Asked by At

I am receiving this error under heavy load conditions sending some messages to the producer. But my connection is created in managed mode:

cf.SetIntProperty(XMSC.WMQ_CONNECTION_MODE, XMSC.WMQ_CM_CLIENT);

and this error is supposed to only occur in unmanaged connections:

https://www.ibm.com/support/pages/apar/IT09917

Has anyone else ran into this error before.

Full error:

IBM.XMS.IllegalStateException: CWSMQ0076E: It is not valid to call the Send method outside XA transacttion scope on a XA transction enabled session. The application called a method outside XA transaction scope that must be called within XA transction scope, since the session is used for XA transactions. Change the application program to remove this behaviour.

0

There are 0 answers