Posted: Mon Apr 04, 2005 6:09 am Post subject: Message Type Length
Knight
Joined: 20 Sep 2001 Posts: 545 Location: Tampa
Can the length of a MessageTpe be determined prior to it's parsing.
Example:
I have a BLOB coming in with multiple records concatenated together. The firs two bytes of each record indicate the record Type. I would like to read the first two bytes, build the MessageType name from that, query the broker (in some way), get the length of the CWF message subblock, extract that data, and format it to the XML format of that MessageType. After processing. Move on to the next concat message in the BLOB.
What I am trying to do is avoid "hardcoding" the lengths in the ESQL. I know the Broker has the MessageTypes. I am just wondering if I can get to them and ask it's length.
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