Posted: Fri Oct 19, 2018 7:39 am Post subject: JMSOutput node is not propagating JMSType
Newbie
Joined: 19 Oct 2018 Posts: 1
Hi.
I am trying to send JMS message with custom value of JMSType parameter.
I tried both JMSOutput and MQOutput node. It works only with MQOutput node. (I am using IIB v 10.0.0.11.)
1. Not working - for JMSOutput node I tried:
Code:
SET OutputRoot.JMSTransport.Transport_Folders.Header_Values.JMSType = 'MyMessageType'
2. It works - I used MQOutput node and set value to MQRFH2.mcd.Type:
Code:
CREATE NEXTSIBLING OF OutputRoot.MQMD DOMAIN 'MQRFH2';
SET OutputRoot.MQRFH2.(MQRFH2.Field)NameValueCCSID = InputProperties.CodedCharSetId;
SET OutputRoot.MQRFH2.(MQRFH2.Field)Version = MQRFH_VERSION_2;
SET OutputRoot.MQRFH2.(MQRFH2.Field)Format = MQFMT_STRING;
SET OutputRoot.MQRFH2.(MQRFH2.Field)Encoding = InputProperties.Encoding;
SET OutputRoot.MQRFH2.(MQRFH2.Field)CodedCharSetId = InputProperties.CodedCharSetId;
SET OutputRoot.MQRFH2.mcd.Type = 'MyMessageType';
I'd like to use JMSOuput node. Is it possible?
I'd also tried prepare message with MQRFH2 (which works for MQOutput node) and then I used MQJMSTransform + JMSOutput node - not working.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum