Author |
Message
|
acascante |
Posted: Mon Dec 03, 2007 1:08 pm Post subject: Grouping |
|
|
Newbie
Joined: 03 Dec 2007 Posts: 3 Location: Costa Rica
|
Tengo la siguiente situacion, necesito crear un flujo q a partir de la solicitud de una Aplicacion A, puede ir a una o varias aplicaciones (de 1 a 5), todas las aplicaciones contestan en grouping. Yo tengo que dar una única respuesta a la aplicacion A. Como puedo hacer esto???
Tengo Broker version 6, ya cree un flujo grouping pero con solo una aplicacion, con el MQGET, lo trabajo haciendo un maneo del ultimo mensaje del grupo, pero en este caso puedo tener hasta 5 ultimos mensajes de grupo (1 por cada aplicacion) |
|
Back to top |
|
 |
fjb_saper |
Posted: Mon Dec 03, 2007 7:18 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
En Ingles Por Favor...  _________________ MQ & Broker admin |
|
Back to top |
|
 |
acascante |
Posted: Tue Dec 04, 2007 5:43 am Post subject: |
|
|
Newbie
Joined: 03 Dec 2007 Posts: 3 Location: Costa Rica
|
I have the following situation, I need to create a flow that from the request of an Application A, can go to one or several applications (from 1 to 5), all the applications answer in grouping. I must give only one answer to application A. How i can do this?
I have Broker version 6, already creates a flow grouping but with a single application, with the MQGET, it work doing a handling of last message of the group, but in this case I can have up to 5 last messages of group (1 by each application)
Greetings!!! |
|
Back to top |
|
 |
Vitor |
Posted: Tue Dec 04, 2007 5:45 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
How about using aggrigation to consolidate the 1-5 reply messages? _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
jefflowrey |
Posted: Tue Dec 04, 2007 6:02 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Are you getting many replies from one app, in a logical group? or one replies from each app?
If the first one, then just use MQGet to load each message into a different part of the message tree.
If the second one, then use Aggregation. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
acascante |
Posted: Tue Dec 04, 2007 6:09 am Post subject: Grouping |
|
|
Newbie
Joined: 03 Dec 2007 Posts: 3 Location: Costa Rica
|
I am going to receive several messages of each application, but according to some parameters the request can go to one aplicaion, to two or to all, thus I cannot use aggregation |
|
Back to top |
|
 |
Vitor |
Posted: Tue Dec 04, 2007 6:15 am Post subject: Re: Grouping |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
acascante wrote: |
according to some parameters the request can go to one aplicaion, to two or to all, thus I cannot use aggregation |
But if you don't know how many replies you're expecting (from a business/data perspective) how can you ever know when you've got them all?
And I still don't see how variable numbers of requests prevents the use of aggregation.  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
|