mirror of https://github.com/apache/nifi.git
NIFI-895 ensuring the session factory is re-set in the onTrigger method in the case where the runner needed to be stopped
This commit is contained in:
parent
4baffacc42
commit
f34d73e73e
|
@ -165,6 +165,7 @@ public class ExecuteFlumeSource extends AbstractFlumeProcessor {
|
|||
if (old != sessionFactory) {
|
||||
if (runnerRef.get() != null) {
|
||||
stopped();
|
||||
sessionFactoryRef.set(sessionFactory);
|
||||
}
|
||||
|
||||
runnerRef.set(new EventDrivenSourceRunner());
|
||||
|
|
Loading…
Reference in New Issue