com.rabbitmq.client.impl.recovery.RecoveryAwareChannelManager Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of amqp-client Show documentation
Show all versions of amqp-client Show documentation
The RabbitMQ Java client library allows Java applications to interface with RabbitMQ.
package com.rabbitmq.client.impl.recovery;
import com.rabbitmq.client.impl.AMQConnection;
import com.rabbitmq.client.impl.ChannelManager;
import com.rabbitmq.client.impl.ChannelN;
import com.rabbitmq.client.impl.ConsumerWorkService;
/**
* @since 3.3.0
*/
public class RecoveryAwareChannelManager extends ChannelManager {
public RecoveryAwareChannelManager(ConsumerWorkService workService, int channelMax) {
super(workService, channelMax);
}
@Override
protected ChannelN instantiateChannel(AMQConnection connection, int channelNumber, ConsumerWorkService workService) {
return new RecoveryAwareChannelN(connection, channelNumber, workService);
}
}