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
0
votes
1 answer

IBM.XMS .NET library: set up a flag

I am sending message to Websphere Message Queue, and I need to mark some messages with "Last Message" flag (it is default property for Message Queue). I am using IBM.XMS .NET library, but I haven't found ability to set up this property. Has anyone…
Yuri Dorokhov
  • 716
  • 5
  • 24
0
votes
1 answer

Websphere MQ Client ver 9.0 compatibility with .NET framework

We are using MQ Client ver 7.5.0.5 (64 bit), now want to migrate to ver 9.0(64 bit). Downloaded installer from here. With that said, I would like to ask below: App was compiled against ver 7.5.0.5; To enable the app to work with ver. 9.0 MQ client…
Ranganatha
  • 1,157
  • 14
  • 32
0
votes
1 answer

MQ Max message length issue in browsing

We have an .Net application connecting to MQ using XMS.NET. We are facing one issue as below. - We have one message of length around 5~5.5 MB in queue and if Max message length of channel is set to 4 MB then we are not able to browse message. But…
Sameer More
  • 589
  • 1
  • 6
  • 13
0
votes
1 answer

c# websphere set local port on windows tcp

I'm using the IBM websphere XMS API to connect and send messages to the mainframe. However, every message sent is sent through a new local port. Is there a way to set this to a fixed port? A new port is created locally when the following line is…
Silent Fart
  • 111
  • 2
  • 13
0
votes
1 answer

MessageProducer.send() is too slow for a particular topic

I've narrowed down the area of the problem I'm facing and it turned out that MessageProducer.send() is too slow when it is created for a particular topic "replyfeserver": auto producer =…
Nawaz
  • 353,942
  • 115
  • 666
  • 851
0
votes
2 answers

How to get only MQ messages which are older that 2 minutes in C# usig XMS.net?

I have created an application using IBM XMS.NET. All is good and I am able to read the mssages from queue. I want to read only those messages which are older that 2 mins from now. How to use selector in this case. Below is code I have created. …
0
votes
1 answer

IBM XMS client didn't invoke ExceptionListerner when both active and standby Queue Managers restarted

I am using XMS .NET client 7.5 version to connect to WebSphere's multi-instance queue manager. And receiving message asynchronously and also subscribed to Exception Listener to receive any exception happening on WMQ connection. To test the Queue…
Ranganatha
  • 1,157
  • 14
  • 32
0
votes
1 answer

XMS mq client_acknowledge - acknowledge separately messages

I'm trying to write MQ client which will be resistant to unexpected situation. I have created client with client_acknowledge mode: ISession session = conn.CreateSession(false, AcknowledgeMode.ClientAcknowledge); In the XMS documentation there is…
moniuh
  • 1
0
votes
1 answer

Implementing IBM.XMS in dot net windows service

I am developing a windows service which will read the messages from MQ using IBM.XMS listeners. I need to read only messages which are older than 120 seconds. I have successfully created a listener which is reading all the messages coming into the…
0
votes
1 answer

XMS.NET fails when receiving JMS message with RFH2 header at ParseJmsFolder

Our partner started using custom properties for messages being sent over IBM WebSphere MQ and our application developed using XMS.NET started to fail because of that. It turned out that the error is being thrown inside parsing the JMS envelope and…
Tomas Grosup
  • 6,396
  • 3
  • 30
  • 44
0
votes
1 answer

Send and Receive XML formatted text to IBM WebSphere MQ using XMS

We have IBM WebSphere MQ 7.5. We have setup Queue Manager and Queues. We want to read and write XML formatted text from the queues using XMS for .net client application. I tried below code but I don't know how to read that data. Code: try …
Deeps
  • 11
  • 3
  • 7
0
votes
1 answer

IBM.XMS MQ Listener Error 2063 or how to create connection without credentials

I'm trying to implement an MQ Listener in a windows service and I have used the xms mq consumer sample provided in the dotnet folder from the MQ Explorer installation. I am using MQ WebSphere 7.1 If I run their sample solution in console, everything…
kouri
  • 167
  • 1
  • 3
  • 13
0
votes
1 answer

XMS.NET exits the process on factory.CreateConnection

This is a follow up on XMS.NET hanging indefinitely on factory.CreateConnection("username", null); . As recommended in the comments, I installed the newest versions of MQ client and XMS.NET. The application stopped hanging, now it just terminates…
Tomas Grosup
  • 6,396
  • 3
  • 30
  • 44
0
votes
1 answer

IBM.XMS ConnectionFactory.CreateConnection: CompCode: 2, Reason: 2035

I am trying to send Text messages using IBM XMS for .NET. I am getting following error at the time of calling CreateConnection method of IConnectionFactory Additional information: CWSMQ0006E: An exception was received during the call to the…
Brij
  • 11,731
  • 22
  • 78
  • 116
0
votes
2 answers

WebSphere MQ - Changing channel definition structure using XMS.NET API

I am trying to set the MQCD structure properties - specifically HeartBeatInterval using XMS.NET API. Background: I have client applications (in .NET) using XMS.NET API to read messages from WebSphere MQ. I use the ClientAcknowledge mode. If the…