You can take a look at 
https://github.com/DataTorrent/examples/blob/master/dt-demo/dimensions/src/main/resources/META-INF/properties.xml
 
<https://github.com/DataTorrent/examples/blob/master/dt-demo/dimensions/src/main/resources/META-INF/properties.xml>Here
 is an example:

<property>
    <name>dt.application.TelecomDemoV2.operator.CDRGeoQueryResult.topic</name>
    <value>CDRGeoQueryResult-${dt.attr.APPLICATION_NAME}</value>
  </property>


thanks
Bright


> On Jun 20, 2016, at 10:48 AM, Sandesh Hegde <[email protected]> wrote:
> 
> Within the Operator,  you can do the following to get the name.
> 
> context.getValue(Context.DAGContext.APPLICATION_NAME); ( Application name is 
> part of the DAG context )
> 
> On Mon, Jun 20, 2016 at 10:07 AM Raja.Aravapalli <[email protected] 
> <mailto:[email protected]>> wrote:
> 
> Hi,
> 
> Curious to know, Is there a property to pass the application name from 
> properties.xml file ?
> 
> 
> Regards, 
> Raja.

Reply via email to