Author |
Message
|
kevin_22 |
Posted: Wed May 17, 2006 12:04 am Post subject: Accessing node properties |
|
|
 Centurion
Joined: 08 Mar 2005 Posts: 100
|
Hi,
How can i access and manipulate the node properties in ESQL ??? My requirement is that i need to dynamically assign the node property say Database name in Database node basing on the incoming message.
Thanks,
Kevin  |
|
Back to top |
|
 |
elvis_gn |
Posted: Wed May 17, 2006 12:11 am Post subject: |
|
|
 Padawan
Joined: 08 Oct 2004 Posts: 1905 Location: Dubai
|
Hi kevin_22,
kevin_22 wrote: |
My requirement is that i need to dynamically assign the node property |
You can use UDF(user defined properties in the flow and define your properties and access them in the ESQL.
kevin_22 wrote: |
Database name in Database node basing on the incoming message |
Doubt you can define the property for a database node to pick up...it can only be used in Java or ESQL compute nodes....
Regards. |
|
Back to top |
|
 |
mgk |
Posted: Wed May 17, 2006 12:35 am Post subject: |
|
|
 Padawan
Joined: 31 Jul 2003 Posts: 1642
|
You can dynamically choose the Datasource to use for a particular statement in Message Broker V6. Before this. This includes basing the datasource on the incoming message. However, before V6, this was not really possible. _________________ MGK
The postings I make on this site are my own and don't necessarily represent IBM's positions, strategies or opinions. |
|
Back to top |
|
 |
sirsi |
Posted: Wed May 17, 2006 11:57 am Post subject: |
|
|
Disciple
Joined: 11 Mar 2005 Posts: 177
|
if you use UDP's you have to set them manually in the bar file right?...
how can this be set dynamically? |
|
Back to top |
|
 |
anpati1 |
Posted: Mon Nov 19, 2007 8:09 am Post subject: Accessing HTTP Input Node property with esql |
|
|
Novice
Joined: 07 Jun 2007 Posts: 24 Location: Marlow, UK
|
I have deployed a webservice with a 'Path Suffix for URL'. I want to use the entire Endpoint reference URI (including hostname:port number along with the suffix) in my esql for this deployed service.
I intend to include this URI as part of the output message generated using esql. |
|
Back to top |
|
 |
mqmatt |
Posted: Mon Nov 19, 2007 9:12 am Post subject: |
|
|
 Grand Master
Joined: 04 Aug 2004 Posts: 1213 Location: Hursley, UK
|
sirsi wrote: |
if you use UDP's you have to set them manually in the bar file right?... how can this be set dynamically? |
In v6.1 you can set various properties and service information dynamically (i.e. without requiring you to redeploy your flows). However, you can't set specifically UDPs in this way. Please raise a requirement with IBM if you'd like to see this.
It is a well known missing piece of capability that I know the development team would like to address sooner rather than later.
Regards
-Matt |
|
Back to top |
|
 |
|