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 » Can I spawn a thread for parallel processing in a flow?

Post new topic  Reply to topic
 Can I spawn a thread for parallel processing in a flow? « View previous topic :: View next topic » 
Author Message
asalema
PostPosted: Wed Sep 27, 2006 3:05 pm    Post subject: Can I spawn a thread for parallel processing in a flow? Reply with quote

Apprentice

Joined: 05 May 2003
Posts: 35

Hi All,

We need to perform auditing in our message flow by dumping the message on a persistent audit queue as part of the main flow. However, because this audit process may take a long time and we may have to do it in multiple places along the main flow, we are looking for a way to do it in parallel with the main flow.

So, is there a way to spawn a thread or invoke a parallel processing as part of a flow?.

I know that we can use the "AdditionalInctances" property of the flow to add parallel flow instances, but our main concern is to shorten the time spent per each transaction and we don't want the auditing to have direct effect on this time.

Regards,
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Sep 27, 2006 3:28 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

You don't get parallel processing in Broker within a single flow.

You have two basic options for auditing.

One, write an auditing message flow that processes messages from a queue and does stuff. Then "instrument" all of your flows to include a node or set of nodes that uses an MQOutput node to send data to the audit flow.

Two. In Version 6, FP1, there is a new broker "user exit" that you can take advantage of. It will allow you to non-invasively react to every single invocation of an *Input node, or to every single invocation of any node at all. The User Exit for Broker can only currently be written in C. It may be best to use this exit to "mirrorflow" your messages onto another queue, for processing by the same kind of audit recording flow as from option one.
_________________
I am *not* the model of the modern major general.
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 » Can I spawn a thread for parallel processing in a flow?
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.