Class LastValueQueue

  • All Implemented Interfaces:
    Bindable, Queue, CriticalComponent

    public class LastValueQueue
    extends QueueImpl
    A queue that will discard messages if a newer message with the same Message.HDR_LAST_VALUE_NAME property value. In other words it only retains the last value

    This is useful for example, for stock prices, where you're only interested in the latest value for a particular stock