Author |
Message
|
prakusi |
Posted: Fri Apr 20, 2007 12:19 am Post subject: Setting the Queue name of MQGet Node dynamically |
|
|
Novice
Joined: 14 Feb 2007 Posts: 10
|
Can we set the Queue name of MQGet node Dynamically. |
|
Back to top |
|
 |
AkankshA |
Posted: Fri Apr 20, 2007 12:34 am Post subject: |
|
|
 Grand Master
Joined: 12 Jan 2006 Posts: 1494 Location: Singapore
|
NO
you have to set it in bar file _________________ Cheers |
|
Back to top |
|
 |
jefflowrey |
Posted: Fri Apr 20, 2007 3:24 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
YES.
Using "Input MQ Parameters Location".
For example SET InputLocalEnvironment.MQ.GET.QueueName='THISQUEUE' _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
AkankshA |
Posted: Fri Apr 20, 2007 3:28 am Post subject: |
|
|
 Grand Master
Joined: 12 Jan 2006 Posts: 1494 Location: Singapore
|
but queue name is a mandatory option in MQGet node
and the flow wont compile without it..... do u mean that a dummy queue name would be reqd in this case?? _________________ Cheers |
|
Back to top |
|
 |
jefflowrey |
Posted: Fri Apr 20, 2007 3:30 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
I think the original question was not "Can I deploy an MQGet node without specifying a QueueName", but "Can I change the queue name used at runtime?".
But yes, you need to set a queue name, and it needs to be a real queue name. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
prakusi |
Posted: Fri Apr 20, 2007 4:09 am Post subject: |
|
|
Novice
Joined: 14 Feb 2007 Posts: 10
|
Thnx every body
SET InputLocalEnvironment.MQ.GET.QueueName='THISQUEUE'
This is working fine. i gave some queue name in MqGet node. but i am overwriting the Queue name by using the above statement and this is workng fine. |
|
Back to top |
|
 |
|