Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 7804F200B7F for ; Sun, 11 Sep 2016 22:24:30 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 769EF160AC7; Sun, 11 Sep 2016 20:24:30 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id BAC09160AB6 for ; Sun, 11 Sep 2016 22:24:29 +0200 (CEST) Received: (qmail 23214 invoked by uid 500); 11 Sep 2016 20:24:28 -0000 Mailing-List: contact dev-help@nifi.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@nifi.apache.org Delivered-To: mailing list dev@nifi.apache.org Delivered-To: moderator for dev@nifi.apache.org Received: (qmail 93065 invoked by uid 99); 11 Sep 2016 19:58:41 -0000 X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.595 X-Spam-Level: *** X-Spam-Status: No, score=3.595 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_SORBS_SPAM=2.397, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=9yIaRB41RODwKKrivksqW+GrltmxBz9ymC16QW61h6g=; b=flDOBIhZ2+v2rqLffNUnjqUE3Y1tIVc+1A8S6cedbWn/SDtSQ4lWjYdynMGZ369EBw QRP34n+N1mVMpfbOCvH2S/QI7uRY2MZ26/8lKcLEA3+HvTqnoa3Prv6E1P94SY8zm8Cf i0h0qBUmSpkVciYJM5EcLKHLInXwfzOShcInlwM2d6sLKTRmSnuzKstYBm0tCdLXiYag +SXPVKKyT9vGe0ZJW3WWuGmml7PbDGx0yy0CCohF2aeCvUQwJJ4fgwLU+5KT6f4jQ8Sd KT/+CDEYlP2T7vyZEjle0c7uGur9zUC3RCR5ZZuDvl8wNSnIE2NOXw89Ok1ETACKmXCf 3VaA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=9yIaRB41RODwKKrivksqW+GrltmxBz9ymC16QW61h6g=; b=WCWZothpT5Ejh4TEaEX/+mFNGP2DXSs1SvezeRjiTI6oK5/XHbEoGcMSAYNtRFnzRF fuCag3vlw445YHdXEggWcbo1BaZdFz8Pg/KY+qvyYu8eMyJu87BELGYfJ403h5WfdUQl NLXZg8qETln8JfNrBhYNMLu+XZyXEIz/Q20HNjJFTsSDe3OMYotupG+GLe2m3k8Y8yRs jMfyrC1eaRO0MihKyACH7B0v2s4Lsz+9HojF+6h19w/YKAEymS4mVIsFMVZ4B11w38Um BgL4HUB4yrdZhU3LZuXNT6e6L3ln0VMILZyH2VIV00VodlCMt3JLh/WkWvO494RkbY9M KMHw== X-Gm-Message-State: AE9vXwNFnyRaRvI0HWH9ndTnSJah5bCOMtsJ1EGh6Zts6zSoEw9gX8aTTxM7dkttPCDVeXZQo4c68hSnNELyCQ== X-Received: by 10.202.71.6 with SMTP id u6mr20871223oia.161.1473623917488; Sun, 11 Sep 2016 12:58:37 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Gunjan Dave Date: Sun, 11 Sep 2016 19:58:26 +0000 Message-ID: Subject: Re: Custom expression language functions To: dev@nifi.apache.org Content-Type: multipart/alternative; boundary=001a113e5900227078053c40ce94 archived-at: Sun, 11 Sep 2016 20:24:30 -0000 --001a113e5900227078053c40ce94 Content-Type: text/plain; charset=UTF-8 Hi Joe, Having the ability to extend or customize EL functions is important. Infact few important functions like ability to fetch from distributed cache or readily using Certain java claases like java.lang.*, Java.io.*, java.match.* etc are missing. adding processor is certainly feasible but its an extra hop. With the ability to write global functions it can be achived in single processor instead of two. this would prove most useful in advanced rules tab of updateattribute processor. On Sun, Sep 11, 2016, 12:07 PM Gunjan Dave wrote: > Hi Team, is there a way I can create custom functions which can then be > referred in expression language and also be reusable. > > Thanks > GUNJAN > --001a113e5900227078053c40ce94--