This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener). # Fixed URLs ## Fixed But Review Recommended These URLs were fixed, but the https status was not OK. However, the https status was the same as the http request or http redirected to an https URL, so they were migrated. Your review is recommended. * http://repository.codehaus.org/ (UnknownHostException) with 3 occurrences migrated to: https://repository.codehaus.org/ ([https](https://repository.codehaus.org/) result UnknownHostException). * http://repo.spring.io/maven/bundles/release (404) with 1 occurrences migrated to: https://repo.spring.io/maven/bundles/release ([https](https://repo.spring.io/maven/bundles/release) result 404). * http://repo.spring.io/repo (404) with 2 occurrences migrated to: https://repo.spring.io/repo ([https](https://repo.spring.io/repo) result 404). * http://www.springframework.org/download (404) with 3 occurrences migrated to: https://www.springframework.org/download ([https](https://www.springframework.org/download) result 404). ## Fixed Success These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended. * http://maven.apache.org/xsd/maven-4.0.0.xsd with 5 occurrences migrated to: https://maven.apache.org/xsd/maven-4.0.0.xsd ([https](https://maven.apache.org/xsd/maven-4.0.0.xsd) result 200). * http://www.apache.org/licenses/LICENSE-2.0 with 8 occurrences migrated to: https://www.apache.org/licenses/LICENSE-2.0 ([https](https://www.apache.org/licenses/LICENSE-2.0) result 200). * http://github.com/SpringSource/spring-amqp-samples with 2 occurrences migrated to: https://github.com/SpringSource/spring-amqp-samples ([https](https://github.com/SpringSource/spring-amqp-samples) result 301). * http://maven.apache.org/maven-v4_0_0.xsd with 4 occurrences migrated to: https://maven.apache.org/maven-v4_0_0.xsd ([https](https://maven.apache.org/maven-v4_0_0.xsd) result 301). * http://www.spring.io with 3 occurrences migrated to: https://www.spring.io ([https](https://www.spring.io) result 301). * http://repo.spring.io/libs-staging-local with 1 occurrences migrated to: https://repo.spring.io/libs-staging-local ([https](https://repo.spring.io/libs-staging-local) result 302). # Ignored These URLs were intentionally ignored. * http://maven.apache.org/POM/4.0.0 with 18 occurrences * http://www.w3.org/2001/XMLSchema-instance with 9 occurrences
# Configuring a Global Error Handler for @RabbitListener s This sample demonstrates how to add a global error handler to `@RabbitListener` methods. It uses an auto-delete queue that will be removed after the demo completes. The error handler is the same as the default (`ConditionalRejectingErrorHandler`) but with a custom `FatalExceptionStrategy` that extends the default and logs the failed message. NOTE: Such a simple handler is not generally needed since the framework will log the failed message itself; for a real application, some additional action might be taken, for example write the bad message to a database. A JSON message converter is used; the sample sends one "good" message, and one bad one, which fails message conversion. Message conversion is considered fatal and the message is not requeued. It is a Spring Boot application and can be run with normal boot run methods, e.g.: `./mvnw spring-boot:run`