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 » Splitting a BLOB stream with variable length records

Post new topic  Reply to topic
 Splitting a BLOB stream with variable length records « View previous topic :: View next topic » 
Author Message
foxman
PostPosted: Sun Oct 05, 2008 12:16 pm    Post subject: Splitting a BLOB stream with variable length records Reply with quote

Newbie

Joined: 04 Oct 2008
Posts: 3

I have a message flow that inputs a large data stream that contains multiple variable length records via a tcpipclientreceive node. I created an MRM message definition that defines each record. I've verified that the MRM is correct, however, the output from the tcpip node is only one record after the connection closes. I was hoping that it would create multiple records as the data arrived at the node. Any suggests on how I might be able to do that. I modified the MRM to declare the group as repeating, but that creates a large message that contains multiple parsed records, and is sent to the output terminal only after the connection is closed.
Back to top
View user's profile Send private message
kimbert
PostPosted: Mon Oct 06, 2008 12:51 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

If you're on v6.1, you need to read this: http://publib.boulder.ibm.com/infocenter/wmbhelp/v6r1m0/topic/com.ibm.etools.mft.doc/ac67300_.htm

If not, you need to read this: http://www-128.ibm.com/developerworks/websphere/library/techarticles/0505_storey/0505_storey.html
Back to top
View user's profile Send private message
foxman
PostPosted: Mon Oct 06, 2008 7:51 am    Post subject: Splitting a BLOB stream with variable length records Reply with quote

Newbie

Joined: 04 Oct 2008
Posts: 3

I did read the InfoCenter, and according to the information about the TCPIPClientReceive node if I specify a Record detection option of Parsed Record Sequence the node will propagate each recognized record as a separate message. The problem is that it only propagates one record. Is there some other option I need to set?
Back to top
View user's profile Send private message
kimbert
PostPosted: Mon Oct 06, 2008 10:49 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

OK - you didn't say that you were using Parsed Record Sequence. That's definitely the correct approach.
Can you give a little more info about your message. Which format ( CWF / TDS / XML )? What setting did you choose for 'Parsed Record Sequence'?
Back to top
View user's profile Send private message
foxman
PostPosted: Mon Oct 06, 2008 4:00 pm    Post subject: Splitting a BLOB stream with variable length records Reply with quote

Newbie

Joined: 04 Oct 2008
Posts: 3

The format was CWF. I created from the message definition from scratch. It basically looks like the following:

Action_Msg
timestamp string[16]
data_type int
sequence_number int
compressed_size int
decompressed_size int
compressed_data hexBinary (size is reference length)

I didn't set any other values on the Records and Elements properties for the Input Node.
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 » Splitting a BLOB stream with variable length records
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.