Package io.hekate.messaging
Interface MessagingConfigProvider
-
public interface MessagingConfigProvider
Provider of messaging channels configuration.Instances of this interface are responsible for providing messaging channels configuration that were obtained from some third party sources or constructed dynamically based on the provider-specific rules. Instances of this interface can be registered via
MessagingServiceFactory.setConfigProviders(List)
method.Another approach to register messaging channels configuration is to use
MessagingServiceFactory.setChannels(List)
method.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Collection<MessagingChannelConfig<?>>
configureMessaging()
Returns a collection of channel configurations that should be registered within theMessagingService
.
-
-
-
Method Detail
-
configureMessaging
Collection<MessagingChannelConfig<?>> configureMessaging()
Returns a collection of channel configurations that should be registered within theMessagingService
.- Returns:
- Channels configuration.
-
-