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 » Create OutputRoot from BLOB?

Post new topic  Reply to topic
 Create OutputRoot from BLOB? « View previous topic :: View next topic » 
Author Message
wischlei
PostPosted: Thu Nov 10, 2005 4:57 am    Post subject: Create OutputRoot from BLOB? Reply with quote

Novice

Joined: 11 Feb 2004
Posts: 21
Location: Germany

Hi

Is there a way to create the full OutputRoot from a BLOB ?
I'd like to store messages in a database and be able to replay them later , e.g. when an error condition has been fixed.
_________________
Winfried Schleipen
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Nov 10, 2005 5:02 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

ASBITSTREAM

CREATE...PARSE
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
wischlei
PostPosted: Thu Nov 10, 2005 5:13 am    Post subject: Reply with quote

Novice

Joined: 11 Feb 2004
Posts: 21
Location: Germany

Hi

thanks for the quick reply, but I think you did not quite get my point.
I want to recreate the full message including MQMD and all other headers from a blob that I created from blbMsg = ASBITSTREAM(InputRoot).
Is there a way the recreate that InputRoot later on from the blbMsg read from a database and e.g. send in an element of an XML message?
<msg>
<fullMsgIncludingMQMD>....</...>
</msg>

???
_________________
Winfried Schleipen
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Nov 10, 2005 5:18 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

CREATE...PARSE

SET OutputRoot.MQMD.Format = ...
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
wischlei
PostPosted: Thu Nov 10, 2005 6:56 am    Post subject: Create OutputRoot from BLOB? Reply with quote

Novice

Joined: 11 Feb 2004
Posts: 21
Location: Germany

Hi

I managed to parse the MQMD from the BLOB. But then I do not know which headers to parse next (there might be several, e.g MQIIH and MQFRH2 and in case of MQIIH the format is set to MQIMS thus not showing me that an MQRFH2 is following).

Is there any solution to that problem (I would appreciate a bit more information in the answers if possible)?
_________________
Winfried Schleipen
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Nov 10, 2005 7:01 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

MQ headers always indicate the format of the next section of the message, as far as I know.

Thus, if you find that the MQMD format is MQIH, then the next section of the message should be parseable as an MQIH header. If that header indicates a format of MQRFH2, then the next section after the MQIH should be an MQRFH2.
_________________
I am *not* the model of the modern major general.
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 » Create OutputRoot from BLOB?
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.