@Service
public class SnapshotConsumerService
extends java.lang.Object
| Constructor and Description |
|---|
SnapshotConsumerService() |
| Modifier and Type | Method and Description |
|---|---|
de.otto.synapse.channel.ChannelPosition |
consumeSnapshot(java.io.File latestSnapshot,
java.util.function.Predicate<de.otto.synapse.message.Message<?>> stopCondition,
de.otto.synapse.consumer.MessageConsumer<java.lang.String> messageConsumer) |