Author |
Message
|
dweller |
Posted: Thu Nov 16, 2006 6:25 am Post subject: promoted properties |
|
|
Apprentice
Joined: 31 Oct 2006 Posts: 28
|
how can i set promoted properties in compute node?
for example i promote queue name in mqoutput, then in compute mode i can set it like this:
SET OutputLocalEnvironment.Destination.MQ[1].DestinationData[1].queueName = trim(Environment.Routings[i].QUEUE);
if i promote sendmail plugin's property 'smtp server name', how can i set it in my compute node?
wmb 6 |
|
Back to top |
|
 |
Edde |
Posted: Thu Nov 16, 2006 6:46 am Post subject: |
|
|
 Acolyte
Joined: 01 Oct 2006 Posts: 67 Location: Moscow, Russia
|
You cannot set promoted properties in Compute node.
You can set promoted properties in .bar file or in subflow properties (if you promote properties from subflow).
To set OutputLocalEnvironment.Destination.MQ you don't need to promote smth, you just need to set Destination Mode to Destination List in your MQOutput Node. |
|
Back to top |
|
 |
dweller |
Posted: Thu Nov 16, 2006 6:58 am Post subject: |
|
|
Apprentice
Joined: 31 Oct 2006 Posts: 28
|
ok, thanks, it's clear now.
but is there any way to set sendmail plugin's property in compute node? |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Nov 16, 2006 7:39 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Edde wrote: |
You cannot set promoted properties in Compute node. |
_________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
elvis_gn |
Posted: Thu Nov 16, 2006 8:29 am Post subject: |
|
|
 Padawan
Joined: 08 Oct 2004 Posts: 1905 Location: Dubai
|
Hi dweller,
I think you are looking for UDP's.
Those you can't see on compute node properties, but surely can access in the compute node...
Regards. |
|
Back to top |
|
 |
dweller |
Posted: Fri Nov 17, 2006 1:14 am Post subject: |
|
|
Apprentice
Joined: 31 Oct 2006 Posts: 28
|
hi elvis_gn,
UDP's also are not suitable for me, because i can't modify them in runtime.
My goal is for example to fetch smtp server's hostname from db in compute node, ant to set it in sendmail plugin node's properties.
I guess it's not possible
jefflowrey i understood that; i was asking about any other way to modify node's properties at runtime.
thanks everybody for help |
|
Back to top |
|
 |
elvis_gn |
Posted: Fri Nov 17, 2006 3:06 am Post subject: |
|
|
 Padawan
Joined: 08 Oct 2004 Posts: 1905 Location: Dubai
|
Hi dweller,
dweller wrote: |
i was asking about any other way to modify node's properties at runtime. |
How do u know when u need to change the value in runtime....where do u expect to get the value, u want to change it with from ?
Regards. |
|
Back to top |
|
 |
dweller |
Posted: Fri Nov 17, 2006 3:20 am Post subject: |
|
|
Apprentice
Joined: 31 Oct 2006 Posts: 28
|
Hi,
for now, as server load will be minimal and we want more flexibility, i will get value from db everytime message will pass compute node. |
|
Back to top |
|
 |
|