From 8eab53a3d5d067a57d400ce3178bad0bf63487c5 Mon Sep 17 00:00:00 2001 From: Gustavo Martin Morcuende Date: Fri, 25 Mar 2016 22:35:14 +0100 Subject: [PATCH] Spring emails: modifications in Spring queue capacity. I am not sure what is it for. --- .../java/de/spring/webservices/rest/controller/EmailController.java | 2 +- .../main/resources/spring-configuration/spring-configuration.xml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/SpringJava/Emails/spring-emails-web-client/src/main/java/de/spring/webservices/rest/controller/EmailController.java b/SpringJava/Emails/spring-emails-web-client/src/main/java/de/spring/webservices/rest/controller/EmailController.java index 25bebd5..583e66a 100644 --- a/SpringJava/Emails/spring-emails-web-client/src/main/java/de/spring/webservices/rest/controller/EmailController.java +++ b/SpringJava/Emails/spring-emails-web-client/src/main/java/de/spring/webservices/rest/controller/EmailController.java @@ -42,7 +42,7 @@ public class EmailController { this.emailMakerVelocityService = emailMakerVelocityService; } - @RequestMapping(method = RequestMethod.GET) + @RequestMapping(method = RequestMethod.POST) @ResponseStatus(HttpStatus.OK) public void emails() throws MessagingException { final String emailSubject = emailMakerVelocityService.getSubject(SUBJECT_MESSAGE_KEY, Locale.getDefault()); diff --git a/SpringJava/Emails/spring-emails-web-client/src/main/resources/spring-configuration/spring-configuration.xml b/SpringJava/Emails/spring-emails-web-client/src/main/resources/spring-configuration/spring-configuration.xml index 5bd90ec..4589e60 100644 --- a/SpringJava/Emails/spring-emails-web-client/src/main/resources/spring-configuration/spring-configuration.xml +++ b/SpringJava/Emails/spring-emails-web-client/src/main/resources/spring-configuration/spring-configuration.xml @@ -12,7 +12,7 @@ http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util.xsd http://www.springframework.org/schema/task - http://www.springframework.org/schema/task/spring-task-3.0.xsd"> + http://www.springframework.org/schema/task/spring-task.xsd"> - + -- 2.1.4