Author |
Message
|
genestep |
Posted: Fri May 24, 2002 10:16 am Post subject: Urgent !!!!!!!!!!! Help !!!!!!!!!!!! Aggregation Node |
|
|
Apprentice
Joined: 16 Apr 2002 Posts: 43 Location: France
|
Hello,
I have some problem with an aggregate node. In my context i want to use this node to manage a timeout on the reply from one application.
To start the timeout, i generate a dataflows to simulate the call to a second application.
In the reply data flow (i split the fan in and the fan out), i have two problems : the timeout doesn't work (reponse =10s, timeout=2s) and the simulated response from the dataflow always generate answer in the out terminal. I don't know what i do wrong.
Other question about aggregate node : how can i found source code for taxi/hotel example. I have a problem of duplicate msgid behind the aggregatecontrol. I generate a new msgId for one entry but i don't know if it's the good way .
Thank for your answer and sorry for my poor english
Philippe |
|
Back to top |
|
 |
kirani |
Posted: Sun May 26, 2002 12:23 pm Post subject: |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
Philippe,
Make sure you are setting timeout value properly for reply messages. This property must be set on AggregateControl node.
I don't think there is any source code for taxi/hotel example. However, Chapter 6 in Using Control Center book talks about this example. _________________ 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 |
|
 |
genestep |
Posted: Sun May 26, 2002 9:26 pm Post subject: |
|
|
Apprentice
Joined: 16 Apr 2002 Posts: 43 Location: France
|
Hi,
I set, i think, correct value for timeout in Aggregate control. In the control center, they don't speak about the code in compute node before posting request in taxi & hotel queue. I think i need something special in one of the compute node, to manage the duplication of the msgid.
Do you know what is the code in these compute nodes ??
Thx
Philippe |
|
Back to top |
|
 |
mapa |
Posted: Mon May 27, 2002 1:17 am Post subject: IBM Redbook |
|
|
 Master
Joined: 09 Aug 2001 Posts: 257 Location: Malmö, Sweden
|
Hi,
There is an IBM Redbook - sg246579 - Developing Solutions in WMQI that has a chapter about the Aggregator family nodes (chapter 6).
This might be of interest.
Best regards Mapa
www.redbooks.ibm.com |
|
Back to top |
|
 |
suneelsh |
Posted: Mon May 27, 2002 8:38 am Post subject: |
|
|
 Acolyte
Joined: 13 Apr 2002 Posts: 69 Location: Pune,India
|
the code in the compute nodes can be anything....it can be a logic to generate reservation for taxi and hotel. i just added a tag to my xml and generated the headers so that the agg reply reads it and puts it as xml instead of BLOB. but just make sure you donot loose the local destination list as this is required by the agg request and reply resp. you can put your code to duplicate the ids in the compute node, but before the output reply node. |
|
Back to top |
|
 |
genestep |
Posted: Mon May 27, 2002 10:00 am Post subject: |
|
|
Apprentice
Joined: 16 Apr 2002 Posts: 43 Location: France
|
Hi
Thanks for the red book with more details about aggregate node implementation.
But i alway have a problem with msgid duplication (and so it can't write in the database references about requests) => In compute nodes before output, I duplicate the message (set OutputRoot = InputRoot) and the LocalEnvironement AggregateNode informations. Is it necessary to generate a new Id or is it a problem with my configuration or my implementation (i have a request on a distant server and one with internal dataflow)
Thx for your help
Philippe |
|
Back to top |
|
 |
zpat |
Posted: Tue May 28, 2002 12:36 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
Also an aggregation example (in my opinion better, but then I did write it) in another redbook. You can download the flows etc as well.
SG24-6509-00 Websphere MQ Integrator Deployment and Migration
www.redbooks.ibm.com |
|
Back to top |
|
 |
genestep |
Posted: Tue May 28, 2002 2:04 am Post subject: |
|
|
Apprentice
Joined: 16 Apr 2002 Posts: 43 Location: France
|
thx for all your answer. With all redbook, i succeed with the aggregation !!!!
Philippe |
|
Back to top |
|
 |
mapa |
Posted: Tue May 28, 2002 3:17 am Post subject: |
|
|
 Master
Joined: 09 Aug 2001 Posts: 257 Location: Malmö, Sweden
|
My appologies Zpat, didn't remember that book too talked about aggregation.
I haven't tried to use aggregation yet, so I hope that excuses me
Best regards Mapa |
|
Back to top |
|
 |
kirani |
Posted: Tue Jun 04, 2002 8:21 am Post subject: |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
You can do this by designing multistage processing flows. In first stage store messages into Database. When last message arrvies, trigger second stage message flow. This message flow will read all messages belonging to this group from DB and creates single output message. _________________ 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 |
|
 |
|