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