Author |
Message |
Topic: WEBSPHERE MQ WITH IIB User Exit - UNABLE TO MODIFY HEADERS |
iibdevYANDEX
Replies: 35 Views: 16936
|
Forum: WebSphere Message Broker (ACE) Support Posted: Tue Sep 26, 2017 2:00 pm Subject: WEBSPHERE MQ WITH IIB User Exit - UNABLE TO MODIFY HEADERS |
Thanks @rekarm01 and @mqjeff
Ok, I will try and explain the problem with a lot of details.
Firstly;
Editing an existing key:value and adding a new key:value in a JMS header "JMSTransport/T ... |
Topic: WEBSPHERE MQ WITH IIB User Exit - UNABLE TO MODIFY HEADERS |
iibdevYANDEX
Replies: 35 Views: 16936
|
Forum: WebSphere Message Broker (ACE) Support Posted: Thu Sep 14, 2017 10:01 pm Subject: WEBSPHERE MQ WITH IIB User Exit - UNABLE TO MODIFY HEADERS |
The propagated callback, as posted, should update the key when propagating the message from the "MQInput1" node to the "Trace2" node, so that the update would also appear in the &q ... |
Topic: WEBSPHERE MQ WITH IIB User Exit - UNABLE TO MODIFY HEADERS |
iibdevYANDEX
Replies: 35 Views: 16936
|
Forum: WebSphere Message Broker (ACE) Support Posted: Mon Sep 11, 2017 9:36 am Subject: WEBSPHERE MQ WITH IIB User Exit - UNABLE TO MODIFY HEADERS |
@mqjeff and @rekarm01 - Thank you for the response. I agree that using ESQL with compute nodes is a better way of achieving this. But my constraint is that, I will not have access to modifying the flo ... |
Topic: WEBSPHERE MQ WITH IIB User Exit - UNABLE TO MODIFY HEADERS |
iibdevYANDEX
Replies: 35 Views: 16936
|
Forum: WebSphere Message Broker (ACE) Support Posted: Fri Sep 08, 2017 12:33 pm Subject: WEBSPHERE MQ WITH IIB User Exit - UNABLE TO MODIFY HEADERS |
Are you sure your User Exit isn't rewriting the value when the MQInput node reads from Q3?
That is, overwriting the value.
Yes, I am not doing any processing on input callback. So the "tra ... |
Topic: WEBSPHERE MQ WITH IIB User Exit - UNABLE TO MODIFY HEADERS |
iibdevYANDEX
Replies: 35 Views: 16936
|
Forum: WebSphere Message Broker (ACE) Support Posted: Fri Sep 08, 2017 11:46 am Subject: WEBSPHERE MQ WITH IIB User Exit - UNABLE TO MODIFY HEADERS |
Thank you for your responses, everyone. Really appreciate it.
As suggested by @mqjeff, I am now modifying the MQRFH2/usr in MQOutput node. As a first step, I am trying to make sure that I am able t ... |
Topic: WEBSPHERE MQ WITH IIB User Exit - UNABLE TO MODIFY HEADERS |
iibdevYANDEX
Replies: 35 Views: 16936
|
Forum: WebSphere Message Broker (ACE) Support Posted: Tue Sep 05, 2017 11:01 pm Subject: WEBSPHERE MQ WITH IIB User Exit - UNABLE TO MODIFY HEADERS |
Thank you @rekarm01
That worked for JMS headers! So adding a new element (instead of attribute) and setting its value worked.
However, it still does not work for MQ headers . My suspicion th ... |
Topic: WEBSPHERE MQ WITH IIB User Exit - UNABLE TO MODIFY HEADERS |
iibdevYANDEX
Replies: 35 Views: 16936
|
Forum: WebSphere Message Broker (ACE) Support Posted: Mon Sep 04, 2017 9:26 pm Subject: WEBSPHERE MQ WITH IIB User Exit - UNABLE TO MODIFY HEADERS |
Looking at the rest of the JMSTransport header, the problem could be that "testKey" is an Attribute, when it probably should be an Element:
That's interesting, I did not notice that. I ... |
Topic: WEBSPHERE MQ WITH IIB User Exit - UNABLE TO MODIFY HEADERS |
iibdevYANDEX
Replies: 35 Views: 16936
|
Forum: WebSphere Message Broker (ACE) Support Posted: Fri Sep 01, 2017 3:46 pm Subject: WEBSPHERE MQ WITH IIB User Exit - UNABLE TO MODIFY HEADERS |
@mqjeff
I put trace nodes to output the message tree and I DO see the newly inserted key value pair
( ['GENERICROOT' : 0x7f91101879b0]
(0x01000000:Name ): ... |
Topic: WEBSPHERE MQ WITH IIB User Exit - UNABLE TO MODIFY HEADERS |
iibdevYANDEX
Replies: 35 Views: 16936
|
Forum: WebSphere Message Broker (ACE) Support Posted: Thu Aug 31, 2017 10:17 pm Subject: WEBSPHERE MQ WITH IIB User Exit - UNABLE TO MODIFY HEADERS |
@mqjeff, thank you for the suggestion.
I will add the traceNode to check if the updated message is flowing through the nodes. |
Topic: WEBSPHERE MQ WITH IIB User Exit - UNABLE TO MODIFY HEADERS |
iibdevYANDEX
Replies: 35 Views: 16936
|
Forum: WebSphere Message Broker (ACE) Support Posted: Thu Aug 31, 2017 10:15 pm Subject: WEBSPHERE MQ WITH IIB User Exit - UNABLE TO MODIFY HEADERS |
@rekarm01 , thank you for the reply.
iibdevYANDEX wrote:
This is what the message tree structure looks like https://www.ibm.com/support/knowledgecenter/en/SSMKHH_10.0.0/com.ibm.etools.mft.doc/ac ... |
Topic: WEBSPHERE MQ WITH IIB User Exit - UNABLE TO MODIFY HEADERS |
iibdevYANDEX
Replies: 35 Views: 16936
|
Forum: WebSphere Message Broker (ACE) Support Posted: Wed Aug 30, 2017 9:01 am Subject: WEBSPHERE MQ WITH IIB User Exit - UNABLE TO MODIFY HEADERS |
I am trying this with a simple workflow.
1.) JMSInput node receives a message
a. UserExit tries to add a key value pair and the flow continues to
JMSOutput node.
2.) The JMSOutput ... |
Topic: WEBSPHERE MQ WITH IIB User Exit - UNABLE TO MODIFY HEADERS |
iibdevYANDEX
Replies: 35 Views: 16936
|
Forum: WebSphere Message Broker (ACE) Support Posted: Tue Aug 29, 2017 3:42 pm Subject: WEBSPHERE MQ WITH IIB User Exit - UNABLE TO MODIFY HEADERS |
@rekarm01
Thanks for the reply. I realized that I posted this question in the wrong forum, apologies for that.
I believe the message tree is accessed via the incoming CciMessage buffer,
typede ... |
Topic: WEBSPHERE MQ WITH IIB User Exit - UNABLE TO MODIFY HEADERS |
iibdevYANDEX
Replies: 35 Views: 16936
|
Forum: WebSphere Message Broker (ACE) Support Posted: Mon Aug 14, 2017 7:10 am Subject: WEBSPHERE MQ WITH IIB User Exit - UNABLE TO MODIFY HEADERS |
Thanks for the reply.
Below is an example of the sample flow.
Q1 --> IIB (MQInput) --- > UpdateHeaderInUserExit---> MQOutput --- >Q2
Q2 ---> IIB (MQInput1) ---> UserExit ... |
Topic: WEBSPHERE MQ WITH IIB User Exit - UNABLE TO MODIFY HEADERS |
iibdevYANDEX
Replies: 35 Views: 16936
|
Forum: WebSphere Message Broker (ACE) Support Posted: Fri Aug 11, 2017 2:51 pm Subject: WEBSPHERE MQ WITH IIB User Exit - UNABLE TO MODIFY HEADERS |
I have an IIB workflow that has a MQINPUT node that connects to a MQ manager and retrieves the incoming messages from a queue. In IIB I have a user exit that gets called when the input arrives. I am t ... |