Class ProducingStatisticManager

  • All Implemented Interfaces:
    ComponentLifecycle, StatisticManager

    @ComponentProfile(summary="Statistic manager that allows configuration of a standalone producer for each timeslice when they expire.",
                      tag="interceptor")
    public class ProducingStatisticManager
    extends BaseStatisticManager

    This statistic manager allows you to configure a marshaller and a stand alone producer.

    When the produce() method is triggered we will serialize the InterceptorStatistic with the configured marshaller and then execute the producer with the resulting string payload.

    If the producer should fail, we simply attempt to restart the stand alone producer and continue.