ibm-mq

How To get JMS Destination from WMQ

核能气质少年 提交于 2019-12-02 08:50:23
I am consuming a message from wmq using spring integration but i am not able to get JMS Destination in message header. I would want to know the queue name from where the message is consumed. In active mq we will be getting a parameter called JMS Destination where the queue name will be available. Is there a possiblity to find queue name from wmq using spring integration message. In Spring Integration, the JMSDestination is mapped to a header named jms_destination ( JmsHeaders.DESTINATION ). See Mapping Message Headers to/from JMS Message . The default mapper is the DefaultJmsHeaderMapper . 来源:

Batch transfer rate upper bound in a channel?

不想你离开。 提交于 2019-12-02 08:38:26
We use MQ (7.1.0.3, yes, it's an old version and we are planning for upgrade to v9 soon.....) for Q-Replication, and recently encountered MQ-tier transfer throttle. Specifically, msgs are stuck on XMITQ and cannot get to the other side quick enough. We used default settings for both SDR and RCVR channels for so long, and now realize MQ-tunning probably becomes necessary to deal with increase Q-Replication volume. We understand a batch is cut when either one of the following conditions is met BATCHSZ (50) reached; BATCHLIM (5000KB) reached; SDR Q empty (This is less likely what we experienced,

IBM MQManager as XA Transaction Manager with Spring-jms and Spring-tx

非 Y 不嫁゛ 提交于 2019-12-02 08:19:56
We are trying to use IBM MQ manager as XA Transaction manager with spring-jms and spring transaction support. Does IBM MQ manager play well with spring-jta support? whitfiea You can't use the WMQ JMS client (which is what spring-jms would use) with the MQ QueueManager acting as the XA transaction manager. The intention is that a JMS application would be controlled via a JTA implemented transaction manager (i.e. a Java EE application server). You can however use the WMQ Java client (i.e. non JMS) and have the MQ QueueManager act as the XA transaction manager (non JTA). As @COLINHY said you can

Hash in hashes perl code issue

房东的猫 提交于 2019-12-02 08:02:37
问题 I tried to store information from below command using perl code, dis ql(*) all'|runmqsc MQ_NAME Assume the output from this command as below, AMQ8409: Display Queue details. QUEUE(SYSTEM.RETAINED.PUB.QUEUE) TYPE(QLOCAL) ACCTQ(QMGR) ALTDATE(2016-08-01) ALTTIME(18.33.20) BOQNAME( ) CLWLPRTY(0) CLWLRANK(0) CLWLUSEQ(QMGR) CRDATE(2016-08-01) CRTIME(18.32.37) CURDEPTH(2) MAXDEPTH(999999999) MAXMSGL(104857600) AMQ8409: Display Queue details. QUEUE(SYSTEM.SELECTION.EVALUATION.QUEUE) TYPE(QLOCAL)

Websphere MQ issue while writing a message to queue from java program

♀尐吖头ヾ 提交于 2019-12-02 07:39:10
I am trying to put a message to Queue from a Java program, I am getting an issue where it says it unable to connect to the host & it seems it is not able to read the channel. Here is the error from AMERR01.log ----- amqccita.c : 4113 ------------------------------------------------------- 07/25/2016 07:04:29 AM - Process(18280.26) User(mqm) Program(amqrmppa) Host(ip-10-0-0-238) Installation(Installation1) VRMF(8.0.0.4) QMgr(CSBTS.QUEUE.MANAGER) AMQ9209: Connection to host 'ip-10-0-0-238 (10.0.0.238)' for channel 'CHAN2' closed. EXPLANATION: An error occurred receiving data from 'ip-10-0-0-238

JMS connection handshake is failing for SSLCipherSuite SSL_RSA_WITH_3DES_EDE_CBC_SHA

[亡魂溺海] 提交于 2019-12-02 07:00:00
I am using Spring boot 1.2.2 and JDK1.8.0.40, I have specified the SSL cipher suit as SSL_RSA_WITH_3DES_EDE_CBC_SHA and also import cer file to keystore. When I run my project, I set the jvm arguments as following: -Djavax.net.debug=all -Djavax.net.ssl.keyStore=/java_home/jre/lib/security/cacerts -Djava.net.keyStorePassword=changeit But I always get handing exception:javax.net.ssl.SSLHandshakeException: No appropriate protocol(protocol is disabled or cipher suites are inappropriate) SEND TLSv1.2 ALERT: fatal, description = handshake_failure WRITE: TLSv1.2 Alert, length = 2 [Raw write]: length

2538 error on MQ for SSL channel connection

被刻印的时光 ゝ 提交于 2019-12-02 06:59:50
I am using IBM WebSphere MQ 8.0 version. I have configured one of my channels with "TLS_RSA_WITH_AES_256_CBC_SHA256" Cipher Spec encryption along with valid certificates installed and mapped to key store path correctly. My .NET client code is not able to connect with this secured channel. It gives 2538 error continuously. I have another channel configured without encryption (unsecured). The client code can connect to this channel without any errors. This is my .NET client code: Hashtable queueProperties = new Hashtable(); queueProperties[MQC.HOST_NAME_PROPERTY] = host; // IP address

Hash in hashes perl code issue

Deadly 提交于 2019-12-02 06:23:18
I tried to store information from below command using perl code, dis ql(*) all'|runmqsc MQ_NAME Assume the output from this command as below, AMQ8409: Display Queue details. QUEUE(SYSTEM.RETAINED.PUB.QUEUE) TYPE(QLOCAL) ACCTQ(QMGR) ALTDATE(2016-08-01) ALTTIME(18.33.20) BOQNAME( ) CLWLPRTY(0) CLWLRANK(0) CLWLUSEQ(QMGR) CRDATE(2016-08-01) CRTIME(18.32.37) CURDEPTH(2) MAXDEPTH(999999999) MAXMSGL(104857600) AMQ8409: Display Queue details. QUEUE(SYSTEM.SELECTION.EVALUATION.QUEUE) TYPE(QLOCAL) ACCTQ(QMGR) ALTDATE(2016-08-01) ALTTIME(18.33.20) BOQNAME( ) BOTHRESH(0) CLWLRANK(0) CLWLUSEQ(QMGR) CRDATE

Connecting IBM MQ queue using F5 virtual ip and C++

情到浓时终转凉″ 提交于 2019-12-02 06:22:59
问题 I am trying to connect to some IBM MQ queues using C++. These queues have been defined under different manager queues in different servers. The idea is to connect to a VIP that will balance the workload pointing to each server. The problem I have is I am using cmqc.h libraries, and in order to connect I have to make use of MQCONN or MQCONNX , for which I need the queue manager name, something that I cannot know as at the moment of the connection I don´t know which one will be used due to F5

Apache Camel - IBM MQ integration

我是研究僧i 提交于 2019-12-02 05:42:34
I have a Apache camel (version 2.18) project that sends a file to my partner's IBM MQ server by IBM MQ client. However, my partner uses the messageId as the filename, thus, we have to set specific filename to messageId . My question is how we can change the messageId ? I tried to add JMS_IBM_MQMD_MsgId or MsgId or modify the JMSMessageId in JMS header before I send the file to the IBM MQ server, but it doesn't work. Do you have any solution? Here is the code in spring file. For example, before we send JMS to my partner's server. We set the below key/value to JMS header: exchange.getIn()