ibm-mq

Batch transfer rate upper bound in a channel?

穿精又带淫゛_ 提交于 2019-12-31 05:32:07
问题 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

IBM MQ Java Error :: java.lang.ClassNotFoundException: com.ibm.mq.internal.MQCommonServices

喜欢而已 提交于 2019-12-31 05:09:06
问题 I am getting the below error while trying to extract the MQHeaders using MQHeaderIterator from MQMessage object . I am using the below line of code and getting the below Exception. Added below jar in classpath also but still it showing error. Libraries used: com.ibm.mq.jar com.ibm.mq.headers.jar com.ibm.mq.commonservices.jar com.ibm.mq.jmqi.jar com.ibm.mq.pcf.jar Code: //Giving error in this line MQHeaderIterator it = new MQHeaderIterator(theMessage); Its throwing Exception as below.

Apache Camel - IBM MQ integration

十年热恋 提交于 2019-12-31 04:15:15
问题 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,

Problem Connecting a Java Client (JMS) to a IBM MQ

一世执手 提交于 2019-12-31 03:21:09
问题 I'm trying to consume an IBM MQ (version 8.0.0.8) with SSL using a Java client built basically with: Oracle JKD 8 and IBM JRE 7 (for testing purposes I have one client for each of them) com.ibm.mq.allclient-9.1.0.0.jar javax.jms-api-2.0.1.jarspring-jms-4.3.7.RELEASE.jar spring-jms-4.3.7.RELEASE.jar The MQ is a Request/Reply type. I have the correct certificate and all MQ properties set, but for some reason the connection “drops” and I get no errors on my client side and my requests never get

Convert String from EBCDIC to Unicode / UTF8

为君一笑 提交于 2019-12-31 03:08:11
问题 I'm able to send messages from Java to Websphere MQ on AS400 . If I send messages from WinXP , there is no difference if I use any accessible Locale , including full Language Localization; nor is there a problem with English Locale . Important for correct encoding is only this code line: msgId.characterSet = 1208; Infortunately, it's not valid. There are differences in the case that I want to take the message from MQ Queue . In the case that I get message from MQ Queue from Windows OS

How to enable SSL with client certificate for Websphere MQ client?

北慕城南 提交于 2019-12-30 11:28:11
问题 We are one application in a larger environment and a client for some data interface, using Websphere MQ 8.x. Our application is a Java EE application running on a WildFly 9 which uses a resource adaptor ( wmq.jmsra.rar ) which is deployed together with the EAR file in the same AS. We interact with the MQ Server in both directions. So we have on the one hand some MDBs (which are due to historical origins still in EJB 2.x format without annotations) listining to some queues and which are

Issues with connecting to ibm mq 7.5 using java

a 夏天 提交于 2019-12-30 07:24:14
问题 I'm very new to ibm mq, I find out the documents or books related to mb are so few, the only one I found is 'WebSphere MQ Using Java' written in 2004. But the real world has changed a lot. I installed and verified mq server 7.5 on redhat linux 64 bit successfully according to this I also created queue manager myqm1 , queue LQ.TEST , channel JAVA.CHANNEL and did some test through command lines on server to ensure they work well. However when I installed a mq client on windows xp and wrote

Issues with connecting to ibm mq 7.5 using java

為{幸葍}努か 提交于 2019-12-30 07:24:07
问题 I'm very new to ibm mq, I find out the documents or books related to mb are so few, the only one I found is 'WebSphere MQ Using Java' written in 2004. But the real world has changed a lot. I installed and verified mq server 7.5 on redhat linux 64 bit successfully according to this I also created queue manager myqm1 , queue LQ.TEST , channel JAVA.CHANNEL and did some test through command lines on server to ensure they work well. However when I installed a mq client on windows xp and wrote

Set timeOut for session/transaction to DefaultMessageListenerContainer

邮差的信 提交于 2019-12-29 10:03:48
问题 I want to receive chunk of messages from Queue within some timeLimit(Ex : 300 millisec after receiving the 1st message) using DefaultMessageListenerConatiner Of Spring (By overriding doReceiveAndExecute) as mentioned in the link. I can group the messages of my batch size i.e 20 when the queue is having too many messages and I can receive less than 20 messages when there are very less messages in Queue. Issue : I see it takes too much time(sometimes 1 sec and sometime 2 secs and more) for

Set timeOut for session/transaction to DefaultMessageListenerContainer

隐身守侯 提交于 2019-12-29 10:00:08
问题 I want to receive chunk of messages from Queue within some timeLimit(Ex : 300 millisec after receiving the 1st message) using DefaultMessageListenerConatiner Of Spring (By overriding doReceiveAndExecute) as mentioned in the link. I can group the messages of my batch size i.e 20 when the queue is having too many messages and I can receive less than 20 messages when there are very less messages in Queue. Issue : I see it takes too much time(sometimes 1 sec and sometime 2 secs and more) for