ibm-mq

How to IBM MQ - Backup and Clearing Messages on queues in linux?

半城伤御伤魂 提交于 2019-12-14 02:29:25
问题 I have tried saveqmgr and dmpmqcfg. i cannot get expected output. dmpmqcfg -m qm.apple -t all -a -x all -o setmqaut I am using MQ_7.5 version. Which command is used to take backup of MQ Message queue in linux 回答1: You can use a command similar to the following to backup the details of a specific queue (TEST.QUEUE in this example). The output will include both the DEFINE Q command along with SET AUTHREC commands to restore any OAM permissions granted to that specific queue. Note that this

EhCache Replication with Websphere MQ

好久不见. 提交于 2019-12-14 00:26:37
问题 Is it possible to use EHCache replication over JMS with IBM's Websphere MQ 7.0? I have a working sample using ActiveMQ (out of the box) but am not sure how to configure EHCache to work with Websphere MQ. Below is a sample of my working ehcache.xml and ActiveMQInitialContextFactory configuration for ActiveMQ. _______________________________ ActiveMQ Sample _____________________________ ehcache.xml <!-- ActiveMQ configuration out of the box --> <cacheManagerPeerProviderFactory class="net.sf

Setting up .Net IBM.XMS client with SSL

独自空忆成欢 提交于 2019-12-13 19:44:42
问题 I have to create a client to listen to messages on a queue. SSL is being used and I am developing in dot net. I have trawled through hundreds of pages of documentation and forums to find something clear and concise and it looks like it just isn't like that! I have a jks, and I am able to telnet to the server where the queue is being published. Below is the code I have so far... var factoryfactory = XMSFactoryFactory.GetInstance(XMSC.CT_WMQ); var connectionfactory = factoryfactory

Should each IMessageConsumer or IMessageProducer have its own ISession?

青春壹個敷衍的年華 提交于 2019-12-13 18:13:07
问题 To make a connection, following objects are needed: IConnection ISession IDestination IMessageConsumer // receiving messages IMessageProducer // sending messages My case is that I have to connect to 5 queues as Consumer and to 5 queues as Producer . After reading a lot, I came to the conclusion that IConnection should be a single-instance object. But where I start asking questions is; Do I have to create new ISession objects for each queue connection? Or can this be a single-instance too?

Apache Camel - Re-consume JMS message after X minutes, after Transaction Rollback

亡梦爱人 提交于 2019-12-13 18:12:11
问题 I'm using Apache Camel, SpringBoot and WMQ in my application to connect to an external service. When the connection to this service fails e.g. when the service is down, I'm rolling back the message to the input queue using JMS transaction. However, the messages are re-consumed instantly after redelivery, which is not what I want. I'd like the messages to be consumed again but after say every 30 minutes giving the external service enough time to come back up. Is there a way to configure this

JMSCS0002 from Spring JMS and IBM Websphere MQ

独自空忆成欢 提交于 2019-12-13 17:20:09
问题 I've seen a question or two on Stack overflow regarding this error but I'm still unable to solve it, so I thought I would pose my own question. Here's my issue: I'm using Spring and Spring's JMSTemplate to do some messaging and queue work. I'm trying to read from a queue. I'm not 100% positive if my logic is correct in my code, but anytime I try to run my app I am greeted with this exception (I've included only the last section): Caused by: com.ibm.msg.client.commonservices.CSIException:

Issue While Setting MQRFH2 header in IBM MQ

笑着哭i 提交于 2019-12-13 17:14:25
问题 I am trying to send an MQ Message with MD and RFH2 headers set. I need the Message to appear like this on AppWatch. But the RFH2 part comes as a part of Message data as a continous string. am using the following code: MQMessage msg = new MQMessage(); msg.writeString("Data to go as Message Content"); //Setting MQMD values msg.persistence = MQConstants.MQPER_PERSISTANT; msg.encoding = MQConstants.MQENC_S390; msg.characterSet = 500; //Setting RFH2 Values MQRFH2 rfh2 = new MQRFH2(); rfh2

ITRS, NetProbe, MQ QUEUE PLUG-IN without libmqic.so

左心房为你撑大大i 提交于 2019-12-13 16:25:50
问题 We need to configure MQ QUEUE PLUG-IN connecting a RHEL Linux server. Below is version details. Name: WebSphere MQ Version: 8.0.0.5 Level: p800-005-160516.2 BuildType: IKAP - (Production) Platform: WebSphere MQ for Linux (x86-64 platform) Mode: 64-bit O/S: Linux 2.6.32-754.2.1.el6.x86_64 http://resources.itrsgroup.com/docs/geneos/4.4.0/Netprobe/middleware/mq-queue.html As per ITRS support we need libmqic.so - which is part of MQ Client Package. But since the server has MQ server installed we

Setting Timeout on Close and Disconnect IBM MQ.NET Client

删除回忆录丶 提交于 2019-12-13 16:09:15
问题 Is it possible to set timeout period for the code below: private MQQueueManager queueManager; private MQQueue queue; ... queue.Close(); queueManager.Disconnect(); The reason is that sometimes the connection get stuck trying to close. The thread blocked on Close() or Disconnect(). Update The client uses managed client, CCDT file, cluster queue manager and other features that might result in different settings. Please provide code sample. Can we change the timeout setting using similar method

IBM Websphere MQ - EJB and MDB migration for Tomcat deployment

大城市里の小女人 提交于 2019-12-13 16:07:37
问题 I have been struggling with this for a long time now. I have an IBM Websphere MQ, which uses EJB and MDB The following is where the ejb mdb is configured. <?xml version="1.0" encoding="UTF-8"?> <ejb-jar-bnd xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://websphere.ibm.com/xml/ns/javaee" xsi:schemaLocation="http://websphere.ibm.com/xml/ns/javaee http://websphere.ibm.com/xml/ns/javaee/ibm-ejb-jar-bnd_1_0.xsd" version="1.0"> <message-driven name="Queue1MDB"> <jca-adapter