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 IndexIBM MQ API SupportRead Header and Content from MQMessgae

Post new topicReply to topic
Read Header and Content from MQMessgae View previous topic :: View next topic
Author Message
jahicm
PostPosted: Sat Jul 16, 2022 12:54 am Post subject: Read Header and Content from MQMessgae Reply with quote

Newbie

Joined: 16 Jul 2022
Posts: 1

Hi,

I'm working on development of an MQ based app and we have issue with header/body separation.

I would like to ask if there is a way to read header and the body from the MQ Message in 2 separate Blobs or byte arrays in Java?

Similar issue in reverse, what is the easiest way of creating new MQMessage from the header and the body Blobs.

Thanks
M.J
Back to top
View user's profile Send private message
hughson
PostPosted: Sun Jul 17, 2022 2:46 am Post subject: Reply with quote

Padawan

Joined: 09 May 2013
Posts: 1831
Location: Bay of Plenty, New Zealand

When you use the word "header" do you mean the MQMD Message Descriptor, or do you mean the section that contains message properties, usually seen starting with the eyecatcher RFH if you try to look at it as a string?

If you could demonstrate your current issue with an example, it might make it clearer what your question is.

Cheers,
Morag
_________________
Morag Hughson @MoragHughson
IBM MQ Technical Education Specialist
Get your IBM MQ training here!
MQGem Software
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:
Post new topicReply to topic Page 1 of 1

MQSeries.net Forum IndexIBM MQ API SupportRead Header and Content from MQMessgae
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.