Toivo,

You can definitely extend stuff in there and tweak behaviors but you'd
be going deep into custom/forking world.  Obviously we'll help as we
can anyway.

Thanks
Joe

On Sun, Sep 6, 2015 at 4:38 AM, Toivo Adams <[email protected]> wrote:
> My idea is to create business components which can be used as NiFi
> processors.
> But such business components are not directly tied to NiFi.
> Business component can be any java class which doesn’t extend any NiFi class
> or interface.
> For example such class may have method
>
> public Params transform(Integer agreementId, Stuff currentAgreements, Stuff
> incomingInvestmentStructure)
>
> Method transform implements some business logic using data from input
> parameters and created output parameters.
> Such business components have 2 advantages:
> 1.      Many developers understand this as this is similar to procedural way 
> to
> develop software.
> 2.      Existing code can be used easily
>
> Of course such business component cannot be used directly in Nifi.
> So some kind of Wrapper/Controller Is needed. Wrapper will read FlowFile,
> converts to input parameters, call transform method and creates FlowFile
> form output parameters.
> Wrapper is same for all business components.
>
> I was not sure can this be done extending Processor or any of is children.
> Maybe it even is?
>
> So far I don’t know how expose business component name, input parameters
> names and some description to UI.
> UI should see business component name and not Wrapper name.
>
> Thanks
> Toivo
>
>
>
>
> --
> View this message in context: 
> http://apache-nifi-developer-list.39713.n7.nabble.com/Custom-ProcessorNode-instead-of-using-StandardProcessorNode-tp2677p2690.html
> Sent from the Apache NiFi Developer List mailing list archive at Nabble.com.

Reply via email to