public class ChannelSupervisionScheduler extends Object implements ChannelSupervisor
| Constructor and Description |
|---|
ChannelSupervisionScheduler(OnDemandChannelSupervisor rabbitMqChannel,
RabbitMqMonitoringThreads rabbitMqMonitoringThreads) |
| Modifier and Type | Method and Description |
|---|---|
ClosingResult |
closeChannel() |
OpeningResult |
openChannel(List<String> routingKeys,
ChannelMessageConsumer messageConsumer,
String messageInterest) |
@Inject public ChannelSupervisionScheduler(OnDemandChannelSupervisor rabbitMqChannel, RabbitMqMonitoringThreads rabbitMqMonitoringThreads)
public OpeningResult openChannel(List<String> routingKeys, ChannelMessageConsumer messageConsumer, String messageInterest) throws IOException
openChannel in interface ChannelSupervisorIOExceptionpublic ClosingResult closeChannel() throws IOException
closeChannel in interface ChannelSupervisorIOExceptionCopyright © 2016–2025. All rights reserved.