Spring Integration

org.springframework.integration.context.metadata
Interface MetadataPersister<V>

All Known Implementing Classes:
MapBasedMetadataPersister, PropertiesBasedMetadataPersister

public interface MetadataPersister<V>

Envisioned as a strategy interface for persisting metadata from certain adapters / endpoints. Ideally, there will be at least two options - one ephemeral persister (RAM-only) and one durable (*.ini based).

This is used to give adapters / endpoints a place to store metadata to avoid duplicate delivery of messages, for example.

Author:
Josh Long

Method Summary
 V read(String key)
           
 void write(String key, V value)
           
 

Method Detail

write

void write(String key,
           V value)

read

V read(String key)

Spring Integration

Copyright © 2010. All Rights Reserved.