Thanks very much Koji for your quick response and your example, I will look
into your example.
Regards,
Ben
2017-07-14 17:27 GMT+08:00 Koji Kawamura :
> Hi Ben,
>
> If the processor is running, stop will wait for the thread to complete.
> Please see stop() method
Hi Ben,
If the processor is running, stop will wait for the thread to complete.
Please see stop() method here.
https://github.com/apache/nifi/blob/master/nifi-nar-
bundles/nifi-framework-bundle/nifi-framework/nifi-framework-
core/src/main/java/org/apache/nifi/controller/StandardProcessorNode.java
Thanks Koji, I checked the NIFI REST API and it seems that I need to use
Groovy to do it(I don't understand Groovy), is there any Java related
examples which interact with NIFI via REST API? Thanks.
Regards,
Ben
2017-07-14 13:49 GMT+08:00 Koji Kawamura :
> Hi Ben,
>
>
Hi Ben,
Just an idea, using ListenHTTP or HandleHTTPRequest (or whatever
listener type processor you can use) in front of your processor might
be helpful. You also need to change your processor to support incoming
FlowFile as well if it doesn't currently. This way, the outside
application can