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 ChannelSupervisor
IOException
public ClosingResult closeChannel() throws IOException
closeChannel
in interface ChannelSupervisor
IOException
Copyright © 2016–2025. All rights reserved.