ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » JMSOutput node and Msd value

Post new topic  Reply to topic
 JMSOutput node and Msd value « View previous topic :: View next topic » 
Author Message
international
PostPosted: Thu May 31, 2012 1:44 am    Post subject: JMSOutput node and Msd value Reply with quote

Apprentice

Joined: 19 Jun 2006
Posts: 37

Hi.
I'm using the MQJMSTransform and JMSOutput nodes to write a JMS message. The message body is in the XMLNSC domain and is string format, so, as expected, the MQJMSTransport node output includes a PayloadType of 'jms_text'. However, the JMSOutput node writes a message with an Msd of 'XMLNSC'.
Is there any way to force the RFH2.mcd.Msd value to be 'jms_text'?

MQJMSTransform output tree and JMSOutput MQ message details are shown below.

This is WMB v6.0 (soon to be v7, but not soon enough ! )

cheers
Tony

Relevant MQJMSTransform output:

( ['MQROOT' : 0x805580392]
(0x01000000):Properties = ( ['MQPROPERTYPARSER' : 0x903324696]
(0x03000000):MessageSet = '' (CHARACTER)
(0x03000000):MessageType = '' (CHARACTER)
(0x03000000):MessageFormat = '' (CHARACTER)
(0x03000000):Encoding = 273 (INTEGER)
(0x03000000):CodedCharSetId = 819 (INTEGER)
(0x03000000):Transactional = FALSE (BOOLEAN)
(0x03000000):Persistence = FALSE (BOOLEAN)
(0x03000000):CreationTime = GMTTIMESTAMP '2012-05-31 09:17:42.400' (GMTTIMESTAMP)
(0x03000000):ExpirationTime = GMTTIMESTAMP '2012-05-31 09:17:44.400276' (GMTTIMESTAMP)
(0x03000000):Priority = 0 (INTEGER)
(0x03000000):ReplyIdentifier = X'000000000000000000000000000000000000000000000000' (BLOB)
(0x03000000):ReplyProtocol = 'MQ' (CHARACTER)
(0x03000000):Topic = NULL
(0x03000000):ContentType = '' (CHARACTER)
)
(0x01000010):JMSTransport = ( ['jms_transport' : 0x902681480]
(0x01000000):Transport_Folders = (
(0x01000000):Message_MetaData = (
(0x01000000):PayloadType = (
(0x02000000): = 'jms_text' (CHARACTER)
)
(0x01000000):MessagePersistence = (
(0x02000000): = '1' (CHARACTER)
)
)
(0x01000000):Header_Values = (
(0x01000000):JMSDestination = (
(0x02000000): = ' ' (CHARACTER)
)
(0x01000000):JMSDeliveryMode = (
(0x03000000):dt = 'i4' (CHARACTER)
(0x02000000): = 1 (INTEGER)
)
(0x01000000):JMSExpiration = (
(0x03000000):dt = 'r8' (CHARACTER)
(0x02000000): = 1338455864400 (INTEGER)
)
(0x01000000):JMSPriority = (
(0x03000000):dt = 'i4' (CHARACTER)
(0x02000000): = 0 (INTEGER)
)
(0x01000000):JMSTimestamp = (
(0x03000000):dt = 'r8' (CHARACTER)
(0x02000000): = 1338455862400 (INTEGER)
)
(0x01000000):JMSMessageID = (
(0x02000000): = '414d5120514d423143555436202020204fc69ee8200cc802' (CHARACTER)
)
(0x01000000):JMSCorrelationID = (
(0x02000000): = '000000000000000000000000000000000000000000000000' (CHARACTER)
)
(0x01000000):JMSReplyTo = (
(0x02000000): = ' ' (CHARACTER)
)
(0x01000000):JMSType = (
(0x02000000): = 'mcd://XMLNSC/' (CHARACTER)
)
(0x01000000):JMSRedelivered = (
(0x03000000):dt = 'boolean' (CHARACTER)
(0x02000000): = FALSE (BOOLEAN)
)
)
(0x01000000):Standard_Properties = (
(0x01000000):JMSXUserID = (
(0x02000000): = 'wmqiuid ' (CHARACTER)
)
(0x01000000):JMSXAppID = (
(0x02000000): = 'WebSphere MQ Client for Java' (CHARACTER)
)
(0x01000000):JMSXDeliveryCount = (
(0x03000000):dt = 'i4' (CHARACTER)
(0x02000000): = 0 (INTEGER)
)
(0x01000000):JMSXGroupID = (
(0x02000000): = '000000000000000000000000000000000000000000000000' (CHARACTER)
)
(0x01000000):JMSXGroupSeq = (
(0x03000000):dt = 'i4' (CHARACTER)
(0x02000000): = 1 (INTEGER)
)
)
)
)
(0x01000000):XMLNSC = ( ['xmlnsc' : 0x969480128]
(0x01000000):Reply = (
(0x03000000):Data = 'reply1' (CHARACTER)
)
)
)


Resultant MQ Message:

*** MQMD - Message Header *********************
MQMD Report 0: 0 (MQRO_COPY_MSG_ID_TO_CORREL_ID),0 (MQRO_DEAD_LETTER_Q),0 (MQRO_NEW_MSG_ID),0 (MQRO_NONE)
MQMD MsgType 8 (MQMT_DATAGRAM)
MQMD Expiry -1
MQMD Feedback 0 (MQFB_NONE)
MQMD Encoding 273: 1 (MQENC_INTEGER_NORMAL),16 (MQENC_DECIMAL_NORMAL),256 (MQENC_FLOAT_IEEE_NORMAL),273 (MQENC_NATIVE)
MQMD CodedCharSetId 819
MQMD Format MQHRF2
MQMD Priority 4
MQMD Persistence 0 (MQPER_NOT_PERSISTENT)

MQMD MessageId (Dump Format):
00000000: 414D 5120 514D 4231 4355 5436 2020 2020 [AMQ QMB1CUT6 ]
00000010: 4FC6 9EE8 200C BC6A [O... ..j]

MQMD CorrelationId (Dump Format):
00000000: 3030 3030 3030 3030 3030 3030 3030 3030 [0000000000000000]
00000010: 3030 3030 3030 3030 [00000000]

MQMD BackoutCount 0
MQMD ReplyToQ

MQMD ReplyToQMgr QMB1CUT6


*Identity Context*
MQMD UserId wmqiuid

MQMD AccountingToken (Dump Format):
00000000: 0531 3037 3231 0000 0000 0000 0000 0000 [.10721..........]
00000010: 0000 0000 0000 0000 0000 0000 0000 0006 [................]

MQMD ApplicationIdentityData

*Origin Context*
MQMD PutApplicationType 6 (MQAT_AIX)
MQMD PutApplicationName DataFlowEngine
MQMD PutDate 2012/05/31
MQMD PutTime 10:17:42
MQMD ApplicationOriginData

MQMD GroupId (Dump Format):
00000000: 0000 0000 0000 0000 0000 0000 0000 0000 [................]
00000010: 0000 0000 0000 0000 [........]

MQMD MsgSeqNumber 1
MQMD Offset 0
MQMD MsgFlags 0: 0 (MQMF_NONE),0 (MQMF_SEGMENTATION_INHIBITED)
MQMD OriginalLength -1

*** RFH Version 2 Header (MQRFH2) *************
MQRFH2 StrucId RFH
MQRFH2 Version 2
MQRFH2 StrucLength 208
MQRFH2 Encoding 273: 1 (MQENC_INTEGER_NORMAL),16 (MQENC_DECIMAL_NORMAL),256 (MQENC_FLOAT_IEEE_NORMAL),273 (MQENC_NATIVE)
MQRFH2 CodedCharSetId 1208
MQRFH2 Format MQSTR
MQRFH2 Flags 0
MQRFH2 NameValueCcsid 1208

RFH v2 NameValue pair 1. Size is 28 bytes:
00000000: [<mcd><Msd>XMLNSC</Msd></mcd>]

RFH v2 NameValue pair 2. Size is 136 bytes:
00000000: [<jms><Dst>queue://QMB1CUT6/T1</Dst><Tms>1338455862]
00000050: [602</Tms><Cid>000000000000000000000000000000000000]
00000100: [000000000000</Cid><Dlv>1</Dlv></jms>]

*** Message 7 data ****************************
Data Length: 34
Data:
00000000: [<Reply><Data>reply1</Data></Reply>]
Back to top
View user's profile Send private message
mqjeff
PostPosted: Thu May 31, 2012 1:46 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

...

Did you try it on v7?

I suspect you'll need to open a PMR on this, and I suspect you'll get different results at v7 than at v6 (and I *do* hope you mean v6.1, not 6.0..... )
Back to top
View user's profile Send private message
international
PostPosted: Thu May 31, 2012 1:48 am    Post subject: Reply with quote

Apprentice

Joined: 19 Jun 2006
Posts: 37

Tragically, I mean 6.0
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » JMSOutput node and Msd value
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.