Examples of SmooksEventSource


Examples of org.drools.examples.broker.events.SmooksEventSource

//        StockTickPersister source = new StockTickPersister();
//        source.openForRead( new InputStreamReader( Main.class.getResourceAsStream( "/stocktickstream.dat" ) ),
//                            System.currentTimeMillis() );

        SmooksEventSource source = new SmooksEventSource();
        source.processFeed(Main.class.getResourceAsStream( "/stocktickstream.dat" ));

        EventFeeder feeder = new EventFeeder(clock, source, broker );
        feeder.feed();

    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.