Class OSDelegatingFileTailingMessageProducer

All Implemented Interfaces:
Runnable, Aware, BeanFactoryAware, BeanNameAware, DisposableBean, InitializingBean, SmartInitializingSingleton, ApplicationContextAware, ApplicationEventPublisherAware, Lifecycle, Phased, SmartLifecycle, ComponentSourceAware, ExpressionCapable, MessageProducer, IntegrationPattern, NamedComponent, IntegrationInboundManagement, IntegrationManagement, ManageableLifecycle, ManageableSmartLifecycle, TrackableComponent, SchedulingAwareRunnable

public class OSDelegatingFileTailingMessageProducer extends FileTailingMessageProducerSupport implements SchedulingAwareRunnable
A file tailing message producer that delegates to the OS tail program. This is likely the most efficient mechanism on platforms that support it. Default options are "-F -n 0" (follow file name, no existing records).
Since:
3.0
Author:
Gary Russell, Gavin Gray, Ali Shahbour, Artem Bilan, Trung Pham
  • Constructor Details

    • OSDelegatingFileTailingMessageProducer

      public OSDelegatingFileTailingMessageProducer()
  • Method Details