Self Study Labs
These can be found here.
DFDL Tutorials
There is an introduction to DFDL here.
There are some very helpful DFDL tutorials here.
Sunday, 18 November 2018
Sunday, 11 November 2018
Properties versus MQMD folder behavior
I had a REST API message flow where I needed to backup the JSON payload to WebSphere MQ queue. I needed to set the expiry interval on the message.
My message was sourced from an HTTPInput node. This meant that I could not directly set the expiry by simply using the following ESQL statement:-
The above statement would not have worked since my message was sourced by an HTTPInput message, no MQMQ tree existed.
When a message flow is sourced by an MQInput node there is an MQMD to parse which makes it easy to set the Expiry value.
My message was sourced from an HTTPInput node. This meant that I could not directly set the expiry by simply using the following ESQL statement:-
SET OutputRoot.MQMD.Expiry = '7899100';The above statement would not have worked since my message was sourced by an HTTPInput message, no MQMQ tree existed.
When a message flow is sourced by an MQInput node there is an MQMD to parse which makes it easy to set the Expiry value.
- When your message flow is sourced by an MQInput node, the MQMD takes precedence over the Properties folder in terms of value propagation between the folders.
- When your message flow is sourced from an input node that is not the MQInput node (such as the HTTPInput node or a user-defined input node), the MQMD header does not take precedence over Properties folder .
- When an MQMD folder is added in a tree that was created by the HTTP Transport, this MQMD does not have control over the Properties folder and the value propagation direction is not MQMD to Properties; it is Properties to MQMD - source IBM Integration Bus Information Center.
SET OutputRoot.Properties.ExpirationTime = 6048000;SET OutputRoot.MQMD.Expiry= 6048000;
Subscribe to:
Posts (Atom)