Created on 07-10-2017 03:44 PM - edited 08-17-2019 05:20 PM
I have created a custom processor and after defining some properties it is showing " not a supported property" error as shown in the picture .Can anybody help me with this?
Created 07-10-2017 05:22 PM
Can you please share your code for PropertyDescriptors in your custom processor and how you are handling it in "OnTriger()" method?
Created 07-10-2017 08:32 PM
In your code you have only two properties. Where are you handling in your processor code these additional properties that you are getting error for, for example, "databaseName"? I don't see this property in your code.
static final PropertyDescriptor MyPropertyDescriptor = new PropertyDescriptor.Builder() .name("Print User Input") .description("It prints the user input") .required(true) .build(); static final PropertyDescriptor n = new PropertyDescriptor.Builder() .name("Num Rows to Print") .description("number of rows to be printed") .required(true) .build();
Created 07-11-2017 08:01 AM
Sorry....I attached the wrong code...please find it here nodereadfrommongo.txt