MQ 헤더의 ApplIdentityData에서 정보를 추출하려고합니다. 그러나 소비자 측면에서는 ApplIdentityData에 해당하는 JMS 헤더가 표시되지 않습니다. 로그에서 추적을했는데 ApplIdentityData와 관련된 정보를 찾지 못했습니다.MQ 헤더 - 식별자 컨텍스트 - ApplIdentityData
Apache Camel을 사용하여 MQ를 읽고 Queue Message를 처리하고 있습니다. 낙타 추적 로그에서, 나는 아무 것도 ApplIdentityData로 찾지 못한다. 저 좀 도와 주 시겠어요 ?
StrucId : 'MD ' Version : 2
Report : 0 MsgType : 8
Expiry : -1 Feedback : 0
Encoding : 273 CodedCharSetId : 819
Format : 'MQSTR '
Priority : 0 Persistence : 1
MsgId : X'414D51204445544C4437513120202020594010C12E08AD2B'
CorrelId : X'000000000000000000000000000000000000000000000000'
BackoutCount : 0
ReplyToQ : ' '
ReplyToQMgr : 'etlQ07 '
** Identity Context
UserIdentifier : ' '
AccountingToken :
X'0000000000000000000000000000000000000000000000000000000000000000'
ApplIdentityData : 'TEST_HEADER_BADRI_DEC5'
** Origin Context
PutApplType : '6'
'
PutDate : '20171205' PutTime : '08285663'
ApplOriginData : ' '
GroupId : X'414D51204445544C4437513120202020594010C12E08AD2C'
MsgSeqNumber : '1'
Offset : '0'
MsgFlags : '1'
OriginalLength : '-1'
낙타 파일 :
<!-- Recs Prem Cash MQ Configuration START -->
<camel:route id="rp-cash-mq-route">
<camel:setHeader headerName="CamelCharsetName"><camel:constant>UTF-8</camel:constant></camel:setHeader>
<camel:setHeader headerName="endpoint.error.folder"><camel:constant>file:///usr/local/clo/data/tlm/fuse/archive/failed</camel:constant></camel:setHeader>
<camel:setHeader headerName="route.accessAreaId"><camel:simple resultType="Long">1</camel:simple></camel:setHeader>
<camel:setHeader headerName="mi-endpoint"><camel:constant>st-csv-in</camel:constant></camel:setHeader>
<camel:setHeader headerName="CamelFileName"><camel:simple>${header.JMS_IBM_MQMD_ApplIdentityData}</camel:simple></camel:setHeader>
<camel:to uri="direct:st-csv-in"/>
</camel:route>
<!-- Recs Prem Cash MQ Configuration END -->
메시지 AppliDentityData 값을 가져 오는 방법에 대해 낙타 설정을 제공 할 수 있습니까? – JoshMc
에 첨부 된 Camel File ... 아래는 MQMD를 활성화했지만 여전히 각 JMS 값을 가져 오지 못하는 부분입니다 \t \t \t <생성자 인수 값은 = "$ {jms.queue}"/> \t \t <속성 이름 = "MQMDReadEnabled"값 = "진정한"/> \t –
과 시도 '<속성 이름 = "mdReadEnabled" value = "true"/>', 그것이 작동한다면 나는 당신이 받아들이도록 빠른 답을 쓸 것입니다. – JoshMc