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 » How write a flow which generate n message from one input msg

Post new topic  Reply to topic
 How write a flow which generate n message from one input msg « View previous topic :: View next topic » 
Author Message
psn
PostPosted: Sun Jul 04, 2004 11:07 am    Post subject: How write a flow which generate n message from one input msg Reply with quote

Disciple

Joined: 30 Oct 2002
Posts: 193
Location: France

Hi,

I search a way to generate n messages from one input message . The idea could be wit propagate but when n is big the transaction is to big !!!

Have an idea ?

PSN
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Sun Jul 04, 2004 11:10 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Suggestion 1: Don't use Transactions

Suggestion 2: Use the supposed ability to set transactionality in a DestinationList to break up your output messages into smaller transactions.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
kirani
PostPosted: Sun Jul 04, 2004 1:25 pm    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

How many msgs are u planning on propagating and what is the approx output message lenght ?
_________________
Kiran


IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries

Back to top
View user's profile Send private message Visit poster's website
psn
PostPosted: Sun Jul 04, 2004 10:54 pm    Post subject: Reply with quote

Disciple

Joined: 30 Oct 2002
Posts: 193
Location: France

It is for a performance test the messages are 1.5 Ko big and must be persistent...

PSN
Back to top
View user's profile Send private message
kirani
PostPosted: Sun Jul 04, 2004 11:25 pm    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

Propogating 1.5K size message should not be a problem. What is your input message size and how many messages you will propagate in one UOW?
_________________
Kiran


IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries

Back to top
View user's profile Send private message Visit poster's website
psn
PostPosted: Mon Jul 05, 2004 12:06 am    Post subject: Reply with quote

Disciple

Joined: 30 Oct 2002
Posts: 193
Location: France

2000000 msg

PSN
Back to top
View user's profile Send private message
shanson
PostPosted: Mon Jul 05, 2004 5:11 am    Post subject: Reply with quote

Partisan

Joined: 17 Oct 2003
Posts: 344
Location: IBM Hursley

Two things:

a) As you go through the input message, you need to delete the parts you have finished with. You can do this by first copying the input message to the local environment before it is parsed, to make the message mutable. Then you just access the copy in the local environment instead, build up the output message, use PROPOGATE to send it down the flow, then use DELETE to remove the finished portion of the copy before building the next ouput message. Doing this, coupled with the fact that the broker will only parse the bits of the message it needs to, means you only ever have a portion of the input message tree in memory at a given time.

b) MQ is optimized for up to about 100 messages in a UOW.
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 » How write a flow which generate n message from one input msg
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.