|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Missing MQRFH2 headers. |
« View previous topic :: View next topic » |
Author |
Message
|
mahesh2069 |
Posted: Tue Jun 17, 2014 2:44 am Post subject: Missing MQRFH2 headers. |
|
|
Centurion
Joined: 26 Jun 2013 Posts: 103
|
Hello All,
I created 3 flow , first flow output queue is input queue of 2nd flow,and 2nd flow output queue is input queue of 3rd flow.
Here I construct header structure in MQRFH2-usr folder 1st flow , in remaining flows also I created same structure.
In 1st flow what ever created MQRFH2 headers are carried to the 2nd flow, but coming 2nd flow created headers in MQRFH2-usr folder is missing ,and paylod also missing in the thrird flow.
Please find the Message tree of 1st flow, 2nd flow and 3rd flow.
1st flow:
Code: |
Message
Properties
MessageSet:CHARACTER:
MessageType:CHARACTER:
MessageFormat:CHARACTER:
Encoding:INTEGER:546
CodedCharSetId:INTEGER:437
Transactional:BOOLEAN:true
Persistence:BOOLEAN:false
CreationTime:TIMESTAMP:java.util.GregorianCalendar[time=1402981758750,areFieldsSet=true,areAllFieldsSet=false,lenient=true,zone=sun.util.calendar.ZoneInfo[id="Asia/Calcutta",offset=19800000,dstSavings=0,useDaylight=false,transitions=6,lastRule=null],firstDayOfWeek=1,minimalDaysInFirstWeek=1,ERA=?,YEAR=2014,MONTH=5,WEEK_OF_YEAR=?,WEEK_OF_MONTH=?,DAY_OF_MONTH=17,DAY_OF_YEAR=?,DAY_OF_WEEK=?,DAY_OF_WEEK_IN_MONTH=?,AM_PM=0,HOUR=10,HOUR_OF_DAY=10,MINUTE=39,SECOND=18,MILLISECOND=750,ZONE_OFFSET=?,DST_OFFSET=?]
ExpirationTime:INTEGER:-1
Priority:INTEGER:0
ReplyIdentifier:BLOB:[B@c06e8ce3
ReplyProtocol:CHARACTER:MQ
Topic:UNKNOWN:null
ContentType:CHARACTER:
IdentitySourceType:CHARACTER:
IdentitySourceToken:CHARACTER:
IdentitySourcePassword:CHARACTER:
IdentitySourceIssuedBy:CHARACTER:
IdentityMappedType:CHARACTER:
IdentityMappedToken:CHARACTER:
IdentityMappedPassword:CHARACTER:
IdentityMappedIssuedBy:CHARACTER:
MQMD
SourceQueue:CHARACTER:1.IN
Transactional:BOOLEAN:true
Encoding:INTEGER:546
CodedCharSetId:INTEGER:437
Format:CHARACTER:MQHRF2
Version:INTEGER:2
Report:INTEGER:0
MsgType:INTEGER:8
Expiry:INTEGER:-1
Feedback:INTEGER:0
Priority:INTEGER:0
Persistence:INTEGER:0
MsgId:BLOB:[B@2fd75de9
CorrelId:BLOB:[B@be2b5de9
BackoutCount:INTEGER:0
ReplyToQ:CHARACTER:
ReplyToQMgr:CHARACTER:CACHE
UserIdentifier:CHARACTER:miracle
AccountingToken:BLOB:[B@7c92d338
ApplIdentityData:CHARACTER:
PutApplType:INTEGER:11
PutApplName:CHARACTER:\miracle\Desktop\rfhutil.exe
PutDate:DATE:java.util.GregorianCalendar[time=1402943400000,areFieldsSet=true,areAllFieldsSet=false,lenient=true,zone=sun.util.calendar.ZoneInfo[id="Asia/Calcutta",offset=19800000,dstSavings=0,useDaylight=false,transitions=6,lastRule=null],firstDayOfWeek=1,minimalDaysInFirstWeek=1,ERA=?,YEAR=2014,MONTH=5,WEEK_OF_YEAR=?,WEEK_OF_MONTH=?,DAY_OF_MONTH=17,DAY_OF_YEAR=?,DAY_OF_WEEK=?,DAY_OF_WEEK_IN_MONTH=?,AM_PM=0,HOUR=0,HOUR_OF_DAY=0,MINUTE=0,SECOND=0,MILLISECOND=?,ZONE_OFFSET=?,DST_OFFSET=?]
PutTime:TIME:java.util.GregorianCalendar[time=-62167459841250,areFieldsSet=false,areAllFieldsSet=false,lenient=true,zone=sun.util.calendar.ZoneInfo[id="Asia/Calcutta",offset=19800000,dstSavings=0,useDaylight=false,transitions=6,lastRule=null],firstDayOfWeek=1,minimalDaysInFirstWeek=1,ERA=0,YEAR=2,MONTH=11,WEEK_OF_YEAR=?,WEEK_OF_MONTH=?,DAY_OF_MONTH=31,DAY_OF_YEAR=?,DAY_OF_WEEK=?,DAY_OF_WEEK_IN_MONTH=?,AM_PM=0,HOUR=10,HOUR_OF_DAY=10,MINUTE=39,SECOND=18,MILLISECOND=750,ZONE_OFFSET=?,DST_OFFSET=?]
ApplOriginData:CHARACTER:
GroupId:BLOB:[B@ddf7db46
MsgSeqNumber:INTEGER:1
Offset:INTEGER:0
MsgFlags:INTEGER:0
OriginalLength:INTEGER:-1
MQRFH2
Version:INTEGER:2
Format:CHARACTER:
Encoding:INTEGER:546
CodedCharSetId:INTEGER:437
Flags:INTEGER:0
NameValueCCSID:INTEGER:1208
usr
Header
Details
Id:CHARACTER:1
Name:CHARACTER:Sample-POC
CStamp
TimeStamp:CHARACTER:dummy Value1
SDetails
EndPoint:CHARACTER:1.IN
Protocol:CHARACTER:MQ
TDetails
EndPoint:CHARACTER:Dummy Value
Protocol:CHARACTER:Dummy Value
Route
State
ID:INTEGER:1
sInterface
Protocol:CHARACTER:Dummy Value
Endpoint:CHARACTER:Dummy Value
tInterface
Protocol:CHARACTER:Dummy Value
Endpoint:CHARACTER:Dummy Value
State
ID:INTEGER:2
sInterface
Protocol:CHARACTER:Dummy Value
Endpoint:CHARACTER:Dummy Value
tInterface
Protocol:CHARACTER:Dummy Value
Endpoint:CHARACTER:Dummy Value
State
ID:INTEGER:3
sInterface
Protocol:CHARACTER:Dummy Value
Endpoint:CHARACTER:Dummy Value
tInterface
Protocol:CHARACTER:Dummy Value
Endpoint:CHARACTER:Dummy Value
BLOB
UnknownParserName:CHARACTER:
BLOB:BLOB:[B@6d0d9533
|
2nd flow Message Tree before putting into Out put queue:
Code: |
Message
Properties
MessageSet:CHARACTER:
MessageType:CHARACTER:
MessageFormat:CHARACTER:
Encoding:INTEGER:546
CodedCharSetId:INTEGER:437
Transactional:BOOLEAN:true
Persistence:BOOLEAN:false
CreationTime:TIMESTAMP:java.util.GregorianCalendar[time=1402981758750,areFieldsSet=true,areAllFieldsSet=false,lenient=true,zone=sun.util.calendar.ZoneInfo[id="Asia/Calcutta",offset=19800000,dstSavings=0,useDaylight=false,transitions=6,lastRule=null],firstDayOfWeek=1,minimalDaysInFirstWeek=1,ERA=?,YEAR=2014,MONTH=5,WEEK_OF_YEAR=?,WEEK_OF_MONTH=?,DAY_OF_MONTH=17,DAY_OF_YEAR=?,DAY_OF_WEEK=?,DAY_OF_WEEK_IN_MONTH=?,AM_PM=0,HOUR=10,HOUR_OF_DAY=10,MINUTE=39,SECOND=18,MILLISECOND=750,ZONE_OFFSET=?,DST_OFFSET=?]
ExpirationTime:INTEGER:-1
Priority:INTEGER:0
ReplyIdentifier:BLOB:[B@7161ff96
ReplyProtocol:CHARACTER:MQ
Topic:UNKNOWN:null
ContentType:CHARACTER:
IdentitySourceType:CHARACTER:
IdentitySourceToken:CHARACTER:
IdentitySourcePassword:CHARACTER:
IdentitySourceIssuedBy:CHARACTER:
IdentityMappedType:CHARACTER:
IdentityMappedToken:CHARACTER:
IdentityMappedPassword:CHARACTER:
IdentityMappedIssuedBy:CHARACTER:
MQMD
SourceQueue:CHARACTER:2.IN
Transactional:BOOLEAN:true
Encoding:INTEGER:546
CodedCharSetId:INTEGER:437
Format:CHARACTER:MQHRF2
Version:INTEGER:2
Report:INTEGER:0
MsgType:INTEGER:8
Expiry:INTEGER:-1
Feedback:INTEGER:0
Priority:INTEGER:0
Persistence:INTEGER:0
MsgId:BLOB:[B@3115ffe6
CorrelId:BLOB:[B@cc048caf
BackoutCount:INTEGER:0
ReplyToQ:CHARACTER:
ReplyToQMgr:CHARACTER:CACHE
UserIdentifier:CHARACTER:miracle
AccountingToken:BLOB:[B@d81b9b29
ApplIdentityData:CHARACTER:
PutApplType:INTEGER:11
PutApplName:CHARACTER:\miracle\Desktop\rfhutil.exe
PutDate:DATE:java.util.GregorianCalendar[time=1402943400000,areFieldsSet=true,areAllFieldsSet=false,lenient=true,zone=sun.util.calendar.ZoneInfo[id="Asia/Calcutta",offset=19800000,dstSavings=0,useDaylight=false,transitions=6,lastRule=null],firstDayOfWeek=1,minimalDaysInFirstWeek=1,ERA=?,YEAR=2014,MONTH=5,WEEK_OF_YEAR=?,WEEK_OF_MONTH=?,DAY_OF_MONTH=17,DAY_OF_YEAR=?,DAY_OF_WEEK=?,DAY_OF_WEEK_IN_MONTH=?,AM_PM=0,HOUR=0,HOUR_OF_DAY=0,MINUTE=0,SECOND=0,MILLISECOND=?,ZONE_OFFSET=?,DST_OFFSET=?]
PutTime:TIME:java.util.GregorianCalendar[time=-62167459841250,areFieldsSet=false,areAllFieldsSet=false,lenient=true,zone=sun.util.calendar.ZoneInfo[id="Asia/Calcutta",offset=19800000,dstSavings=0,useDaylight=false,transitions=6,lastRule=null],firstDayOfWeek=1,minimalDaysInFirstWeek=1,ERA=0,YEAR=2,MONTH=11,WEEK_OF_YEAR=?,WEEK_OF_MONTH=?,DAY_OF_MONTH=31,DAY_OF_YEAR=?,DAY_OF_WEEK=?,DAY_OF_WEEK_IN_MONTH=?,AM_PM=0,HOUR=10,HOUR_OF_DAY=10,MINUTE=39,SECOND=18,MILLISECOND=750,ZONE_OFFSET=?,DST_OFFSET=?]
ApplOriginData:CHARACTER:
GroupId:BLOB:[B@5f5e6625
MsgSeqNumber:INTEGER:1
Offset:INTEGER:0
MsgFlags:INTEGER:0
OriginalLength:INTEGER:-1
MQRFH2
Version:INTEGER:2
Format:CHARACTER:
Encoding:INTEGER:546
CodedCharSetId:INTEGER:437
Flags:INTEGER:0
NameValueCCSID:INTEGER:1208
usr
Header
Details
Id:CHARACTER:1
Name:CHARACTER:Sample-POC
CStamp
TimeStamp:CHARACTER:dummy Value1
SDetails
EndPoint:CHARACTER:1.IN
Protocol:CHARACTER:MQ
TDetails
EndPoint:CHARACTER:Dummy Value
Protocol:CHARACTER:Dummy Value
Route
State
ID:CHARACTER:1
sInterface
Protocol:CHARACTER:Dummy Value
Endpoint:CHARACTER:Dummy Value
tInterface
Protocol:CHARACTER:Dummy Value
Endpoint:CHARACTER:Dummy Value
State
ID:CHARACTER:2
sInterface
Protocol:CHARACTER:Dummy Value
Endpoint:CHARACTER:Dummy Value
tInterface
Protocol:CHARACTER:Dummy Value
Endpoint:CHARACTER:Dummy Value
State
ID:CHARACTER:3
sInterface
Protocol:CHARACTER:Dummy Value
Endpoint:CHARACTER:Dummy Value
tInterface
Protocol:CHARACTER:Dummy Value
Endpoint:CHARACTER:Dummy Value
BLOB
UnknownParserName:CHARACTER:
BLOB:BLOB:[B@6b254c02
|
3rd flow message tree at MQ Input Node :
Code: |
Message
Properties
MessageSet:CHARACTER:
MessageType:CHARACTER:
MessageFormat:CHARACTER:
Encoding:INTEGER:546
CodedCharSetId:INTEGER:437
Transactional:BOOLEAN:true
Persistence:BOOLEAN:false
CreationTime:TIMESTAMP:java.util.GregorianCalendar[time=1402981911450,areFieldsSet=true,areAllFieldsSet=false,lenient=true,zone=sun.util.calendar.ZoneInfo[id="Asia/Calcutta",offset=19800000,dstSavings=0,useDaylight=false,transitions=6,lastRule=null],firstDayOfWeek=1,minimalDaysInFirstWeek=1,ERA=?,YEAR=2014,MONTH=5,WEEK_OF_YEAR=?,WEEK_OF_MONTH=?,DAY_OF_MONTH=17,DAY_OF_YEAR=?,DAY_OF_WEEK=?,DAY_OF_WEEK_IN_MONTH=?,AM_PM=0,HOUR=10,HOUR_OF_DAY=10,MINUTE=41,SECOND=51,MILLISECOND=450,ZONE_OFFSET=?,DST_OFFSET=?]
ExpirationTime:INTEGER:-1
Priority:INTEGER:0
ReplyIdentifier:BLOB:[B@8e8c7433
ReplyProtocol:CHARACTER:MQ
Topic:UNKNOWN:null
ContentType:CHARACTER:
IdentitySourceType:CHARACTER:
IdentitySourceToken:CHARACTER:
IdentitySourcePassword:CHARACTER:
IdentitySourceIssuedBy:CHARACTER:
IdentityMappedType:CHARACTER:
IdentityMappedToken:CHARACTER:
IdentityMappedPassword:CHARACTER:
IdentityMappedIssuedBy:CHARACTER:
MQMD
SourceQueue:CHARACTER:3.IN
Transactional:BOOLEAN:true
Encoding:INTEGER:546
CodedCharSetId:INTEGER:437
Format:CHARACTER:
Version:INTEGER:2
Report:INTEGER:0
MsgType:INTEGER:8
Expiry:INTEGER:-1
Feedback:INTEGER:0
Priority:INTEGER:0
Persistence:INTEGER:0
MsgId:BLOB:[B@da0e96bb
CorrelId:BLOB:[B@7085043
BackoutCount:INTEGER:0
ReplyToQ:CHARACTER:
ReplyToQMgr:CHARACTER:CACHE
UserIdentifier:CHARACTER:miracle
AccountingToken:BLOB:[B@30feb698
ApplIdentityData:CHARACTER:
PutApplType:INTEGER:11
PutApplName:CHARACTER:0.0.1\bin\DataFlowEngine.exe
PutDate:DATE:java.util.GregorianCalendar[time=1402943400000,areFieldsSet=true,areAllFieldsSet=false,lenient=true,zone=sun.util.calendar.ZoneInfo[id="Asia/Calcutta",offset=19800000,dstSavings=0,useDaylight=false,transitions=6,lastRule=null],firstDayOfWeek=1,minimalDaysInFirstWeek=1,ERA=?,YEAR=2014,MONTH=5,WEEK_OF_YEAR=?,WEEK_OF_MONTH=?,DAY_OF_MONTH=17,DAY_OF_YEAR=?,DAY_OF_WEEK=?,DAY_OF_WEEK_IN_MONTH=?,AM_PM=0,HOUR=0,HOUR_OF_DAY=0,MINUTE=0,SECOND=0,MILLISECOND=?,ZONE_OFFSET=?,DST_OFFSET=?]
PutTime:TIME:java.util.GregorianCalendar[time=-62167459688550,areFieldsSet=false,areAllFieldsSet=false,lenient=true,zone=sun.util.calendar.ZoneInfo[id="Asia/Calcutta",offset=19800000,dstSavings=0,useDaylight=false,transitions=6,lastRule=null],firstDayOfWeek=1,minimalDaysInFirstWeek=1,ERA=0,YEAR=2,MONTH=11,WEEK_OF_YEAR=?,WEEK_OF_MONTH=?,DAY_OF_MONTH=31,DAY_OF_YEAR=?,DAY_OF_WEEK=?,DAY_OF_WEEK_IN_MONTH=?,AM_PM=0,HOUR=10,HOUR_OF_DAY=10,MINUTE=41,SECOND=51,MILLISECOND=450,ZONE_OFFSET=?,DST_OFFSET=?]
ApplOriginData:CHARACTER:
GroupId:BLOB:[B@485132b4
MsgSeqNumber:INTEGER:1
Offset:INTEGER:0
MsgFlags:INTEGER:0
OriginalLength:INTEGER:-1
|
Please give me your valuable suggestion to us why 3rd flow missing MQRFH2 , and payload data. _________________ Thanks & Regards
Mahesh Mediboyina
WMB Developer |
|
Back to top |
|
 |
smdavies99 |
Posted: Tue Jun 17, 2014 3:34 am Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
There are plenty of examples in this forum ahout using RFH2 Headers.
Stop the 3rd flow and look at the message on the Q BEFORE you read it. RFHUTIL is great for this.
Look at the MQMD and especially the FORMAT parameter.
Then see what is different from the message being read at the Input to Flow 2.
Again RFHUTIL can be used to patch the data in the MQMD and RFH2 headers and send it again.
A little experimentation will help you get this to work correctly. _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions. |
|
Back to top |
|
 |
salvador.wbi |
Posted: Thu Jun 19, 2014 8:40 am Post subject: Reason :D |
|
|
 Novice
Joined: 10 Jul 2009 Posts: 18 Location: Monterrey, Mexico
|
Target MQRFH2 fields are created only if the headers are copied, and the MQRFH2C parser option is not selected on the MQInput node. In all other circumstances, an MQRFH2C field is created on output.  _________________ "The problem with people who have no vices is that generally you can be pretty sure they're going to have some pretty annoying virtues." |
|
Back to top |
|
 |
aggarwal.intouch |
Posted: Thu Jun 19, 2014 11:34 pm Post subject: |
|
|
 Acolyte
Joined: 30 May 2011 Posts: 56 Location: India
|
Try to debug the flow see the message structure before MQ output node. If you could see MQRFH2 headers then follow "Salvador's" suggestion.
If you can't see headers before MQ output node than try to copy RFH2 headers explicitly in your code. It might work. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|