ibm-mq

Connecting from .NET to MQ-Series

試著忘記壹切 提交于 2019-12-11 07:12:18
问题 There are similar questions to this one, but not quite the same... I have a C# program that is using amqmdnet.dll (from 9.0.1.0 MQC Redist) The code to connect is: Hashtable mqProperties = new Hashtable(); mqProperties.Add(MQC.CHANNEL_PROPERTY, channelName); mqProperties.Add(MQC.HOST_NAME_PROPERTY, hostname); mqProperties.Add(MQC.PORT_PROPERTY, port); queueManager = new MQQueueManager(strQueueManagerName, mqProperties); It works fine and writes to the queue. I assume it picks up my current

WebMQ with SSL in Mulesoft

拜拜、爱过 提交于 2019-12-11 06:59:44
问题 I am new to Mulesoft Anypoint Studio and have just started exploring it. My flow starts with reading messages from MQ and ends with putting it at the destination, to begin with just my local machine and would evolve later. I have run into an issue where the Queue has TSL which involves keystores and truststores. Now, in Anypoint I see WMQ and HTTPS/TSL connectors. I've setup a TSL context as global element but how do I set it as part of WMQ connector? The same queue &/or channel can be

MQJMS2005 exception failed to create MQQueueManager

只谈情不闲聊 提交于 2019-12-11 06:56:50
问题 In my GetJMSMessage, I used this: MQQueueConnectionFactory cf = new MQQueueConnectionFactory(); cf.setPort(port); cf.setHostName(host); cf.setChannel(channel); cf.setTransportType(JMSC.MQJMS_TP_CLIENT_MQ_TCPIP); cf.setQueueManager(queuemanager); conn = (MQQueueConnection)cf.createQueueConnection(); This works when I run my class as a standalone app. However, when I deployed my project in Weblogic 10, it gave a JMSException error. IBM MQ is deployed remotely and I have no access to it. The

Impersonation okay local but not on server

此生再无相见时 提交于 2019-12-11 06:42:51
问题 I am having a problem with I think impersonation, but I could be mistaken. I have an IBM XMS consumer, consuming data from a queue. Works fine. In order to be granted access to the queue the service needs to be running as specific user, for this I have implemented .Net impersonation. On all systems I am able to get the queue running, the problem occurs when there is a need to restart. To test restart I have placed a simple if(messages == 500) throw... which triggers cancellation,

MQ queue manager closed channel immediately during connect

醉酒当歌 提交于 2019-12-11 06:18:28
问题 I have read many articles according to my issue, but I stiil have no solution. When I try to create connection to WebSpereMQ I get MQJE001: An MQException occurred: Completion Code 2, Reason 2009 MQJE016: MQ queue manager closed channel immediately during connect Closure reason = 2009 After reading different articles I tried to change CCSID by doing MQEnvironment.properties.put(MQC.CCSID_PROPERTY, 1208); // also tried other CCSIDs like 1200,819,500 but I had no success. Than I read that a

PublishJMS processor failing for writing message to IBM Websphere MQ

心已入冬 提交于 2019-12-11 05:54:20
问题 I am facing issue while publishing messages to the IBM Websphere MQ Queue via PublishJMS processor. Configuration of PublishJMS processor & JMS Controller Service, I have verified there is no problem with the MQ connection. I believe there is some additional property I need to set in either the PublishJMS or Controller Service. Below is the error message stack. Caused by: com.ibm.msg.client.jms.DetailedMessageFormatException: JMSCC0051: The property 'JMS_IBM_MsgType' should be set using type

Apache Camel — Websphere MQ integration

醉酒当歌 提交于 2019-12-11 05:14:53
问题 I have an application using apache-camel solution, and would like to send message to Websphere MQ Server through jms, convert jms property JMS_IBM_MQMD_MsgId to MQMD field MQMD.MsgId , so that I set this value on message through camel exchange.getIn().setHeader(WMQConstants.JMS_IBM_MQMD_MSGID, "XXXXXXXXXXXXXXXXXXXXXXXX".getBytes()); According to Apache Camel - IBM MQ integration, seems we need another properties setting on destination object. Reference Setting JMS Provider Options on the

TLSv2 with JDk8 Ciphersuites with MQ8?

◇◆丶佛笑我妖孽 提交于 2019-12-11 04:58:07
问题 This question was migrated from Information Security Stack Exchange because it can be answered on Stack Overflow. Migrated 2 years ago . I want to know TLSv2 with JDk8 Ciphersuites and specs with MQ8? I created a jks file on MQ8 with 'runmqckm' command on unix is jks have any dependency on Ciphersuites and Spec on parameter '-sig_alg' https://www.ibm.com/support/knowledgecenter/SSFKSJ_8.0.0/com.ibm.mq.ref.adm.doc/q083860_.htm Question on TLSv2 Ciphersuite SUite<>SPec combination is not

Camel Transacted: MQ Session closed on every commit

邮差的信 提交于 2019-12-11 04:48:43
问题 I have: Camel route (transacted=true), consuming from an MQ Queue Using Spring's WebSphereUowTransactionManager Transactionality works Running on IBM Liberty But, I get this message: Setup of JMS message listener invoker failed for destination 'MY.QUEUE' - trying to recover. Cause: Local JMS transaction failed to commit; nested exception is com.ibm.msg.client.jms.DetailedIllegalStateException: MQJCA1020: The session is closed. The application attempted to use a JMS session after it had closed

JMS and IBM WebSphere not generating COD

感情迁移 提交于 2019-12-11 04:44:26
问题 I am creating an application that consumes messages from a MQ using JMS. My MQ manager is IBM WebSphere MQ and I am using the IBM jms implementation to consume the messages. The messasges are coming and going fine. I receive the messages from the other part and I can send messages to them. The problem is that they are not receiving the COD after I consume the message from the queue. They receive the COA, but no COD. Here is my receive message code: public byte[] readMsgFromClient() throws