Flow flow = getPlatform().getFlowConnector( getProperties() ).connect( sources, sink, splice );
// countFlow.writeDOT( "stopped.dot" );
FailingFlowListener listener = new FailingFlowListener( onFail );
flow.addListener( listener );
LOG.info( "calling start" );
flow.start();