mirror of
https://github.com/apache/nifi.git
synced 2025-02-17 15:36:36 +00:00
NIFI-4131 - GFT warning message when badly setting relationships
Signed-off-by: Matt Burgess <mattyb149@apache.org> This closes #1954
This commit is contained in:
parent
7f4cfd51ea
commit
902b6e205d
@ -154,6 +154,9 @@ public class GenerateTableFetch extends AbstractDatabaseFetchProcessor {
|
|||||||
if (!isDynamicTableName && !isDynamicMaxValues) {
|
if (!isDynamicTableName && !isDynamicMaxValues) {
|
||||||
super.setup(context);
|
super.setup(context);
|
||||||
}
|
}
|
||||||
|
if(context.hasIncomingConnection() && !context.hasNonLoopConnection()) {
|
||||||
|
getLogger().error("The failure relationship can be used only if there is another incoming connection to this processor.");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
x
Reference in New Issue
Block a user