Example usage for org.springframework.integration.file.tail OSDelegatingFileTailingMessageProducer setOptions

List of usage examples for org.springframework.integration.file.tail OSDelegatingFileTailingMessageProducer setOptions

Introduction

In this page you can find the example usage for org.springframework.integration.file.tail OSDelegatingFileTailingMessageProducer setOptions.

Prototype

public void setOptions(String options) 

Source Link

Usage

From source file:org.springframework.integration.file.tail.FileTailingMessageProducerTests.java

@Test
@TailAvailable/*w  w  w .j  a  v a  2 s.com*/
public void testOS() throws Exception {
    OSDelegatingFileTailingMessageProducer adapter = new OSDelegatingFileTailingMessageProducer();
    adapter.setOptions(TAIL_OPTIONS_FOLLOW_NAME_MANY_LINES);
    testGuts(adapter, "reader");
}