Example usage for org.springframework.integration.store SimpleMessageStore setCopyOnGet

List of usage examples for org.springframework.integration.store SimpleMessageStore setCopyOnGet

Introduction

In this page you can find the example usage for org.springframework.integration.store SimpleMessageStore setCopyOnGet.

Prototype

public void setCopyOnGet(boolean copyOnGet) 

Source Link

Document

Set to false to disable copying the group in #getMessageGroup(Object) .

Usage

From source file:org.springframework.cloud.stream.app.hdfs.dataset.sink.HdfsDatasetSinkConfiguration.java

@Bean
MessageGroupStore messageGroupStore() {//from   ww  w. j a v  a  2s . c om
    SimpleMessageStore messageGroupStore = new SimpleMessageStore();
    messageGroupStore.setTimeoutOnIdle(true);
    messageGroupStore.setCopyOnGet(false);
    return messageGroupStore;
}