Author |
Message
|
sarbajit |
Posted: Tue Jul 06, 2004 5:46 am Post subject: Destination List |
|
|
Acolyte
Joined: 22 May 2003 Posts: 53
|
Hi All,
In my ESQL code (compute node) the message is getting propagated to two differerent queues residing in two different queue managers via destination list. The node names are hardcoded in the ESQL. Please let me know how to remove the hardcoding from the Message Flow ESQL's. Can we use any config file or database for this.
Thanks..[/i] |
|
Back to top |
|
 |
jefflowrey |
Posted: Tue Jul 06, 2004 6:34 am Post subject: Re: Destination List |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
sarbajit wrote: |
Can we use any config file or database for this. |
Yes.
You'll need a custom plug-in if you want to use a configuration file, though. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
Testo |
Posted: Tue Jul 06, 2004 8:38 am Post subject: DB table |
|
|
 Centurion
Joined: 26 Feb 2003 Posts: 120 Location: Italy - Milan
|
Hi sarbajit!
We had a similar situation and we created a db table specifically for that scope, allowing a parametric setting of the destination list.
We also created a 'general purpose' routing subflow, beeing able to reuse it in many projects.
I don't see a specific need for a configuration file instead of a table...
Cheers and good luck,
Andrea Tedone
IBM IT Specialist |
|
Back to top |
|
 |
jefflowrey |
Posted: Tue Jul 06, 2004 8:51 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Yes, there's no particular advantages over using a configuration file instead of a database table.
Particularly since you can access the database table using built-in tools (ESQL Select statements, Database nodes). _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
sarbajit |
Posted: Tue Jul 06, 2004 9:38 am Post subject: |
|
|
Acolyte
Joined: 22 May 2003 Posts: 53
|
Thanks for all your suggestions. I agree that going for DB is much more generic and scalable than config and custom function. |
|
Back to top |
|
 |
|