错误cannot convert from [java.lang.String] to [com.rabbitmq.client.AMQP$Channel] for GenericMessage
RabbitMQ整合springBoot中的错误信息:错误信息:Cannot convert from [java.lang.String] to [com.rabbitmq.client.AMQP$Channel] for GenericMessage错误原因:Channel的包引入错误解决:import com.rabbitmq.client.Channel;Message包引入错误:正确的引入import org.springframework.amqp.core.Message;