Skip to content

Commit

Permalink
Fix Javadocs in the SimpleRabbitListenerContainerFactory
Browse files Browse the repository at this point in the history
  • Loading branch information
artembilan committed Feb 2, 2024
1 parent c8c06ea commit e7e3e14
Showing 1 changed file with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@

package org.springframework.amqp.rabbit.config;

import com.rabbitmq.client.Channel;

import org.springframework.amqp.ImmediateAcknowledgeAmqpException;
import org.springframework.amqp.rabbit.listener.RabbitListenerEndpoint;
import org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer;
import org.springframework.amqp.utils.JavaUtils;
Expand Down Expand Up @@ -159,9 +156,9 @@ public void setConsumerBatchEnabled(boolean consumerBatchEnabled) {
}

/**
* Set to {@code true} to enforce {@link Channel#basicAck(long, boolean)}
* Set to {@code true} to enforce {@link com.rabbitmq.client.Channel#basicAck(long, boolean)}
* for {@link org.springframework.amqp.core.AcknowledgeMode#MANUAL}
* when {@link ImmediateAcknowledgeAmqpException} is thrown.
* when {@link org.springframework.amqp.ImmediateAcknowledgeAmqpException} is thrown.
* This might be a tentative solution to not break behavior for current minor version.
* @param enforceImmediateAckForManual the flag to ack message for MANUAL mode on ImmediateAcknowledgeAmqpException
* @since 3.1.2
Expand Down

0 comments on commit e7e3e14

Please sign in to comment.