ibm-mq

XMS.Net 2.1.0.0/1 CWSMQ0282E

喜你入骨 提交于 2019-12-12 14:27:31
问题 We're using XMS.Net to connect to a WebSphere MQ server V7; this has always worked fine with a V6 server but since the "other party" has upgraded to V7 we expierienced some trouble. Most of it has been fixed but now I've stumbled upon an error that I can't explain, nor find anything about: CWSMQ0282E: A null value has been used for argument BUFFER = <> NULL within method ImportMQMDMesageBuffer(WmqSession, WmqDestination, MQMD,byte[],int,int). The preceding method detected an invalid null

How does IBM MQ QM distribute messages over multiple consumers

眉间皱痕 提交于 2019-12-12 09:57:50
问题 We have a IBM MQ v8 setup setup with 1 high volume non-persistent queue and many consumers (50+) on that queue. The large number of consumers is needed to be able to process the volume of messages being published on the queue. What we now notice is that the queue manager is not distributing the messages evenly over the X consumers. A few consumers get up to 300 message per minute, while many other consumers only get a few messages per minute (<10). And, there are many messages on the queue

WebSphere MQ Viewing Channels in WMQ Explorer

馋奶兔 提交于 2019-12-12 09:49:06
问题 We need to execute SET AUTHREC PROFILE($cname) OBJTYPE(CHANNEL) GROUP('mq-user') AUTHADD(...) so that the channels show up WMQ Explorer, it that correct? Current the access is prevented. 回答1: Yes. With the AUTHREC profiles defined in this and previous questions you have authorized the user to connect to the QMgr, put requests to the command queue and receive replies on a model queue. The command server needs to know what operations on other objects the group is authorized for. As an example,

JMS connections exhausted using WebSphere MQ

∥☆過路亽.° 提交于 2019-12-12 08:55:03
问题 I have configured CachingConnectionFactory that wraps a MQTopicConnectionFactory and MQQueueConnectionFactory with cache size set to 10 each. These are than used in several jms:outbound-channel-adapter or jms:message-driven-channel-adapter as part of various spring integration workflows that I have in my application. It is noticed that once in a while the connection count on MQ channel reaches maximum allowed (about 1000) when the process stops functioning. This is a serious problem for a

How to get MQ Cluster information using Programmable Command Format?

99封情书 提交于 2019-12-12 06:32:22
问题 I have a mq cluster setup that has a few queue managers, some are full repositories and some are partial repositories. A full repository is supposed to hold information(meta data?) about the entire cluster. A partial repository will hold some information about the cluster. How do I gather information about the entire cluster using Programmable Command Format? Information about hosts, queue managers, full and partial repositories, cluster queues etc.... Update 1 I have tried the following code

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

倾然丶 夕夏残阳落幕 提交于 2019-12-12 04:35:47
问题 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 { var factoryfactory = XMSFactoryFactory.GetInstance(XMSC.CT_WMQ); var connectionfactory = factoryfactory.CreateConnectionFactory(); connectionfactory.SetStringProperty(XMSC.WMQ_QUEUE_MANAGER, queueManager); connectionfactory.SetStringProperty(XMSC.WMQ_HOST

Springframework.jms.support.JmsAccessor does not have createConnection(userid,pwd) method

荒凉一梦 提交于 2019-12-12 04:05:58
问题 I am writing sample Apache Camel (2.16.2) application that connects to IBM MQ queue manager in clients mode. Apache Camel uses Spring JMS underneath to connect to JMS providers. I see that Spring JmsAccessor does not have a createConnection () method that takes UserId and Password. It only has createConnection () method that does not take any parameters. Because of this create connection to queue manager fails with 2035 - Not authorized. I can connect to queue manager in server bindings mode

Get RFH2 usr area name-value pairs from MQ queue using Java

点点圈 提交于 2019-12-12 03:44:45
问题 Using Java, I want to build a MQ message that has MQMD,RFH2 usr area (with few name-value pairs). I am able to connect to Qmgr and able to read a message from one queue. I want to retrieve all header values (MQMD,RFH2 usr etc) and build one such message based on the retrieved message Can anyone please help me out in this ? FYI: I am doing a load testing using Loadrunner tool that puts loads of messages on inbound queue and they will be processed and will be sent to outbound queue. And the

Issue in connecting to Websphere Mq

孤街醉人 提交于 2019-12-12 03:24:34
问题 I am using spring jms to connect to Websphere MQ. Connection names (all as an example): hostname: <Websphere ip address> http://localhost:9043 given hostname 12.123.0.12 In Resources->JMS->Queue connection Factories name: MQDemo JNDI name: MQDemo 2 Queues: name: MQ.T11.UPDATE.REQUEST JNDI name: jms/MQ.T11.UPDATE.REQUEST name: MQ.T11.INQUIRY.REPLY JNDI name: jms/MQ.T11.UPDATE.REQUEST DemoMain.java In main method: ApplicationContext ctx = new ClassPathXmlApplicationContext("app-context.xml"); /

How do I use IKVMC to convert a specific JAR file to DLL when the jar file has various outgoing dependencies?

我的未来我决定 提交于 2019-12-12 02:57:15
问题 I'm working with Websphere MQ. And I need to convert a specific JAR file to a DLL. Here is the collection of JARS from the WMQ Client. Here is the JAR Analyzer File for the collection listing the various incoming and outgoing dependencies. The File I want to convert is com.ibm.mq.jar which has the following outgoing dependencies - com.ibm.mq.commonservice.jar com.ibm.mq.headers.jar com.ibm.mq.jmqi.jar The problem is I don't know what command to pass in the command prompt to convert the jar