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

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

Introduction

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

Prototype

PropertiesPersistingMetadataStore

Source Link

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();//from w ww.ja  va2s.co m

    return store;
}