public interface OnDemandChannelSupervisor
Modifier and Type | Method and Description |
---|---|
com.sportradar.unifiedodds.sdk.internal.impl.rabbitconnection.ChannelStatus |
checkStatus()
Checks channel status on demand
|
void |
close()
Terminates the current channel
|
void |
open(List<String> routingKeys,
ChannelMessageConsumer channelMessageConsumer,
String messageInterest)
Opens the current channel and binds the created queue to the provided routing keys
|
void open(List<String> routingKeys, ChannelMessageConsumer channelMessageConsumer, String messageInterest) throws IOException
routingKeys
- - a List
of routing keys which should be bindedchannelMessageConsumer
- - a ChannelMessageConsumer
which consumes the received payloadsmessageInterest
- message interest this channel is linked toIOException
- if the routing keys bind failedvoid close() throws IOException
IOException
- if the channel closure failedcom.sportradar.unifiedodds.sdk.internal.impl.rabbitconnection.ChannelStatus checkStatus()
Copyright © 2016–2025. All rights reserved.