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 » WMB Aggregation Subflow

Post new topic  Reply to topic
 WMB Aggregation Subflow « View previous topic :: View next topic » 
Author Message
mustang
PostPosted: Tue Feb 07, 2006 1:00 pm    Post subject: WMB Aggregation Subflow Reply with quote

Acolyte

Joined: 07 Feb 2006
Posts: 72

A J2EE developer created a service using the WAS Service Integration
Bus features. I was asked to create a synchronous request/response
subflow client that uses the service by writing a request to its JMS
queue. This subflow would then be used in any message flow that wants
to be a client of that service.

I wrote a subflow using the aggregation fan-in fan-out flow design.
The fan-in and fan-out flow are in the same message flow. The flow
works fine in the lab. I wrote a message flow that calls the subflow,
and when a message is placed on the MQInput queue, it goes through and uses the subflow and JMS service just fine. When I walk it through in
debug mode, it behaves just as you would hope it would. Our concern is
although it works fine in a lab, how will it work in a production
environment? We are having a difficult time understanding how the
fan-in flow knows which original request to match the response to. The
documentation mentions the "ReplyIdentifier", but that gets modified as
it goes through various stages in the request/reply cycle (not the
least of which is using the JMS service). Yet, despite this, the
fan-in flow matches the response to the aggregation control message.
It works, and we don't know why, and that is what concerns us. What
happens if many messages are coming through? Will it be a bottleneck?
Will the fan-in really not care which request the response belongs to,
and just send it FIFO? We will try to test this out, but we really
would like to understand better how it works.

We are on, and this was written in, version 5. Eventually, we will be
on version 6.

Thank you very much.
Back to top
View user's profile Send private message
aq
PostPosted: Wed Feb 08, 2006 4:37 am    Post subject: Reply with quote

Apprentice

Joined: 20 Dec 2001
Posts: 47

Quote:
We are having a difficult time understanding how the fan-in flow knows which original request to match the response to.

Response to request mapping is done by using MsgId and CorrelationId (in MQMD) just like in normal request-reply messaging scenario. Several messages from requesting fan-out flow are "belonging" to same "ReplyGroupId" which is included in control message (or so I it remember ... )

Make simple test where you control when the replies are sent back to the fan-in flow. Run the fan-out flow and check what rows are inserted in BAGGREGATE -table of brokers WBRKBKDB -database, check especially AGGREGATENAME, REPLYGROUPID AND REPLYID -fields.

Now send the replies to the fan-in flow, compare CorrelationId values of reply messages to the rows that were in BAGGREGATE -table.


Quote:
The documentation mentions the "ReplyIdentifier" ...

The ReplyIdentifier in fan-out flow can be used for example to send one of the reply from the fan-out flow to fan-in flow (for example original request data for timeout cases)

Quote:
What happens if many messages are coming through? Will it be a bottleneck?

Multiple aggregate flows should run just fine concurrently, but it should remembered that because aggregation uses brokers DB (BAGGREGATE -table) the brokers database perhaps might need some extra " tuning" (disable next key locking in DB2 for example).


Quote:
… Eventually, we will be on version 6.

You have probably checked the WMB 6 help, for example using control messages are no longer necessary or recommended in version 6 ...
Back to top
View user's profile Send private message
mustang
PostPosted: Wed Feb 08, 2006 6:00 am    Post subject: Reply with quote

Acolyte

Joined: 07 Feb 2006
Posts: 72

Thank you very much for your input on this. This is exactly what I was looking for.
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 » WMB Aggregation Subflow
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.