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:
Bryan Bende 2015-08-26 11:21:08 -04:00
parent 4baffacc42
commit f34d73e73e
1 changed files with 1 additions and 0 deletions

View File

@ -165,6 +165,7 @@ public class ExecuteFlumeSource extends AbstractFlumeProcessor {
if (old != sessionFactory) {
if (runnerRef.get() != null) {
stopped();
sessionFactoryRef.set(sessionFactory);
}
runnerRef.set(new EventDrivenSourceRunner());