public interface ChannelQosProvider
ChannelQosProvider resolves the channel filter for a given ToaServiceChannel channel.
TopicOrientedApplication in hornet will automatically create buses and channels that
have have not already been configured for the application.
In the absense of a ChannelQosProvider:
ChannelQosProviders can be used to override the QoS determined above:
MessageChannel.Qos via getChannelQos(ToaService, ToaServiceChannel) that value
is used to update the MessageChannel.Qos for the channel.
| Modifier and Type | Method and Description |
|---|---|
MessageChannel.Qos |
getChannelQos(ToaService service,
ToaServiceChannel channel)
Returns the channel
MessageChannel.Qos for the given ToaServiceChannel. |
MessageChannel.Qos getChannelQos(ToaService service, ToaServiceChannel channel)
MessageChannel.Qos for the given ToaServiceChannel.
If multiple ChannelQosProviders return differing MessageChannel.Qos values
for the same service and channel the highest quality of service will be
selected (e.g. Guaranteeed).
service - The service that defined the channel.channel - The channel.MessageChannel.Qos or null if the provider either doesn't provide
MessageChannel.Qos for this channel or if the channel should not be filtered.TopicOrientedApplication messaging configurationCopyright © 2016 N5 Technologies, Inc. All Rights Reserved.