Cheers Matt - is there any API documentation for the Session object online ?

On 31 August 2016 at 16:03, Matt Burgess <mattyb...@gmail.com> wrote:

> Mike,
>
> You can explicitly drop the flow file using session.remove(flowFile).
> I believe for auto-terminating connections that is what is happening
> under the hood.
>
> Regards,
> Matt
>
> On Wed, Aug 31, 2016 at 11:01 AM, Mike Harding <mikeyhard...@gmail.com>
> wrote:
> > Hi all,
> >
> > I have an ExecuteScript processor that creates new flow files to pass on
> to
> > downstream processors from an incoming flowfile.
> >
> > Once I have generated and transferred the newly created flowfiles to a
> > "SUCCESS" relationship I then transfer the original flow file to an
> > auto-terminating failure relationship and that kind of works. But I'm
> just
> > wondering in reality is this flowfile actually being purged from nifi
> (after
> > some default expiration?) or is there some way I can explicitly drop the
> > flowfile in my ExecuteScript processor (javascript) code? Whats the
> default
> > behaviour here?
> >
> > Cheers,
> > Mike
>

Reply via email to