@Component
public class MessageReceiverEndpointInfoProvider
extends java.lang.Object
| Constructor and Description |
|---|
MessageReceiverEndpointInfoProvider(java.util.Optional<java.util.List<de.otto.synapse.eventsource.EventSource>> eventSources) |
MessageReceiverEndpointInfoProvider(java.util.Optional<java.util.List<de.otto.synapse.eventsource.EventSource>> eventSources,
java.time.Clock clock)
For testing purposes only.
|
| Modifier and Type | Method and Description |
|---|---|
de.otto.synapse.info.MessageReceiverEndpointInfos |
getInfos() |
void |
on(de.otto.synapse.info.MessageReceiverNotification notification) |
@Autowired public MessageReceiverEndpointInfoProvider(java.util.Optional<java.util.List<de.otto.synapse.eventsource.EventSource>> eventSources)
public MessageReceiverEndpointInfoProvider(java.util.Optional<java.util.List<de.otto.synapse.eventsource.EventSource>> eventSources,
java.time.Clock clock)
eventSources - the event sourcesclock - clock used to time events end testing the timing behaviour of the provider