Author |
Message
|
Raj2000 |
Posted: Tue Aug 25, 2009 8:58 am Post subject: passing parameters after msg flow deployed??? |
|
|
 Apprentice
Joined: 03 Aug 2009 Posts: 47
|
I have a scenario where i have a change a parameter which is used in the esql code.
Let me explain you the scenario:
I have to two webserrvices where i have to toggle between them depending upon say X time interval. but the design wants such that this parameter shoud not be fixed and it should be variable which has to be passed to msg flow from external.
Actually the design donot want a queue or embed the msg in the i/p message.
any advice???  |
|
Back to top |
|
 |
mqjeff |
Posted: Tue Aug 25, 2009 10:09 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
use a shared variable.
use an HTTP input node to adjust the shared variable.
No queue, no embedding the value in the input. |
|
Back to top |
|
 |
mqmatt |
Posted: Tue Aug 25, 2009 11:07 am Post subject: |
|
|
 Grand Master
Joined: 04 Aug 2004 Posts: 1213 Location: Hursley, UK
|
|
Back to top |
|
 |
Raj2000 |
Posted: Tue Aug 25, 2009 12:14 pm Post subject: |
|
|
 Apprentice
Joined: 03 Aug 2009 Posts: 47
|
yes i have the same doubt do you mean to send the parameter using the userdefined properties??? |
|
Back to top |
|
 |
mqjeff |
Posted: Tue Aug 25, 2009 12:21 pm Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Using a User Defined Property requires a redeploy.
Using a shared variable that you set using some other input node does not.
Your requirements should tell you which is more appropriate. |
|
Back to top |
|
 |
mqmatt |
Posted: Tue Aug 25, 2009 12:52 pm Post subject: |
|
|
 Grand Master
Joined: 04 Aug 2004 Posts: 1213 Location: Hursley, UK
|
mqjeff wrote: |
Using a User Defined Property requires a redeploy. |
Sort-of. As of v6.1.0.2, you can set the value of String-based UDPs using a CMP app (e.g. API Exerciser), and this way doesn't require you to redeploy your message flows.
However, you (currently) do need to issue BrokerProxy.deploy() to send down the changed configuration. |
|
Back to top |
|
 |
Raj2000 |
Posted: Tue Aug 25, 2009 5:35 pm Post subject: |
|
|
 Apprentice
Joined: 03 Aug 2009 Posts: 47
|
Thanks alot jeff and matt .thanks alot for the valuable input you guys have made it worked!!! Thanks alot.  |
|
Back to top |
|
 |
|