Class EventFeeder


  • public class EventFeeder
    extends Object
    An event feeder reads an event data file and publishes the read events to the consumer
    • Constructor Detail

      • EventFeeder

        public EventFeeder​(org.drools.core.time.TimerService clock,
                           EventSource source,
                           EventReceiver sink)
    • Method Detail

      • feed

        public void feed()
        For this simple demo, we are loading the whole stream of events into the memory.