Questions tagged [xms]

XMS is a C, C++, and .NET API to IBM WebSphere MQ that implements the JMS API.

IBM Message Service Client for C/C++ and IBM Message Service Client for .NET provide an application programming interface (API) called XMS that has the same set of interfaces as the Java Message Service (JMS) API. For more information, see Introduction to the IBM Message Service Client for .NET.

XMS is used to communicate as an IBM MQ client and requires an IBM MQ queue manager to which the XMS application can connect. For more information please see the tag wiki.

94 questions
1
vote
1 answer

Sending message to Multi Instance Queue Manager with XMS

Following this post: Get Active QM Instance from Multi Instance Queue Manager and connect I have created a connection XMSFactoryFactory factory = XMSFactoryFactory.GetInstance(XMSC.CT_WMQ); IConnectionFactory connectionProperties =…
Xstaci
  • 67
  • 1
  • 10
1
vote
2 answers

IBM MQ XMS error 2085 on CreateTopic

I am trying to Create a topic and publish a message to IBM MQ topic. I am getting the 2085 MQ exception and sure how to resolve this. IBM.XMS.dll version I am using is 8.0.0.6. Console app code: static void Main(string[] args) { …
PushCode
  • 1,419
  • 3
  • 15
  • 31
1
vote
1 answer

Get Active QM Instance from Multi Instance Queue Manager and connect

I have trouble defining multiple hostname for multi-instance queue manager as I am changing a single instance of queue manager to multi-instance queue manager. The existing host is defined in web.config
Xstaci
  • 67
  • 1
  • 10
1
vote
0 answers

OnXMSException listener not invoked when network disconnected

I'm using IBM XMS v 9.0 .NET C# client library to connect IBM MQ. Once connection are established, assigned MessageListener and OnXMSException. Have set XMSC_WMQ_CLIENT_RECONNECT_TIMEOUT = 30. We are getting messages on MessageListener and…
Ranganatha
  • 1,157
  • 14
  • 32
1
vote
1 answer

IBM.XMS: last message in group property

I am using IBM.XMS .NET library to write messages to the message queue. I need to set up "last message in group" flag to true. textMessage.SetBooleanProperty("JMS_IBM_LAST_MSG_IN_GROUP", true); I got following error message in this line of code:…
Yuri Dorokhov
  • 716
  • 5
  • 24
1
vote
2 answers

Best practice on IBM MQ Connection and number of sessions

We are using IBM MQ as a messaging layer with multi instance setup. The .NET application using XMS client (ver 7.5) will read off messages from the multiple Queues. Since the volume of the message is high, I have created around 5 connection per…
Ranganatha
  • 1,157
  • 14
  • 32
1
vote
1 answer

IBM.XMS.XMSC does not contain a definition for WMQ_Client_Reconnect_Q_MGR

I have create a .Net Windows Service to connect to MQ Queue using XMSFactory. I am trying to implement reconnect functionality but I cannot find the properties in XMS.dll: 'IBM.XMS.XMSC' does not contain a definition for…
user3067170
  • 193
  • 4
  • 14
1
vote
1 answer

IBM.XMS IMessageConsumer - won't release - Can't unsubscribe

First: the issue I am unable to successfully do these steps on an asynchronous durable subscriber against ibm's mq topics. IMessageConsumer.MessageListener =…
dragonlipz
  • 21
  • 3
0
votes
2 answers

IBM XMS .NET remove RFH2 header / set target client does not work

We develop an .NET application which connects to IBM MQ with IBM XMS library. It's working, but the produced messages contains the MQRFH2 header, which the target application cannot process, so we have to remove it. This normally can be done by set…
Daniel M.
  • 15
  • 3
0
votes
0 answers

QueueBrowser vs MessageConsumer

When we compare QueueBrowser with MessageListener, QueueBrowser is very slow. QueueBrowser is taking approx 1 min to process 100 messages where as consumer is processing ~840 messages. This mush difference is expected? can you please suggest if…
b_patil
  • 1
  • 2
0
votes
2 answers

XMS.NET - Error while sending response back to reply queue/out queue

Regarding: “Sending response back to the out/reply queue.” There is a requirement to send the response back to a different queue (reply queue). While sending the response, we have to use the correlation and message id from the request message and…
b_patil
  • 1
  • 2
0
votes
0 answers

Ibm Wmq - Xms .Net - Read and delete message from Queue

Greetings of the day. Please help on the below requirement: Requirement: We want to delete message from MQ only after it is processed successfully. Use event based message detection technique and avoid loop So, to achieve above: I have created…
b_patil
  • 1
  • 2
0
votes
1 answer

How can I connect to IBM MQ using JNDI in c#?

I am currently able to connect to a IBM MQ using IBMXMSDotnetClient by specifying the connection properties directly in the c# code like below. XMSFactoryFactory factory = XMSFactoryFactory.GetInstance(XMSC.CT_WMQ); IConnectionFactory connFactory =…
kzfid
  • 688
  • 3
  • 10
  • 17
0
votes
1 answer

Why connection.close() not closing out the MQ connection?

I'm using the connection.start() to start the connection and consumer.receive() to receive the messages from the queue. But while closing the connection, it's not able to close the connection using connection.close(). Due to this it's exhausting the…
0
votes
0 answers

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

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…
cderrick
  • 76
  • 7