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

.Net : Could not load type 'IBM.WMQ.ManagedCommonServices' from assembly 'IBM.XMS.Client.WMQ, Version=8.0.0.7

Using a .net framework Web API project we want to create a listener(consumer) for our MQ queue. We are using XMS.Net as we are interested in asynchronous style of receiving messages. However, while creating a connection we are getting error: Could…
arpymastro
  • 751
  • 3
  • 16
  • 34
0
votes
2 answers

IBM.XMS Header and Message Compression

Please see my code snippets below: amqmdnet (this works but we prefer IBM.XMS because we can then do asynchronous consumption) XMS with CCDT file XMS with property for compression We tried all possible ways to configure compression (in XMS). I…
Ozkan
  • 3,880
  • 9
  • 47
  • 78
0
votes
0 answers

Setting WMQ_CCDTURL in XMS and unmanaged mode doesn't work

I did a lot of reseach, and I'm stuck at a later phase now in our implementation as client ... In short the requirements are: SSL Client app does Load-balancing. We need separate CCDT files in one application so we can handle all connections…
Ozkan
  • 3,880
  • 9
  • 47
  • 78
0
votes
2 answers

Configuring separate CCDT file for each connection in XMS.NET

As a requirement of our partner, We have to make MQ connections on different ports. And the requirement is to configure separate CCDT files for each port because. All connections are made on one client application (one Process). Because our client…
Ozkan
  • 3,880
  • 9
  • 47
  • 78
0
votes
0 answers

IBM MQ : Do I have to lock ISession objects in multi-threaded context?

In the documentation I see the following sentence: A Session object can be used on only a single thread at any one time. (Source) Does this mean that if my application is multi-threaded, and if my ISession objects are accessible for multiple…
Ozkan
  • 3,880
  • 9
  • 47
  • 78
0
votes
0 answers

Testing length of message before sending it with IBM MQ XMS API

I am a beginner with XMS and I am having quite a hard time finding a solution to my problem. I hope you will help me find a solution or at least give me a hand. So, in my project I am using IBM MQ XMS API to send and receive messages. It works well…
Andrea
  • 145
  • 9
0
votes
1 answer

IBM XMS Websphere MQ MultiThread

I use xms.net 8.0.0.8 and I want to start multithread xms listener in web application. I start processmessage code with using new Thread t=new Thread()... but something goes wrong,and threads are stuck and not read message?If someone has…
Bilgehan
  • 1,135
  • 1
  • 14
  • 41
0
votes
4 answers

IBM MQ XMS v7.5. Error implementing Message Listener in .Net C# amqmdnac.dll missing

When creating a IBM MQ Message Listener that was implemented in .Net C# and working on MQ Client 7.5.0.2 I ran into several Problems after installing MQ Client 7.5. Fixpack 7. One of them and the most important one is, that my client tool tried to…
Oliver S.
  • 109
  • 6
0
votes
0 answers

Random IBM MQ XMS error 2195 on publishing to topic

I am having this random issue while publishing JSON string messages to IBM MQ topic. It happens so randomly all the time. I am not sure how to pinpoint the issue. This is happening since I switched to SSL Channel. IBM.XMS.dll version I am using is…
PushCode
  • 1,419
  • 3
  • 15
  • 31
0
votes
0 answers

IBM MQ Reconnect logic for subscriber

I am have a windows service which will subscribe to a queue and process messages continuously. Every thing is working except except for the reconnect logic. I am using IBM.XMS.dll version 8 in my code. I am having issues in re-establishing the…
PushCode
  • 1,419
  • 3
  • 15
  • 31
0
votes
1 answer

XMSFactoryFactory.GetInstance(XMSC.CT_WMQ) returns Fatal error: Failed to initialize XMSFactoryFactory

I'm trying to connect to an IBM message queue using .net and MQ client v8.0.0.5 but I keep receiving the following error: Fatal error. Failed to initialize XMSFactoryFactory Could not load file or assembly 'IBM.XMS.Client.Impl, Version=8.0.0.5, …
Vishal
  • 2,103
  • 2
  • 16
  • 18
0
votes
0 answers

How to map XMS messages onto IBM MQ messages

I have a windows service subscribing to a IBM MQ using the traditional amqmdnet.dll and the publishing application is using IBM.XMS library. When my subscriber reads the messages, its failing to de-serializing the JMS styles message. I tried a…
PushCode
  • 1,419
  • 3
  • 15
  • 31
0
votes
1 answer

AIX C++ iconv conversion fails

I am using c++/XMS on AIX for consuming incoming messages from MQ. Rightnow I have a need for converting the message from ISO8859-1 to UTF-8. I do the following. ====================================================== void iso2utf8( char* text_iso,…
0
votes
0 answers

IBM.XMS - Set Session.Close timeout

TL;DR I'm using IBM.XMS and, when I call ISession.Close during a network failure, the method never returns - even if the network is reestablished. I'm using IBM.XMS to read (that is, get) messages from WMQ. During tests, we forced a disconnect from…
Bruno Brant
  • 8,226
  • 7
  • 45
  • 90
0
votes
1 answer

IBM MQ XMS - Subscribe to multiple Topics in C#

Is there a way to use the asterisk (*) syntax to subscribe to all the topics that are reports ? For example: "MyData\version1.0\Reports\(*)" p.s : I'm using xms. class MyXmsApp { static void Main(string[] args) { MyXmsApp app = new…
Erez
  • 6,405
  • 14
  • 70
  • 124