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 IndexGeneral IBM MQ SupportIdentifying ByteMessage or JMSTextMessage

Post new topicReply to topic
Identifying ByteMessage or JMSTextMessage View previous topic :: View next topic
Author Message
krypton
PostPosted: Wed Aug 22, 2018 5:27 am Post subject: Identifying ByteMessage or JMSTextMessage Reply with quote

Disciple

Joined: 14 Mar 2010
Posts: 159

Hi, I am managing MQ server and we have been told by the receiving application that the message coming from MQ queue is "JMSTextMessage' whereas they are expecting the message as "ByteMessage".

I browsed the MQMD header of the message which is given below and I could not see anywhere where it says it is ByteMessage or JMSTextMessage.

Am I missing something here?



MQGET of message number 5, CompCode:0 Reason:0
****Message descriptor****

StrucId : 'MD ' Version : 2
Report : 0 MsgType : 8
Expiry : -1 Feedback : 0
Encoding : 273 CodedCharSetId : 1208
Format : 'MQSTR '
Priority : 4 Persistence : 1
MsgId : X'414D51204541495052475731202020203413545B26173820'
CorrelId : X'414D51204541495052475731202020203413545B26173820'
BackoutCount : 0
ReplyToQ : 'GET_HISTORY_OF_TXN '
ReplyToQMgr : 'IBMMQQMGR1 '
** Identity Context
UserIdentifier : 'mqabcd '
AccountingToken :
X'0000000000000000000000000000000000000000000000000000000000000000'
ApplIdentityData : 'JMSListenerApplIdentityData '
** Origin Context
PutApplType : '28'
PutApplName : 'MQIIB '
PutDate : '20180725' PutTime : '06122459'
ApplOriginData : ' '

GroupId : X'000000000000000000000000000000000000000000000000'
MsgSeqNumber : '1'
Offset : '0'
MsgFlags : '0'
OriginalLength : '-1'

_________________
Dreams are not something which you watch when you are asleep,it is something which doesn't let you sleep.
Back to top
View user's profile Send private message
exerk
PostPosted: Wed Aug 22, 2018 5:36 am Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 5957

Have the receiving application people talk to the sending application people about resolving their issue, which has nothing to do with MQ.
_________________
It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys.

Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Aug 22, 2018 6:00 am Post subject: Re: Identifying ByteMessage or JMSTextMessage Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 25311
Location: Ohio, USA

krypton wrote:
I browsed the MQMD header of the message which is given below and I could not see anywhere where it says it is ByteMessage or JMSTextMessage.

Am I missing something here?




Well sort of.

The format field:

krypton wrote:


Format : 'MQSTR '


A text message is (obviously) a string (MQSTR). A byte message is a binary format (MQNONE). These values get translated by the JMS methods.

As my worthy collegue points out, whoever put this message to the queue formatted it as a JMSText message. If the receiving side want it as a byte message, they need to take this up with the originators.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Display posts from previous:
Post new topicReply to topic Page 1 of 1

MQSeries.net Forum IndexGeneral IBM MQ SupportIdentifying ByteMessage or JMSTextMessage
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.