ibm-mq

Standalone spring app XA transactions with IBM MQ and Oracle as resources

百般思念 提交于 2021-02-19 07:11:27
问题 I am in the process of developing a stand alone Apache camel application (not running on a J2EE container). This apps needs to be capable of routing messages from an IBM MQ queue manager to an Oracle database in a distributed transaction. My google searches pretty much took me to a few places but none of those were able to give me some good clues about how to put everything together. This link below was the closest to what I need but unfortunately it is not cler enough to put me on the right

Standalone spring app XA transactions with IBM MQ and Oracle as resources

喜你入骨 提交于 2021-02-19 07:06:48
问题 I am in the process of developing a stand alone Apache camel application (not running on a J2EE container). This apps needs to be capable of routing messages from an IBM MQ queue manager to an Oracle database in a distributed transaction. My google searches pretty much took me to a few places but none of those were able to give me some good clues about how to put everything together. This link below was the closest to what I need but unfortunately it is not cler enough to put me on the right

Standalone spring app XA transactions with IBM MQ and Oracle as resources

拟墨画扇 提交于 2021-02-19 07:05:34
问题 I am in the process of developing a stand alone Apache camel application (not running on a J2EE container). This apps needs to be capable of routing messages from an IBM MQ queue manager to an Oracle database in a distributed transaction. My google searches pretty much took me to a few places but none of those were able to give me some good clues about how to put everything together. This link below was the closest to what I need but unfortunately it is not cler enough to put me on the right

Unable to autheticate to IBM MQ C# with TLS-certificate

做~自己de王妃 提交于 2021-02-17 05:19:05
问题 I'm trying to connect to a IBM MQ using .net core ( "IBMMQDotnetClient" Version="9.2.0.1" ) with a certificate inside a linux container ( mcr.microsoft.com/dotnet/core/runtime:3.1 ). Configuration Hashtable: new Hashtable { { MQC.HOST_NAME_PROPERTY, "localhost" }, { MQC.CHANNEL_PROPERTY, "DEV.SVRCONN" }, { MQC.PORT_PROPERTY, 1419 }, { MQC.SSL_CIPHER_SPEC_PROPERTY, "TLS_RSA_WITH_AES_128_CBC_SHA" }, { MQC.SSL_CERT_STORE_PROPERTY, "*USER" }} The tracing reveals this exception: 0000702 17:37:10

Websphere MQ message redelivery

北城余情 提交于 2021-02-11 15:09:20
问题 I have a Websphere MQ and a java app receiveng messages from it. I want to make redelivering system if any exceptions is thrown in my app. I'm using spring transaction manager, but the problem is if the message cause an exception in my app, the app is trying to resend the same message. Can i put a broken message in the end of the queue if there were some (2,3 etc) unsuccessful attempts of redelivery? here's my spring configuration: <bean id="mqMessageListener" class="ru.mos.notification

Subscribing to a IBM MQ Topic from a .net client

ぐ巨炮叔叔 提交于 2021-02-11 14:16:53
问题 How to subscribe a IBM MQ topic from .net client in a subscriber model I have already a working copy of the code which is able to get message from the topic. string qmName = "Q1"; string hostName = "MyHost"; string strPort = "1114"; string channelName = "MyCh"; string transport = TRP; Hashtable connectionProperties = new Hashtable(); connectionProperties.Add(MQC.HOST_NAME_PROPERTY, hostName); connectionProperties.Add(MQC.PORT_PROPERTY, strPort); connectionProperties.Add(MQC.CHANNEL_PROPERTY,

PublishJMS processor fails while publishing json message to IBM Websphere MQ

廉价感情. 提交于 2021-02-10 17:44:15
问题 I am facing an issue in PublishJMS processor of NIFI while pushing the json message from it. Note: Just to add tried various processors to see if the attributes can be modified, but none helped, I am able to figure out the issue is only because I am using ConsumeJMS & PublishJMS together in the same flow. JSON Message to be published: {"dataprepcomplete":{"modelfamilytype":"property","groupid":"1","claims":[{"requestid":"1","claimid":"10001"},{"requestid":"2","claimid":"10002"}]}} The issue

Reconnecting to IBM MQ Queue on connection failure

吃可爱长大的小学妹 提交于 2021-02-10 13:01:07
问题 Following code snippet has my connection and subscription logic for an IBM MQ Queue. When ever there is a connection failure, I am using IConnection.ExceptionListener delegate to establish a new connection to by queue and resubscribing for the messages. But the problem is, I can see multiple queue handles. How can I make sure I close the previous connection handle and establish a new connection where ever there is a connection break due to network issues or MQ server restarts? private

IBM MQ Client disconnect after 10 minutes: IBM.XMS.IllegalStateException

限于喜欢 提交于 2021-02-10 07:09:50
问题 I am using this example from IBM. I have just copied and pasted the code: https://github.com/ibm-messaging/mq-dev-patterns/blob/master/dotnet/dotNetGet.cs I am connecting to a MQ Server version 9.0.0.5 I am using a console application .Net Framework 4.6.1 The MQ client installed in my local machines is 9.1.0.1 I can see a very strange behavior. The application run normally and it is able to get messages. But it would disconnect after exactly 10 minutes. It is always 10 minutes. This is the

IBM MQ Client disconnect after 10 minutes: IBM.XMS.IllegalStateException

自古美人都是妖i 提交于 2021-02-10 07:07:12
问题 I am using this example from IBM. I have just copied and pasted the code: https://github.com/ibm-messaging/mq-dev-patterns/blob/master/dotnet/dotNetGet.cs I am connecting to a MQ Server version 9.0.0.5 I am using a console application .Net Framework 4.6.1 The MQ client installed in my local machines is 9.1.0.1 I can see a very strange behavior. The application run normally and it is able to get messages. But it would disconnect after exactly 10 minutes. It is always 10 minutes. This is the