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
8
votes
2 answers

Working against a Secure-Channel with Security-Exit using XMS .NET API

I own the following findings in order to work againts WMQ Secure-Channel: Defined Secure-Channel in the WMQ farm Public/Private keys Unmanaged Security-Exit assembly My question is how to utilize these resources and interact with a Secure Channel…
Yair Nevet
  • 12,725
  • 14
  • 66
  • 108
5
votes
0 answers

Using .Net TransactionScope with IBM XMS

Can I use TransactionScope when access IBM MQ with XMS? I have this test code: var context = new InitialContext( new Hashtable { { "XMSC_IC_URL", "XXX" }, …
4
votes
3 answers

Reconnecting to IBM MQ Queue on connection failure

Following code snippet has my connection and subscription logic for an IBM MQ Queue. When ever there is a connection failure, I am using IConnection.ExceptionListener delegate to establish a new connection to by queue and resubscribing for the…
PushCode
  • 1,419
  • 3
  • 15
  • 31
4
votes
1 answer

IBM MQ: CWSMQ0082E: Failed to send to CompCode: 2, Reason: 2017

I am trying to send Text messages using IBM XMS for .NET. After sending around 254 messages, I get following error: An unhandled exception of type 'IBM.XMS.XMSException' occurred in IBM.XMS.Client.WMQ.dll Additional information: CWSMQ0082E: Failed…
Brij
  • 11,731
  • 22
  • 78
  • 116
3
votes
2 answers

How to programmatically retrieve reason code from a XMS XMSException

I have a XMS MQ Client app that is pulling off messages from a series of MQ endpoints. There are certain reason codes for which the process can continue, and for some that it should abort. For example a MQRC_Q_MGR_NOT_AVAILABLE 2059 for one endpoint…
chughts
  • 4,210
  • 2
  • 14
  • 27
3
votes
1 answer

Connecting to MQ using XMS .Net without MQ client

I am trying to connect to MQ using XMS .Net. The MQ is currently setup on the server and using IBM.WMQ I am able to connect to it. Now I want to explore the IBM XMS as it supports API so in future we can try connecting to MQ from .net full-framework…
arpymastro
  • 751
  • 3
  • 16
  • 34
3
votes
2 answers

MQ Error Reason: 2058 randomly starts occurring in C# .NET client after working correctly for multiple days

Client Details: The issues occurs with code acting as a producer pushing messages into IBM MQ queues and topics. The producer is exposed as a REST interface using WebApi2 and is deployed on IIS. We are using C# .NET (4.5.2) client to connect to IBM…
Kailash
  • 527
  • 4
  • 13
3
votes
2 answers

queueBrowser.GetEnumerator() doesnt get any messages | IBM MQ XMS C# client

We are using IBM MQ XMS C# client ver 9.0 (on .NET 4.6.2 framework) to work with IBM MQ. I just need to know of all the messages on a given queue without removing them off the queue. We also got the Consumers set up for the queue. Need both…
Ranganatha
  • 1,157
  • 14
  • 32
3
votes
1 answer

How to reference IBM.XMS.dll in my .NET project

I'm building a program which will start listening to an IBM queue. And for this I'm using the IBM.XMS.dll which came with the Websphere MQ Client installation for Windows. I'm asking myself, when I deploy this to acceptance or production, then…
Ozkan
  • 3,880
  • 9
  • 47
  • 78
3
votes
3 answers

How to get information about message retrieved from queue

I'm new in IBM MQ. Using the following code I can easily put a message in a queue and get that message. public void QueuePut() { queue = queueManager.AccessQueue("Q1", MQC.MQOO_OUTPUT + MQC.MQOO_FAIL_IF_QUIESCING); MQMessage message…
brtb
  • 2,201
  • 6
  • 34
  • 53
2
votes
0 answers

MessageListener only reads one message if connection not restarted

I´m having a trouble reading the second message on IBM MQ (c# + IBM.XMS + ibmcom/mq:latest). Using the default queue "DEV.QUEUE.1", it only keeps listening to messages if the connection is stopped and started again(conn.Stop()/conn.Start()) after…
2
votes
2 answers

IBM MQ XMS Message Listener fetching only the Messages which is already available in Queue and not a new one

I have Sender and receiver console applications for IBM MQ XMS. The sender populates the Queue and the receiver dequeue the queue manger using receive method. I am using the while loop with bool value to keep running the receiver so that whenever a…
Arunn STS
  • 23
  • 3
2
votes
0 answers

What is the IBM MQ XMS option that is equivalent to CMQC.MQSO_SET_CORREL_ID

I am trying to consume the messages by a specific correlation ID. The JMS application that I talk to use CMQC.MQSO_SET_CORREL_ID. What is the equivalent option available to XMS .Net framework to subscribe messages with specific correlation ID using…
Mini
  • 21
  • 2
2
votes
1 answer

IBM MQ XMS.NET client reconnect timeout can't be changed

IBM MQ has an automatic client renonnect functionality, and it has a default timeout of 30 minutes. After 30 minutes it stops trying to reconnect (source - p35). I want to change the timeout so it lasts a longer time retrying (for example 2 hours).…
Ozkan
  • 3,880
  • 9
  • 47
  • 78
2
votes
1 answer

IBM XMS.Net Listener Hangs Out when connection is closed forbiddenly

Hi I use webpshere mq client 8.0.0.8 and I set my listener at once and start to listen mq,but something went wrong and and myconnection is closed but it throws no error and mylistener hang out and cant listen message.If its throws error I have a…
Bilgehan
  • 1,135
  • 1
  • 14
  • 41
1
2 3 4 5 6 7