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 » Urgent -Plz Help : Msg flow Design (using Aggregation nodes)

Post new topic  Reply to topic
 Urgent -Plz Help : Msg flow Design (using Aggregation nodes) « View previous topic :: View next topic » 
Author Message
MM_MQ_devp
PostPosted: Tue Dec 06, 2005 9:50 am    Post subject: Urgent -Plz Help : Msg flow Design (using Aggregation nodes) Reply with quote

Newbie

Joined: 06 Dec 2005
Posts: 2

Hi Ppl,

I am a newbie and i have very recently started using the MQ product stack ( MQ Series, MQ Broker, MQ Workflow ).

In one of the learning exercises, i was asked to create a central broker instance which will send messages to clients which are located in diff parts of the world by putting it on a MQ Q. The client will then transform these msgs and put them on a diff MQ Q. The Broker will then recieve transformed msgs from these clients. The aggregate msg flow puts the message on queue which is an i/p queue for another subflow. This subflow does the work of a request / response and interacts with the client.

I just have to send the same msg to all the clients without any need for splitting the message or extracting any details , but i need to measure the time it takes for the message to reach the client and return back to the broker. I also need to set a time out , after which the broker will not wait for any more msgs to come.

I am using Aggregate nodes for this task. I basically have 3 to 5 clients to
which i have to send the msg.

I am getting a problem before my request / response subflow. The msg is put on the queue for only 2 of the parallel msg flows after which an exception is thrown.

I am getting an exception "Message Id is not unique" after just 2 of the parallel msg flows are processed. I checked the msg id and it is the same in both the parallel flows. I traced the flow using the flow debugger.

I also checked out the Airline sample , which is working fine although the same msg id is generated in both the parallel flows.

My question is

Is it ok to use Aggregate nodes for this requirement ?

If so, then how do i resolve this "Message Id is not unique" exception ?

Please reply at the earliest.

Thanks & Regards,

Mat
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Tue Dec 06, 2005 10:02 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

You need to create a unique message id for each request your aggregate flow sends out.

This can be done by utilizing the properties of the MQOutput node you use to send the request message.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
MM_MQ_devp
PostPosted: Tue Dec 06, 2005 10:07 am    Post subject: Reply with quote

Newbie

Joined: 06 Dec 2005
Posts: 2

Thanks for your reply Jeff,

But then how is the Airline sample, working fine without generating unique msg id 's ? It has similar functionality and msg flows.
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 » Urgent -Plz Help : Msg flow Design (using Aggregation nodes)
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.