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 IndexWebSphere Message Broker SupportHow can I summarize or aggegrate a batch of messages?

Post new topicReply to topic
How can I summarize or aggegrate a batch of messages? View previous topic :: View next topic
Author Message
Paul D
PostPosted: Tue Dec 11, 2001 5:26 pm Post subject: Reply with quote

Master

Joined: 16 May 2001
Posts: 200
Location: Green Bay Packer Country

I'm trying to figure out a way to summarize or aggregrate a group of messages running through MQSI. This is a "batch" file turned into MQ messages that I need to group together and combine down into summarized XML messages. Here's a quick example (omitting XML) to get across the point, I have four messages in my batch:

123,AA,1.00
123,BB,2.00
124,AA,2.00
124,BB,2.00

And want two messages like this as my result, summarizing that numeric field:

123,3.00
124,4.00

Thought about using a database table to hold summarized rows, but what's a good way to get those out? I can figure on having an EOF type message to mark the end of the batch, so that might help trigger off another flow. Maybe use the MQGet node? I know I might be asking MQSI to do something it's not designed to do, I'm just looking for options.

Thanks in Advance!!!
Back to top
View user's profile Send private message Visit poster's website
NickB
PostPosted: Wed Dec 12, 2001 3:26 am Post subject: Reply with quote

Centurion

Joined: 20 May 2001
Posts: 107
Location: Zurich Financial Services

You could try using the Aggregator plug-in node which is available as support pac IA72.

Back to top
View user's profile Send private message
cronydude
PostPosted: Fri Dec 14, 2001 3:21 am Post subject: Reply with quote

Voyager

Joined: 11 Nov 2001
Posts: 85
Location: US

hi dix,
U can get nodes for aggregating messages with MQSI Version 2.1 released around 27th Nov.Check out.

regards
crony
Back to top
View user's profile Send private message
zpat
PostPosted: Fri Dec 14, 2001 8:45 am Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5669
Location: UK

WMQI 2.1 (and the support Pac) only aggregate messages that were initially generated in a message flow.

If the messages come in from elsewhere without the "fan out" being started from MQSI (and therefore recorded) you can't use the Aggregation nodes to detect when they have all arrived.

In this case you would probably want a "roll your own" method using a database record and compute node to decide when to issue the summary message.
Back to top
View user's profile Send private message
Display posts from previous:
Post new topicReply to topic Page 1 of 1

MQSeries.net Forum IndexWebSphere Message Broker SupportHow can I summarize or aggegrate a batch of messages?
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.