ibm-mq

Is there a “feature” in Open Liberty to connect to IBM MQ, equivalent to wmqJmsClient-2.0 in Liberty Profile?

爷,独闯天下 提交于 2019-12-05 22:02:59
IBM WebSphere Liberty Profile provides the "wmqJmsClient-2.0" feature to interact with IBM MQ Is there an equivalent for Open Liberty? [UPDATED] If not (as it seems), how to connect Open Liberty to IBM MQ? Should I develop an Open Liberty "feature" equivalent of the one available in WLP, based on the IBM MQ official RAR file (currently "9.1.0.0-IBM-MQ-Java-InstallRA.jar" ) ? Or is there a "generic" way to configure such a connection in Open Liberty? (I guess the question arises with other Queue Managers like ActiveMQ , Artemis , OpenMQ etc.) OpenLiberty has the jms-2.0 feature, which allows

WMQ V8 Connection Factory setup on Tomcat using JNDI

坚强是说给别人听的谎言 提交于 2019-12-05 21:37:02
Currently on our Tomcat configuration with JNDI is based on this recommendation which currently is working. How do I connect to a Websphere MQ (MQ Series) server using JMS and JNDI? Since we are upgrading to v8 I would like to take advantage of the JMS 2.0 features. This would require updating the jar files to the JMS 2.0 versions. So I have removed the following jars from the tomcat lib folder. com.ibm.mq.jar com.ibm.mqjms.jar connector.jar dhbcore.jar geronimo-j2ee-management_1.0_spec-1.0.jar geronimo-jms_1.1_spec-1.0.jar And replaced them with these jars. Base on this link com.ibm.mq

is IBM MQ Message Segmentation possible using JMS?

旧城冷巷雨未停 提交于 2019-12-05 18:28:52
Is it possible to implement message segmentation using JMS as it is in using Native IBM API as shown here . One posible solution I have read is message grouping for JMS. is anyone using this an alternative solution to Segmentation, using JMS? Yes, you can implement message segmentation using JMS as described here. No, that's not segmentation. That's grouping. It is similar, but it's also not using JMS. As far as I can tell, segmentation is not supported in IBM's implementation of JMS. I found some dirty solution for this problem using IBM's implementation of JMS. I did not find a solution how

Web Sphere 7.5 Add user

試著忘記壹切 提交于 2019-12-05 17:57:37
How can i add new user to my queue in WebSphere 7.5 MQ Explorer? I have a 90 day trial version and I don't have a administrator console :/ I don't know why... I would like to connect to a queue that is placed on my server, but I can't connect with Administrator account. First off, go get the non-expiring version for which the product name is MQ Advanced for Developers . As of this writing, it is available in v7.5 and v8.0 and it is free. If you want support, IBM will let you throw money at them for that but the full-function, non-expiring product is free. MQ now ships secure by default. When

ActiveMQ bridge connector to WebSphereMQ without using XML config

烂漫一生 提交于 2019-12-05 15:13:59
I want to create a broker to broker connection between ActiveMQ and WebSphere MQ in an embedded broker. I know that exists the network connector in activemq to do that (broker-to-broker), but I don't know how to configure it to connect to WebSphere MQ. Doing a search in the web I found some different ways to do with XML configuration and I noticed that the XML tags used does not refer the network connector, but refers a <jmsBridgeConnectors> , so I do a research about this bridge connector by using java code but I wasn't able to find something that points me about how to do that. Is there an

Spring Batch - Not all records are being processed from MQ retrieval

时间秒杀一切 提交于 2019-12-05 11:44:48
I am fairly new to Spring and Spring Batch, so feel free to ask any clarifying questions if you have any. I am seeing an issue with Spring Batch that I cannot recreate in our test or local environments. We have a daily job that connects to Websphere MQ via JMS and retrieves a set of records. This job uses the out-of-the-box JMS ItemReader. We implement our own ItemProcessor, but it doesn't do anything special other than logging. There are no filters or processing that should affect incoming records. The problem is that out of the 10,000+ daily records on MQ, only about 700 or so (the exact

Websphere Liberty profile - transacted Websphere MQ connection factory

巧了我就是萌 提交于 2019-12-05 11:39:34
Trying to get my Liberty profile server to create a transacted jmsConnectionFactory to my instance of Websphere message queue. Liberty profile v 8.5.5.5 Websphere MQ 7.x I've tried to change the jmsQueueConnectionFactory to jmsXAQueueConnectionFactory but it does not help -> Then it seems to just ignore it and doesn't connect to the MQ server.xml <?xml version="1.0" encoding="UTF-8"?> <server description="new server"> <!-- Enable features --> <featureManager> <feature>wmqJmsClient-1.1</feature> <feature>jndi-1.0</feature> <feature>jsp-2.2</feature> <feature>localConnector-1.0</feature> <

How to do jndi lookup of MQ connection factory defined in Websphere app Server from Spring

折月煮酒 提交于 2019-12-05 10:18:42
I am trying to connect to a MQ connection factory defined in Websphere app Server 7.0. But I couldnt find a right connectionfactory interface for the MQ to define in Spring. However when I tried to hardcode the connection details in the spring config file, I am able to connect to the Queue Manager. What is the right interface/format to use in Spring beans to load the MQ connection factory defined in Websphere appl server? Working Code <bean id="mqConnectionFactory" class="com.ibm.mq.jms.MQQueueConnectionFactory"> <property name="hostName"> <value>127.0.0.1</value> </property> <property name=

How to check whether have message in the queue

∥☆過路亽.° 提交于 2019-12-05 08:14:41
问题 I am using IBM Websphere MQ. I have the queue manager and queue name. Now, I want to check whether the queue has any messages in it? I did not work on this before. Pleas help Please let me know if you need further information! Thanks 回答1: The below code is .NET / amqmdnet - but you might try and convert this in the meantime until a Java dev sees your post. To see if there is a message on the queue, without actually taking it off the queue, use MQC.MQOO_BROWSE on the Queue and IBM.WMQ.MQC

Can create Websphere Queue Manager but not connect

て烟熏妆下的殇ゞ 提交于 2019-12-05 07:44:51
I need to write a .Net connector to WebSphere MQ queues so I've installed a trial version of IBM WebSphere MQ on my Windows 7 machine. I initially setup some dummy queues in MQ Explorer to play with the setup process and I was able to connect to those queue managers and create queues. I deleted those dummy queues and followed the first set of instructions from Lesson 1.1 from IBM here where I created some queues from the command line I failed to run Lesson 1.2 because of security issues, and I now cannot connect to any queue managers in MQ Explorer. when I try to connect I get the error