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 » Split the message by specific no.of.records

Post new topic  Reply to topic
 Split the message by specific no.of.records « View previous topic :: View next topic » 
Author Message
vinod_sri
PostPosted: Thu Apr 17, 2008 7:54 am    Post subject: Split the message by specific no.of.records Reply with quote

Apprentice

Joined: 10 Dec 2003
Posts: 42
Location: Atlanta

Hello,

I have a task to split a bulk message that consists of 100's of transactions (in TDS format) into small messages with 20 transactions per message. Each transaction has a fixed length of 1200 bytes. This shouldn't change after the split. I am able to split the big message into small messages with 1 transaction per message by using the Mapping Node. Can you please provide me a solution for this? this is sort of urgent.

Thanks

Vinod.
Back to top
View user's profile Send private message Send e-mail
jefflowrey
PostPosted: Thu Apr 17, 2008 8:34 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

We don't do "solutions".

Use a loop and propagate.

Or a submap.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
vinod_sri
PostPosted: Fri Apr 18, 2008 12:10 pm    Post subject: Split the message by specific no.of.records Reply with quote

Apprentice

Joined: 10 Dec 2003
Posts: 42
Location: Atlanta

Jeff,

Thanks for the reply. Basically I am just mofifying the existing flow. As I mentioned earlier, the big message consists of multiple transactions.
I used the mapping Node to split the large message and created one small message for each transaction. But, it takes one commit for each transaction. Now, I am planning to split the large message on 20 transactions a message basis. But I have no clue how we can acheive this in the Mapping Node. Any suggestions, Please

Thanks

Vinod
Back to top
View user's profile Send private message Send e-mail
jefflowrey
PostPosted: Fri Apr 18, 2008 12:14 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Map node has a "for" loop.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
kimbert
PostPosted: Sat Apr 19, 2008 12:47 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Why not use a Compute or JavaCompute node? The Mapping node is best for structured data - you're trying to manipulate a BLOB.
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 » Split the message by specific no.of.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.