Example usage for org.springframework.integration.metadata PropertiesPersistingMetadataStore setBaseDirectory

List of usage examples for org.springframework.integration.metadata PropertiesPersistingMetadataStore setBaseDirectory

Introduction

In this page you can find the example usage for org.springframework.integration.metadata PropertiesPersistingMetadataStore setBaseDirectory.

Prototype

public void setBaseDirectory(String baseDirectory) 

Source Link

Document

Set the location for the properties file.

Usage

From source file:io.spring.batch.configuration.IntegrationConfiguration.java

@Bean
protected PropertiesPersistingMetadataStore metadataStore() throws Exception {
    PropertiesPersistingMetadataStore store = new PropertiesPersistingMetadataStore();
    store.setBaseDirectory("/tmp/someDirectory");
    store.afterPropertiesSet();// www.  j  a  va2 s .c o m

    return store;
}