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 Receive method not returning messages immediately

I use IBM XMS to connect to a third party to send and receive messages. UPDATE: Client .Net Core 3.1 IBM XMS library version from Nuget. Tried 9.2.4 and 9.1.5 with same results Same code used to work fine a week ago - so something must have changed…
Juan
  • 3,675
  • 20
  • 34
0
votes
1 answer

MQ: What happens if a message rollback FAILED?

I use IBM.XMS (9.1.0.0) to get the message from the queue from my .NET application. Under the session, I get the message from the queue then insert into the database (SQL server), if one step failed, the session will roll back. The message will…
Hoang Tran
  • 886
  • 3
  • 13
  • 32
0
votes
1 answer

IBM MQ Internet Pass-Thru licensing requirement

We have an IBM MQ Internet Pass-Thru V2.1.0.1(MQIPT) configured within our organization that consumes the messages published by an external organization 'X'. The external organization 'X' has distributed this MQIPT to use within our premises. We are…
BlueNile
  • 3
  • 2
0
votes
1 answer

IBM XMS: CommittableTransaction() vs session transaction, is any of them global?

I'm using transactions to read and acknowledge messages on a IBM queue and I'm wondering if a session created with connection.CreateSession(true, AcknowledgeMode.SessionTransacted) locks a message globally when multiple instances of consumers are…
Bingla
  • 447
  • 4
  • 17
0
votes
1 answer

IBM XMS .Net how do I receive images files like png and jpg from the MQ

I have a .net XMS client to receive messages from the MQ. It can receive text files fine. But the problem starts when I try to receive .zip or png files. The problem is that the file saved is corrupted and always intreprets it as textmessage. …
0
votes
1 answer

IBM MQ .net XMS error when reading byte messages, byte length error

I have a C# client for fetching IBM mq messages. I am trying to read byte messages from the queue. But I receive the following error. IBM.XMS.MessageEOFException: CWSMQ0136I: An attempt was made to read beyond the end of the message. An attempt was…
0
votes
1 answer

Define key in XMS element

I have a piece of XMS like this:
0
votes
1 answer

IBM MQ XMS.NET - 2059 Error when connecting

I'm updating an app to connect to IBM MQ over TLS. The current error I'm seeing is a 2059 reason code. The trace log doesn't appear to include more info. Does anyone have suggestions as to what to check? I've already done the following: Established…
mawaru
  • 11
  • 3
0
votes
0 answers

How to interpret IMessage bytes using IBM XMS.Net?

I'm successfully getting message from IBM MQ (8.0.0.6) using XMS.Net (Framework V4). I need to interpret the message body in object but getting the following error: The input stream is not a valid binary format. The starting contents (in bytes) are:…
Rana Rao
  • 7
  • 2
0
votes
1 answer

Azure Function IBM MQ Setup with pfx Certificate

I am having a connection problem when I am trying to set up a connection to a IBM MQ V6 QueueManager and a .net client using IBM.XMS namespace in Azure Function. I am setting up the connection like this: XMSFactoryFactory xff =…
Deepak
  • 428
  • 5
  • 12
0
votes
0 answers

Unable to connect to MQ using IBMXMSDotnetClient .NET Core app

I am unable to make a successful connection to my IBM MQ. The approach is to connect to MQ without client installation from a .net core app running on Windows 7 machine. I have added nuget package IBMXMSDotnetClient as listed on the ibm website of…
TRR
  • 1,637
  • 2
  • 26
  • 43
0
votes
1 answer

How can I authenticate to IBM MQ using XMS .NET Core app running in Linux Docker?

Per my understanding XMS .NET will authenticate with the credentials of the logged in user, which is what our app is doing now running on a Windows server. But we have been asked to move this app into a Linux Docker container and I am unsure of how…
sac80644
  • 103
  • 1
  • 5
0
votes
0 answers

XMS IBytesMessage causing problems with split ZIP file

Since upgrading MQ to "IBM MQ Explorer V9.1", the XMS libraries that always worked in previous versions have started behaving differently. Essentially, the code still recognises the messages as IBytesMessage type, and successfully writes them to…
king_moot
  • 1
  • 2
0
votes
1 answer

Writing to remote IBM MQ queue using XMS

I am trying to put messages on a REMOTE queue using XMS versoin 9.1. The MQ server was upgraded to 9.1 as well, but my messages aren't making it to the remote server. var cf =…
cderrick
  • 76
  • 7
0
votes
0 answers

MQI vs JMS / XMS for Asynchronous Message Delivery

I need to pick up messages off an IBM MQ queue without polling so I am looking at some async sample code from IBM. I see sample code to async get with JMS/XMS but not MQI (amqmdnet). The closest I have come to not having to poll continuously with…
sac80644
  • 103
  • 1
  • 5