Fix typo and error handling
@@ -356,15 +356,17 @@ public class SiddhiAppRuntime {
public synchronized void start() {
if (running) {
- log.warn("Error calling star() for Siddhi App '" + siddhiAppContext.getName() + "', " +
+ log.warn("Error calling start() for Siddhi App '" + siddhiAppContext.getName() + "', " +
"SiddhiApp already started.");
return;
}
if (!runningWithoutSources) {
startWithoutSources();
}
+ if (runningWithoutSources) {
startSources();
}
+ }
public synchronized void startWithoutSources() {
if (running || runningWithoutSources) {
