【java-用于RabbitMQ的Spring SimpleMessageListenerContainer在无效消息上中止】教程文章相关的互联网学习教程文章

BuildAPI,Buildbot,RabbitMQandMySQLcontainersareallup_MySQL

BuildAPI, Buildbot, RabbitMQ and MySQL containers are all up now! To run pull http://hg.mozilla.org/users/jozeller_mozilla.com/vagrant-docker-setup and run 'vagrant up' from the vagrant-docker-setup/ directory.The vagrant up command will take several minutes to run the first time because it needs to pull the docker images from the Docker Index at docker.io. More to come tomorrow on this. NOTE: Bui...

java-用于RabbitMQ的Spring SimpleMessageListenerContainer在无效消息上中止【代码】

我正在使用springs SimpleMessageListenerContainer来使用RabbitMQ队列中的消息.一切正常,但是当无效消息发送到队列(例如无效的json)时,侦听器将中止,关闭工作进程并且不接受任何其他消息. 是否可以将其配置为丢弃中断的消息并继续监听其他消息? 我正在使用sprint-rabbit-1.6.1.RELEASE.jar 我的配置如下所示:@Bean public SimpleMessageListenerContainer container(ConnectionFactory connectionFactory,MessageListenerAdapte...