diff --git a/spring-rabbit/src/main/java/org/springframework/amqp/rabbit/listener/adapter/MessagingMessageListenerAdapter.java b/spring-rabbit/src/main/java/org/springframework/amqp/rabbit/listener/adapter/MessagingMessageListenerAdapter.java index 465594de0..abb69f513 100644 --- a/spring-rabbit/src/main/java/org/springframework/amqp/rabbit/listener/adapter/MessagingMessageListenerAdapter.java +++ b/spring-rabbit/src/main/java/org/springframework/amqp/rabbit/listener/adapter/MessagingMessageListenerAdapter.java @@ -24,8 +24,6 @@ import java.util.List; import java.util.Optional; -import com.rabbitmq.client.Channel; - import org.springframework.amqp.core.MessageProperties; import org.springframework.amqp.rabbit.listener.api.RabbitListenerErrorHandler; import org.springframework.amqp.rabbit.support.ListenerExecutionFailedException; @@ -47,6 +45,8 @@ import org.springframework.util.Assert; import org.springframework.util.TypeUtils; +import com.rabbitmq.client.Channel; + /** * A {@link org.springframework.amqp.core.MessageListener MessageListener} * adapter that invokes a configurable {@link HandlerAdapter}.