ibm-mq

How to monitor MQ within ITRS Geneos

ぃ、小莉子 提交于 2019-12-24 05:28:47
问题 Can anyone possibly give an example of how to setup within ITRS how to monitor an MQ queue using the mq-queue plugin? I have two screenshots below of what it is looking for. I am not sure how this would help us to determine how many messages are stuck within the queue? 回答1: The settings under the Advanced tab tell the plugin how to connect to the IBM MQ queue manager. How you configure these settings would depend on how the SVRCONN channel is configured on the queue manager. If you have any

JMS MQ binding problem

一笑奈何 提交于 2019-12-24 04:17:13
问题 I have this strange issue with a JMS binding on a MQ queue with a MDB The Message-Driven EJB: CrbEventMessageAsynchronousService is unable to connect to the JMS destination: queue.contratto.crb.input.publicQueue . The Error was: javax.jms.JMSException : MQJMS1017 : non-local MQ queue not valid for receiving or browsing> I checked on the QueueManager and the mq queue is defined as local and not as remote as said by the exception. 回答1: It may be that the top-most queue that the application is

SingleWrite vs TripleWrite

允我心安 提交于 2019-12-24 03:47:10
问题 I have a fairly good grasp on when and where using SingleWrite can be advantageous as a log algorithm in MQ. It benefits high throughput, low concurrency workloads. When the work load is more concurrent, TripleWrite's overhead is less of a factor. What I don't understand and am struggling to find ANY information about is how TripleWrite (the default for Websphere MQ since v6) is actually implemented. I know it doesn't actually write every transaction to the log three times, and that it only

Getting error reason code 2059 on MQ client (C#) when reconnecting to QueueManager after awhile

假装没事ソ 提交于 2019-12-24 03:12:22
问题 I can't reconnect to MQQueueManager after a while as an exception (reason code 2059 - MQRC_Q_MGR_NOT_AVAILABLE) is thrown when I'm constructing new object of MQQueueManager. My client app is written in .NET/C# and I'm running it on Win2003. However I can connect to QM after I have restarted my client app. This would indicate that some state is incorrect in QM libraries? How can I reset the state in code so that I could reconnect to QM? Is there a way to reset/disconnect all active TCP

Getting error reason code 2059 on MQ client (C#) when reconnecting to QueueManager after awhile

落花浮王杯 提交于 2019-12-24 03:12:16
问题 I can't reconnect to MQQueueManager after a while as an exception (reason code 2059 - MQRC_Q_MGR_NOT_AVAILABLE) is thrown when I'm constructing new object of MQQueueManager. My client app is written in .NET/C# and I'm running it on Win2003. However I can connect to QM after I have restarted my client app. This would indicate that some state is incorrect in QM libraries? How can I reset the state in code so that I could reconnect to QM? Is there a way to reset/disconnect all active TCP

How to make Spring JMS pick destination queue name from annotation @JmsListener

微笑、不失礼 提交于 2019-12-24 02:22:44
问题 Any help will be greatly appreciated. I am trying to create a replacement for MDB with spring JMSListener. I wanted the destination name to be passed as a annotation, but i noticed that org.springframework.jms.listener.DefaultMessageListenerContainer container config has destinationName or destination as mandatory. Am i missing something ? How to make use of destination resolver to use queue name from @JmsListener annotation? @Component public class InitStRspnLstnr { @JmsListener(destination

How to take queuemanager backup and restored in linux

亡梦爱人 提交于 2019-12-24 02:14:55
问题 Hello I have queue manager with name QM_1. Here I have taken backup of QM_1 like following. after that I created queue manager(QM_1) with same name in other system and I need to restore the save qmgr properties. Pls provide how to restore the queuemanager properties? saveqmgr -m QM_1 -f 回答1: Some of the options are are on the SupportPac MS03 landing page. (MS03 is the SupportPac that contains the saveqmgr program.) Detailed instructions are in the download documentation. The following

IBM WebSphere MQ 2042 error

我们两清 提交于 2019-12-24 01:36:11
问题 I have the following code: int openOptions = MQC.MQOO_INQUIRE + MQC.MQOO_FAIL_IF_QUIESCING + MQC.MQOO_INPUT_SHARED; Which when executed, I am getting an error: com.ibm.mq.MQException: MQJE001: Completion Code 2, Reason 2042 MQJE001: Completion Code 2, Reason 2042 This happens while connecting my Java program with WebSphere MQ. Please note that the queue property is set as input shared. All help appreciated. 回答1: Although the queue may be set to DEFSOPT(SHARED) , this is only a default. It

IBM MQ - how to connect to Queue manager with multiple connections names ( one is fail over)

时光毁灭记忆、已成空白 提交于 2019-12-24 01:24:42
问题 I am quite new to IBM MQ's. Mine is a multi-instance queue manager. One instance is like fail-over. How can I connect to them even if one of is down. I am not sure whether my terminology is right or not? I am trying to connect using below example now https://raw.githubusercontent.com/ibm-messaging/mq-dev-samples/master/gettingStarted/jms/JmsPutGet.java 回答1: Instead of populating WMQ_HOST_NAME and WMQ_PORT populate WMQ_CONNECTION_NAME_LIST with a comma separated list that is in the format

How to do an explicit ACK when receiving Websphere MQ messages?

筅森魡賤 提交于 2019-12-24 01:16:25
问题 I have an application listening to messages on an IBM Websphere MQ queue. Once a message is consumed, the application performs some processing logic. If the processing completed OK, I would like the application to acknowledge the message and have it removed from the queue. If an error occurred while processing, I would like the message to remain in the queue. How is this implemented? (I'm using the .NET API) Thanks. 回答1: MQ supports a single-phase commit protocol. You specify syncpoint when