Author |
Message
|
akil |
Posted: Fri Aug 28, 2015 10:59 pm Post subject: IIB9: RouteToLabel |
|
|
 Partisan
Joined: 27 May 2014 Posts: 338 Location: Mumbai
|
Hi
Is there a limit to the number of labels that can be present in a flow ? Can it have 50, 100 , 200 etc? _________________ Regards |
|
Back to top |
|
 |
smdavies99 |
Posted: Fri Aug 28, 2015 11:05 pm Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
The most I've used is 20 and that was with V5/V6.
If you really want to know (and not from some guys on the internet) then raise a PMR and get the official answer. _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions. |
|
Back to top |
|
 |
fjb_saper |
Posted: Sat Aug 29, 2015 1:43 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Also please consider the maintainability and testing when having a lot of targets for route to Label... + memory implications etc... _________________ MQ & Broker admin |
|
Back to top |
|
 |
akil |
Posted: Sat Aug 29, 2015 4:12 am Post subject: |
|
|
 Partisan
Joined: 27 May 2014 Posts: 338 Location: Mumbai
|
smdavies99 wrote: |
The most I've used is 20 and that was with V5/V6.
If you really want to know (and not from some guys on the internet) then raise a PMR and get the official answer.
|
Ok, will raise a PMR..
fjb_saper wrote: |
Also please consider the maintainability and testing when having a lot of targets for route to Label... + memory implications etc... |
The scenario is to call an external service on the completion of a flow. The external service to be called varies by the customer, and there could be some 100 odd customers.
Hence the question.. _________________ Regards |
|
Back to top |
|
 |
smdavies99 |
Posted: Sat Aug 29, 2015 10:02 pm Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
akil wrote: |
The scenario is to call an external service on the completion of a flow. The external service to be called varies by the customer, and there could be some 100 odd customers.
|
And the post external service processing differs for each customer?
And the external calls are totally different?
If might be better to look as some sort of pattern in the services and then
create separate flows for service types and call them using MQ in a request/reply basis.
The more you can 'commodify' the better (IMHO) _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions. |
|
Back to top |
|
 |
akil |
Posted: Mon Aug 31, 2015 7:13 am Post subject: |
|
|
 Partisan
Joined: 27 May 2014 Posts: 338 Location: Mumbai
|
Yeah.. the WSDL's are different, the payloads are different, the way to decode the reply is different ..
We are attempting using XSL's to create the requests, that'll help us use a single sub-flow , with different XSL names ( as that can be set dynamically via the LE ) ..
Decoding the reply, to figure out whether the reply indicates a success or a failure, will require some sort of ESQL or JCN code.. I've not been able to figure out how to specify the the ESQL module or Java module dynamically...and so the fall-back on RouteToLabel.. _________________ Regards |
|
Back to top |
|
 |
mqjeff |
Posted: Mon Aug 31, 2015 7:29 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
The reply should have a unique root element name, even if it's only the namespace that's unique.
Based on that you can call an appropriate routine to do process the reply. _________________ chmod -R ugo-wx / |
|
Back to top |
|
 |
akil |
Posted: Mon Aug 31, 2015 9:12 am Post subject: |
|
|
 Partisan
Joined: 27 May 2014 Posts: 338 Location: Mumbai
|
mqjeff wrote: |
The reply should have a unique root element name, even if it's only the namespace that's unique.
Based on that you can call an appropriate routine to do process the reply. |
Yes, that's what I was using the RouteToLabel for , instead of putting up a whole bunch of case / when statements, I thought I'll just set the destination list, and put label nodes... _________________ Regards |
|
Back to top |
|
 |
mqjeff |
Posted: Mon Aug 31, 2015 9:14 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
If you can group them into families - based on customer or etc, you can use a more maintainable combination of labels and case/if-else statements. _________________ chmod -R ugo-wx / |
|
Back to top |
|
 |
|