ibm-mq

IBM MQ Message Listener

谁说我不能喝 提交于 2019-12-13 12:27:59
问题 Hi does anyone know how to create a message listener using IBM MQ? I know how to do it using the JMS spec but I am not sure how to do it for IBM MQ. Any links or pointers are greatly appreciated. 回答1: Although there is a WMQ Java API as noted by the previous responders, WMQ supports JMS as well so here are some resources to get you started there. Take a look at this article: IBM WebSphere Developer Technical Journal: Running a standalone Java application on WebSphere MQ V6.0 Also, if you have

Java JMS mix messaging implementations

帅比萌擦擦* 提交于 2019-12-13 08:09:34
问题 Is it possible to use java messaging with mixed implementations. E.g.: Is it possible to connect an ActiveMQ client directly to an MQSeries(IBM) server to read/write messages from/to the message queue? 回答1: JMS is an API specification, not a wire format specification. JMS describes the signature of APIs. It does not say how the internals should be implemented. Hence JMS client library implementations are Messaging Provider specific. A IBM MQ JMS Client knows how (i.e wire format) to

MQ Migration Process steps from lower version to Higher version[ MQ7 to MQ9]

别来无恙 提交于 2019-12-13 07:28:37
问题 Current version running is MQ7 in windows 2008 server. What to know about migration process steps from MQ7 to MQ8/MQ9?.New Version of MQ8/MQ9 Server to be installed and how existing Queue definition can be migrated? Will Server Installation take care of QM definition also? windows 2008 server will be good for mq9? There is a MQ-Client7 contacting MQ-Server7, so if we upgrade MQ7 to MQ9 then MQ-Client also will be upgraded to MQ9? There will be any issue in contacting MQ9-Client to MQ7 Server?

IBM MQ: How to know reason for dead letters?

廉价感情. 提交于 2019-12-13 07:03:42
问题 I'm seeing a bunch of messages on the dead letter queue and I don't understand what causes this. I'm using MQ Explorer to browse such messages. Here's what I see in the Dead-Letter Header: This doesn't tell me what the real cause of the problem is. How can I find out ? I've read this article from IBM and it tells that the reason is likely a badly formatted message . In what way badly formatted? (note: I'm in control of both producer and consumer) 回答1: you miss the forest for the trees :-) The

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

守給你的承諾、 提交于 2019-12-13 05:31:16
问题 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 = context.CreateProducerFromTopic("replyfeserver"); producer->send(textMessage); //it is slow Here the call to send() blocks for up to 55-65 seconds occasionally — almost every after 4-5 calls, and up to 5-15 seconds in general. However, if I use some other topic, say "feserver.action.status" . auto producer =

MQJE001: Completion Code '2', Reason '2495'

吃可爱长大的小学妹 提交于 2019-12-13 04:43:07
问题 When i try to put message into the MQ, I get the following error. MQJE001: Completion Code '2', Reason '2495'. I tried to Google it up. The solution I was able to find is that this issue might arise if the JRE, Eclipse and the MQ are not compatible (Compatible as in 32 and 64 bit). Thanks in advance for pointing out where the problem could be and any suggestion regarding how to solve it will be appreciated. 回答1: This problem usually occurs when you've configured your application to connect in

why i am getting websphere mq error code 2195 where my adapter read a messages from websphere mq

…衆ロ難τιáo~ 提交于 2019-12-13 04:17:38
问题 i have written code for an adapter that read messages from websphere mq, but whenever adapter read a message from websphere mq, everytime it gives 2195 error code. how can i see the exact reason for occurance of 2195 回答1: Do you have the com.ibm.mq.pcf.jar in your classpath ? It is needed to avoid this message. 来源: https://stackoverflow.com/questions/14272399/why-i-am-getting-websphere-mq-error-code-2195-where-my-adapter-read-a-messages-f

Sending message on IBM MQ: Hangs on AccessQueue

China☆狼群 提交于 2019-12-13 03:56:36
问题 We're trying to send a message on an IBM MQ Message Queue. We can contact the Queue Manager, but as soon as we call the MQMessage constructor, the process hangs. We suspect that this is actually because whatever AccessQueue is doing is failing. using (MQQueueManager qMgr = new MQQueueManager(queueManagerName, connectionProperties)) { // Set up the options on the queue we want to open int openOptions = MQC.MQOO_OUTPUT + MQC.MQOO_FAIL_IF_QUIESCING; // Now specify the queue that we want to open

Get Active QM Instance from Multi Instance Queue Manager and connect

萝らか妹 提交于 2019-12-13 02:36:36
问题 I have trouble defining multiple hostname for multi-instance queue manager as I am changing a single instance of queue manager to multi-instance queue manager. The existing host is defined in web.config <QueueConfigurationSection> <QueueConfiguration> <add name="SomeQueueHandler" queueManager="QM1" host="99.99.99.01" port="12345" requestQueue="A.B.REQUEST" service="FLATFILE" responseQueue="B.A.RESPONSE" internalResponseQueue="B.A.INTERNAL" channel="A.SVC.SVRCONN" binding="SOAP11TcpBinding"

IBM MQ service on Windows not starting

老子叫甜甜 提交于 2019-12-13 02:13:12
问题 What's the difference of amqsvc and strmqsvc? I have installed IBM MQ and configured for multi instance. It uses amqsvc.exe to start the service as installed, the service is logon from a domain account, and the account is a member of group mqm. It was working fine but yesterday for some unknown reason the service is not starting properly, here is what happened: when amqsvc is run on automatic or manual, amqzxma0 runs on full cpu usage until timeout and windows prompted the service not