Interface IMessageSource<T>
- Namespace
- Steeltoe.Integration
- Assembly
- Steeltoe.Integration.Abstractions.dll
A typed interface for any source of Messages that can be polled.
public interface IMessageSource<out T> : IMessageSource
Type Parameters
T
the type of payload in the message
Methods
Receive()
Poll for a message from the source
IMessage<out T> Receive()
Returns
- IMessage<T>
the message