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 » Message Broker Parallel Processing

Post new topic  Reply to topic
 Message Broker Parallel Processing « View previous topic :: View next topic » 
Author Message
sankarD
PostPosted: Sun Jan 15, 2012 10:57 pm    Post subject: Message Broker Parallel Processing Reply with quote

Newbie

Joined: 24 Nov 2010
Posts: 7

Hi Everyone,

We have one of the requirement scenario like this.

In a Message flow we need to invoke two web services at a time, combine the response form those two services and generate a aggregate message.

We can implement the parallel processing using aggregate nodes in Message Broker, If we are using aggregate nodes we need to depend on Reply Queue mechanism, With out using temporary queues will be there be any other options to achieve Parallel processing in Message Broker version 7.

Can some one share your opinions on this how to achieve Parallel processing in Message Broker.


Thanks in advance !!!
Back to top
View user's profile Send private message
cociu_2012
PostPosted: Sun Jan 15, 2012 11:57 pm    Post subject: Re: Message Broker Parallel Processing Reply with quote

Acolyte

Joined: 06 Jan 2012
Posts: 72

sankarD wrote:
Hi Everyone,

We have one of the requirement scenario like this.

In a Message flow we need to invoke two web services at a time, combine the response form those two services and generate a aggregate message.

We can implement the parallel processing using aggregate nodes in Message Broker, If we are using aggregate nodes we need to depend on Reply Queue mechanism, With out using temporary queues will be there be any other options to achieve Parallel processing in Message Broker version 7.

Can some one share your opinions on this how to achieve Parallel processing in Message Broker.


Thanks in advance !!!


Hello,

there is no such thing as "parallel processing" in WMB. (I haven't worked with WMB 7 yet, but I read changelogs and I haven't seen this feature, and frankly It's even stupid to assume that broker will ever do that). The only parallel processing you can get is http://publib.boulder.ibm.com/infocenter/wmbhelp/v7r0m0/index.jsp?topic=%2Fcom.ibm.etools.mft.doc%2Fbz90180_.htm&resultof=%22aggregate%22%20%22aggreg%22%20, but that's not your question.

Info Center has a good page about aggregation : http://publib.boulder.ibm.com/infocenter/wmbhelp/v7r0m0/index.jsp?topic=%2Fcom.ibm.etools.mft.doc%2Fbb45000_.htm, but that's also not good for you.

You really should push back the requirements, and say that calling 2 WS at the same time is nearly impossible, and probably that's just your impression that you should call them at the same time.

What's wrong calling WS's "sequential" store ( DB, Environment, what suits you best) each call, and compose your final response.
Back to top
View user's profile Send private message
zpat
PostPosted: Mon Jan 16, 2012 12:30 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

If your aim is to overlap processing to reduce elapse time, there any several ways you could do this by invoking another flow asynchronously.

You have already mentioned using MQ queues and I don't see the problem with this approach. If you don't want to use temporary queues then use the standard request/reply model whereby you get your own reply matching on correlid on a shared queue.

So you could fire off two requests using MQ to other flows that do the WS calls and return the response in the same reply queue (setting the reply message correlid to the request msgid). In the main flow you have two MQGETs which match on correlid to get both replies (or timeout in the attempt).

All this just shows why MQ is better than other protocols like WS. Why not use it end to end? Make sure any messages which are retrieved selectively have an expiry value set to ensure that they don't hang around if marooned.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Mon Jan 16, 2012 6:44 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Use aggregation in the main flow.
Use 2 different flows to do the WS calls.

This should be textbook aggregation pattern
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Message Broker Parallel Processing
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.