Hi Boris,

Check out how the EmailActionExecutor email-action-extension does it:
http://svn.apache.org/viewvc/incubator/oozie/trunk/core/src/main/java/org/apache/oozie/action/email/EmailActionExecutor.java?view=markup

In particular, see lines 115 to 121 where we pick up the action's
configuration (from the oozie-site.xml).

On Tue, Aug 7, 2012 at 5:58 PM, Boris Shulman <[email protected]> wrote:
> Hi,
>
> It is stated in the docs that it is possible to provide config to a custom
> action via oozie-site.xml.The question is how do I access that config from
> within the action?
>
> From the documentation:
>
> Any configuration properties to be made available to this class should
> also be added to oozie-site.xml. The convention to be followed for
> naming these properties is 'oozie.action.[ActionName].property.name
>
>
>
>
> Regards.



-- 
Harsh J

Reply via email to